/* GilasiSoft One-Page (RTL) */
:root{
  --bg:#0b1220;
  --panel:#0f1a30;
  --text:#eaf2ff;
  --muted:#b9c6dd;
  --line:rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --r:18px;
  --grad: linear-gradient(135deg,#ff7a18, #2b8cff);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Vazirmatn", Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 80% -10%, rgba(43,140,255,.35), transparent 60%),
              radial-gradient(900px 600px at 10% 10%, rgba(255,122,24,.25), transparent 60%),
              var(--bg);
  line-height:1.7;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1120px, 92vw); margin-inline:auto}

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand__logo{height:34px; width:auto}
.brand__domain{
  font-weight:700;
  letter-spacing:.3px;
  opacity:.9;
  display:none;
}
@media (min-width: 900px){ .brand__domain{display:inline} }

.nav{display:flex; align-items:center; gap:10px}
.nav__toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  border-radius:12px;
  cursor:pointer;
}
.nav__list{
  list-style:none; margin:0; padding:0;
  display:none;
  gap:10px;
  align-items:center;
}
.nav__list a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
}
.nav__list a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.header__cta{display:none}
@media (min-width: 900px){
  .nav__toggle{display:none}
  .nav__list{display:flex}
  .header__cta{display:block}
}

.nav__list.is-open{
  position:absolute;
  inset-inline: 4vw;
  top:72px;
  display:grid;
  background: rgba(15,26,48,.98);
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px;
  box-shadow: var(--shadow);
}
.nav__list.is-open a{padding:12px 14px}

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.chip:hover{color:var(--text); background: rgba(255,255,255,.06)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  background: var(--grad);
  color:#06101f;
  font-weight:800;
  border:none;
  cursor:pointer;
  box-shadow: 0 10px 30px rgba(43,140,255,.15);
}
.btn:hover{filter:brightness(1.05)}
.btn--ghost{
  background: transparent;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn--ghost:hover{background: rgba(255,255,255,.06)}
.btn--sm{padding:10px 14px; border-radius:12px}

.hero{
  position:relative;
  padding:48px 0 10px;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  gap:28px;
  align-items:center;
}
@media (min-width: 980px){
  .hero__grid{grid-template-columns: 1.05fr .95fr}
}
.hero__content h1{
  font-size: clamp(28px, 4vw, 52px);
  line-height:1.2;
  margin:0 0 10px;
}
.grad{
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  color:var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  margin:0 0 18px;
}
.hero__actions{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px}
.hero__stats{
  display:flex; gap:12px; flex-wrap:wrap;
}
.stat{
  padding:12px 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  min-width: 140px;
}
.stat__num{font-weight:900; font-size:18px}
.stat__lbl{color:var(--muted); font-size:13px}

.hero__media .mediaCard{
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  position:relative;
}
.mediaCard img{width:100%; height:auto}
.mediaCard__badge{
  position:absolute;
  bottom:12px;
  inset-inline-start:12px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(11,18,32,.72);
  border:1px solid var(--line);
  backdrop-filter: blur(10px);
  font-weight:800;
  font-size:13px;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(43,140,255,.18), transparent 60%),
    radial-gradient(900px 450px at 20% 60%, rgba(255,122,24,.12), transparent 62%);
  pointer-events:none;
}

.section{padding:68px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%),
              rgba(255,255,255,.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head{
  margin-bottom:24px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.section__head h2{
  margin:0;
  font-size: clamp(22px, 2.2vw, 34px);
}
.section__head p{margin:0; color:var(--muted); max-width: 640px}

.cards{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 720px){
  .cards{grid-template-columns: repeat(2, 1fr)}
}
@media (min-width: 1020px){
  .cards{grid-template-columns: repeat(3, 1fr)}
}
.card{
  border:1px solid var(--line);
  background: rgba(15,26,48,.55);
  border-radius: 18px;
  padding:18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.card__icon{font-size:26px}
.card h3{margin:10px 0 6px}
.card p{margin:0 0 10px; color:var(--muted)}
.ticks{margin:0; padding:0 18px 0 0; color:var(--muted)}
.ticks li{margin:6px 0}

.steps{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 900px){ .steps{grid-template-columns: repeat(4, 1fr)} }
.step{
  border:1px dashed rgba(255,255,255,.14);
  background: rgba(11,18,32,.35);
  border-radius: 18px;
  padding:16px;
}
.step__n{
  width:38px; height:38px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  font-weight:900;
}
.step h3{margin:10px 0 6px}
.step p{margin:0; color:var(--muted)}

.pillGrid{
  display:flex; flex-wrap:wrap; gap:10px;
}
.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
}
.pill:hover{color:var(--text); background: rgba(255,255,255,.06)}

.workGrid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 900px){ .workGrid{grid-template-columns: repeat(3, 1fr)} }
.workCard{
  border:1px solid var(--line);
  background: rgba(15,26,48,.55);
  border-radius:18px;
  padding:18px;
}
.workCard__top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.workCard__tag{
  font-size:12px;
  color:#06101f;
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  background: var(--grad);
}
.workCard h3{margin:12px 0 6px}
.workCard p{margin:0; color:var(--muted)}

.ctaBanner{
  margin-top:16px;
  border-radius: 22px;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,122,24,.14), rgba(43,140,255,.16));
  padding:18px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  flex-wrap:wrap;
}
.ctaBanner h3{margin:0 0 6px}
.ctaBanner p{margin:0; color:var(--muted)}

.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  background: rgba(15,26,48,.55);
  border-radius: 16px;
  padding:12px 14px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:800;
}
.faq__body{color:var(--muted); margin-top:10px}

.contactGrid{
  display:grid;
  gap:18px;
  align-items:start;
}
@media (min-width: 980px){ .contactGrid{grid-template-columns: 1fr 1fr} }

.contactInfo h2{margin:0 0 6px}
.contactInfo p{margin:0 0 14px; color:var(--muted)}
.contactBox{
  border:1px solid var(--line);
  background: rgba(11,18,32,.35);
  border-radius: 18px;
  padding:14px;
}
.contactRow{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom: 1px solid var(--line);
}
.contactRow:last-child{border-bottom:none}
.contactRow__lbl{color:var(--muted)}
.contactRow__val a{color:var(--text); text-decoration:underline; text-underline-offset: 4px}

.note{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:var(--muted);
}

.form{
  border:1px solid var(--line);
  background: rgba(15,26,48,.55);
  border-radius: 22px;
  padding:16px;
  box-shadow: var(--shadow);
}
.form label{display:block; margin-bottom:12px}
.form span{display:block; margin-bottom:6px; color:var(--muted); font-size:13px}
.form input, .form textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,18,32,.60);
  color:var(--text);
  outline:none;
}
.form input:focus, .form textarea:focus{border-color: rgba(43,140,255,.55)}
.form__hint{margin:10px 0 0; color:var(--muted); font-size:13px}

.footer{
  border-top: 1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
}
.footer__left{display:flex; align-items:center; gap:10px}
.footer__logo{height:28px}
.footer__right{display:flex; align-items:center; gap:10px}
.dot{opacity:.5}

.toast{
  position:fixed;
  bottom:18px;
  inset-inline: 18px;
  max-width: 520px;
  margin-inline:auto;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(11,18,32,.82);
  backdrop-filter: blur(10px);
  color:var(--text);
  box-shadow: var(--shadow);
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: .25s ease;
}
.toast.show{
  opacity:1;
  transform: translateY(0);
}

/* reveal animations */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1; transform:none; transition:none}
  .toast{transition:none}
}
