:root {
  --brand: #0d685a;
  --brand-dark: #0a4a40;
  --brand-deep: #06302a;
  --brand-light: #7fd6c2;
  --accent: #f5a524;
  --ink: #0f1d1b;
  --text: #2b3a37;
  --muted: #5f6f6c;
  --line: #e3ece9;
  --bg: #ffffff;
  --soft: #f3f8f6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(6, 48, 42, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 48, 42, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; white-space: nowrap; }
.logo img { height: 38px; width: 38px; border-radius: 10px; }
.logo small { display: block; font-weight: 400; font-size: 11px; color: var(--brand-light); letter-spacing: .3px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { opacity: .85; }
.nav a:hover { opacity: 1; color: var(--brand-light); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1d1300; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(127,214,194,.25), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(245,165,36,.12), transparent 60%),
    linear-gradient(160deg, var(--brand-deep), var(--brand-dark) 55%, var(--brand));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(127,214,194,.14); color: var(--brand-light); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; margin: 0 0 18px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--brand-light); }
.hero p.lead { font-size: 18px; color: #d8ece6; margin: 0 0 30px; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 20px; backdrop-filter: blur(6px);
}
.hero-card:nth-child(2) { transform: translateY(28px); }
.hero-card:nth-child(4) { transform: translateY(28px); }
.hero-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(127,214,194,.16); color: var(--brand-light); margin-bottom: 12px; }
.hero-card b { display: block; font-size: 16px; }
.hero-card span { font-size: 13px; color: #bfdcd4; }

/* sections */
section { padding: 88px 0; }
.soft { background: var(--soft); }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head .eyebrow { background: rgba(13,104,90,.08); color: var(--brand); }
.head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); margin: 0 0 12px; line-height: 1.35; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(13,104,90,.35); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(13,104,90,.09); color: var(--brand); margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text); }
.card ul li { padding: 4px 0; padding-inline-start: 22px; position: relative; }
.card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-light); }

/* products (Masar) */
.masar-band {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; margin-bottom: 28px;
}
.masar-band img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.masar-band h3 { font-size: 28px; margin: 14px 0 8px; }
.masar-band p { color: #cfe6df; margin: 0 0 18px; }
.product { display: flex; flex-direction: column; }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(245,165,36,.14); color: #9a5b00; margin-bottom: 14px; }
.product .tag.live { background: rgba(13,104,90,.1); color: var(--brand); }
.product .more { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }

/* stats / why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.why li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.why li b { display: block; color: var(--ink); }
.why li span { color: var(--muted); font-size: 15px; }
.panel { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 28px; padding: 36px; }
.panel h3 { margin: 0 0 14px; font-size: 24px; }
.panel .row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel .row:last-child { border: 0; }
.panel .row svg { flex: none; color: var(--brand-light); margin-top: 4px; }

/* steps */
.steps { counter-reset: st; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #1d1300; font-weight: 700; display: grid; place-items: center; }

/* cta + footer */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 28px; padding: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 30px; }
.cta-band p { margin: 0; color: #d6ece6; }
footer { background: var(--brand-deep); color: #b9d3cc; padding: 56px 0 24px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
footer a:hover { color: var(--brand-light); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; }
footer .copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.wa { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* phones (track page) */
.phone { width: 270px; border-radius: 42px; padding: 10px; background: #0b0f0e; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 2px #2a3331; }
.phone img { border-radius: 33px; }
.phones { display: flex; justify-content: center; align-items: flex-end; }
.phones .phone:nth-child(1) { transform: rotate(-6deg) translateY(30px); margin-inline-end: -60px; opacity: .92; }
.phones .phone:nth-child(2) { position: relative; z-index: 2; }
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.shots .phone { width: 230px; }
.shots figcaption { margin-top: 12px; font-weight: 600; color: var(--ink); font-size: 15px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

@media (max-width: 980px) {
  .hero .wrap, .why, .masar-band { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--brand-deep); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu-btn { display: block; margin-inline-start: auto; }
  .top .btn { display: none; }
  .phones .phone:nth-child(1) { display: none; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .g3, .g4, .g2, .hero-cards { grid-template-columns: 1fr; }
  .hero-card:nth-child(2), .hero-card:nth-child(4) { transform: none; }
  .masar-band, .cta-band, .panel { padding: 28px; }
  footer .cols { grid-template-columns: 1fr; }
}
