/* بوابة الوسيط التقني — deep navy, teal signal, Readex Pro (headings) + Noto Sans Arabic (text) */
:root {
  --navy: #0b1424; --navy2: #111f36; --ink: #0f1b2d; --paper: #f4f7fb; --white: #fff;
  --teal: #14b8a6; --blue: #4d8de0; --muted: #4d5b6e; --line: #d9e1ec;
  --accent: #14b8a6; --wipe: #0b1424; --fab: #0f766e; --ghost: rgba(15, 27, 45, .07);
  --c2-bg: #0b1424; --c2-ink: #c9d6e6; --c2-head: #fff; --c2-tile: rgba(255, 255, 255, .04); --c2-line: rgba(255, 255, 255, .12); --c2-accent: #14b8a6;
  --c2-card: #fff; --c2-card-ink: #0f1b2d; --c2-card-muted: #5d6b7e; --c2-field: #f4f7fb; --c2-field-line: #d3dce8;
  --f2-bg: #070e1a; --f2-ink: #9fb0c6; --f2-head: #fff; --f2-line: rgba(255, 255, 255, .08); --f2-accent: #14b8a6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans Arabic", Tahoma, sans-serif; font-size: 18px; line-height: 1.95; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, .brand b, .btn, .menu a, .kicker { font-family: "Readex Pro", sans-serif; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -.2px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 5vw, 64px); color: #fff; transition: background .3s, padding .3s, box-shadow .3s; }
.top.scrolled { background: rgba(11, 20, 36, .92); backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 9px; }
.brand b { display: block; font-size: 22px; line-height: 1.1; font-weight: 700; }
.brand small { display: block; font-size: 12.5px; opacity: .7; }
.menu { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.menu a { text-decoration: none; font-weight: 500; opacity: .9; }
.menu a:hover { opacity: 1; color: var(--teal); }
.menu .menu-cta { background: var(--teal); color: #04201c; padding: 8px 20px; border-radius: 999px; opacity: 1; font-weight: 600; }
.menu .menu-cta:hover { color: #04201c; background: #2dd4bf; }
.menu-btn { display: none; background: none; border: 0; width: 34px; height: 26px; position: relative; color: inherit; }
.menu-btn span { position: absolute; right: 0; left: 0; height: 2px; background: currentColor; }
.menu-btn span:first-child { top: 7px; } .menu-btn span:last-child { bottom: 7px; }

/* hero */
.hero { position: relative; min-height: 100vh; overflow: hidden; color: #fff; background: var(--navy); display: flex; align-items: center; }
.hero-img { position: absolute; inset: -8% 0 0 0; width: 100%; height: 116%; object-fit: cover; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 40%, rgba(11, 20, 36, .3), rgba(11, 20, 36, .92) 70%), linear-gradient(to top, var(--navy), rgba(11, 20, 36, 0) 30%); }
.hero-grid { position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(77, 141, 224, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 141, 224, .09) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
  animation: gridMove 18s linear infinite; }
@keyframes gridMove { to { background-position: 56px 56px, 56px 56px; } }
.hero-in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 120px clamp(16px, 6vw, 90px) 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #b9c8dc; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.18; }
.hero h1 .hl { background: linear-gradient(90deg, #2dd4bf, #4d8de0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 21px; color: #c4d1e3; max-width: 560px; margin: 22px 0 8px; line-height: 1.9; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn.solid { background: var(--teal); color: #04201c; }
.btn.solid:hover { background: #2dd4bf; }
.btn.line { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn.line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* terminal card */
.term { background: rgba(7, 14, 26, .82); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(20, 184, 166, .08); backdrop-filter: blur(6px); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); direction: ltr; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font: 12.5px ui-monospace, Consolas, monospace; color: #6f819b; }
.term-body { margin: 0; padding: 18px 20px 22px; min-height: 250px; font: 14px/1.85 ui-monospace, "Cascadia Code", Consolas, monospace; color: #9fe8dc; white-space: pre-wrap; text-align: left; }
.term-body code { font: inherit; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--teal); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* marquee strip */
.strip { background: var(--teal); color: #04201c; padding: 16px 0; font-family: "Readex Pro", sans-serif; font-weight: 600; font-size: 18px; }
.strip span { padding: 0 26px; position: relative; }
.strip span::after { content: "◆"; position: absolute; left: -6px; font-size: 9px; top: 50%; transform: translateY(-50%); opacity: .5; }

/* sections */
section { padding: clamp(80px, 10vw, 140px) clamp(16px, 6vw, 90px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: 56px; position: relative; }
.kicker { display: inline-block; font-size: 15px; font-weight: 600; color: #0f766e; margin: 0 0 12px; padding-right: 34px; position: relative; }
.kicker::before { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 2px; background: var(--teal); }
.sec-head h2, .about h2, .pay h2 { font-size: clamp(32px, 4.2vw, 54px); }
.sec-head.light .kicker { color: #5eead4; }
.sec-head.light h2 { color: #fff; }

/* services */
.services { background: var(--white); overflow: hidden; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.svc { position: relative; padding: 34px 28px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s, background .35s; }
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--blue)); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.svc:hover { transform: translateY(-8px); background: #fff; border-color: transparent; box-shadow: 0 30px 60px rgba(15, 27, 45, .12); }
.svc:hover::before { transform: scaleX(1); }
.svc .ic { width: 52px; height: 52px; color: #0f766e; padding: 10px; background: rgba(20, 184, 166, .1); border-radius: 14px; margin-bottom: 22px; }
.svc h3 { font-size: 23px; margin-bottom: 10px; }
.svc p { margin: 0 0 16px; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.svc ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 15.5px; }
.svc li { padding-right: 22px; position: relative; }
.svc li::before { content: ""; position: absolute; right: 2px; top: .8em; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }

/* products */
.products { background: var(--navy); color: #c9d6e6; overflow: hidden; }
.products::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; top: -200px; background: radial-gradient(circle, rgba(20, 184, 166, .16), transparent 65%); pointer-events: none; }
.prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; position: relative; }
.prod-media { border-radius: 20px; }
.prod-media img { width: 100%; height: clamp(320px, 38vw, 520px); object-fit: cover; border-radius: 20px; }
.tag { display: inline-block; font-size: 13.5px; font-weight: 600; color: #5eead4; border: 1px solid rgba(94, 234, 212, .35); padding: 2px 12px; border-radius: 999px; }
.prod h3 { font-size: clamp(40px, 5vw, 64px); color: #fff; margin: 12px 0 10px; }
.prod p { font-size: 19px; line-height: 1.95; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { padding-right: 32px; position: relative; color: #e5edf7; }
.checks li::before { content: "✓"; position: absolute; right: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20, 184, 166, .18); color: #5eead4; font-size: 13px; display: grid; place-items: center; line-height: 1; }
.products .more { margin: 46px 0 0; text-align: center; color: #8ea2bd; font-size: 16.5px; }
.products .more a { color: #5eead4; }

/* approach */
.approach { background: var(--paper); overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .35; }
.steps li { position: relative; padding: 0 0 0 28px; }
.steps b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); color: #0f766e; font-family: "Readex Pro", sans-serif; font-size: 18px; margin-bottom: 22px; position: relative; box-shadow: 0 0 0 8px var(--paper); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* payments */
.pay { background: linear-gradient(135deg, #0f766e, #134e7c); color: #e2f3f1; }
.pay-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1300px; margin: 0 auto; }
.pay .kicker { color: #a7f3e8; } .pay .kicker::before { background: #a7f3e8; }
.pay h2 { color: #fff; margin-bottom: 14px; }
.pay p { font-size: 18.5px; margin: 0; }
.methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.methods span { padding: 5px 14px; border-radius: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 14.5px; font-weight: 600; }
.pay-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pay-links a { display: block; text-decoration: none; padding: 20px 24px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .25s, transform .25s; position: relative; }
.pay-links a::after { content: "←"; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); transition: transform .25s; font-size: 20px; }
.pay-links a:hover { background: rgba(255, 255, 255, .16); transform: translateX(-4px); }
.pay-links b { display: block; font-family: "Readex Pro", sans-serif; font-size: 19px; color: #fff; }
.pay-links span { font-size: 15px; opacity: .8; }

/* about */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-img img { width: 100%; height: clamp(320px, 40vw, 560px); object-fit: cover; border-radius: 20px; }
.about-img { border-radius: 20px; }
.about h2 { margin-bottom: 18px; }
.about p { color: #334155; font-size: 18.5px; }
.about p a { color: #0f766e; }
.facts { margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; text-align: left; }

/* contact form button colours */
.c2-form .btn.solid { border-radius: 10px; }
.c2-form input, .c2-form select, .c2-form textarea { border-radius: 10px !important; }
.c2-form { border-radius: 18px; overflow: hidden; }
.c2 .tile { border-radius: 14px; }
.c2-form .note a { color: inherit; }

/* honeypot, thanks, policy pages */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: var(--navy); color: #c9d6e6; }
.thanks h1 { font-size: 46px; color: #fff; margin: 18px 0 10px; }
.doc-head { background: var(--navy); color: #fff; padding: 150px clamp(16px, 6vw, 90px) 60px; position: relative; overflow: hidden; }
.doc-head h1 { font-size: clamp(34px, 5vw, 58px); }
.doc-head p { color: #9fb0c6; margin: 10px 0 0; }
.doc { max-width: 860px; margin: 0 auto; padding: 60px clamp(16px, 5vw, 40px) 90px; }
.doc h2 { font-size: 24px; margin: 38px 0 10px; }
.doc p, .doc li { color: #334155; font-size: 17.5px; }
.doc ul, .doc ol { padding-right: 22px; }
.doc .box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .term { max-width: 560px; }
}
@media (max-width: 900px) {
  .menu { display: none; position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 26px; font-size: 22px; }
  .menu-open .menu { display: flex; }
  .menu-btn { display: block; z-index: 30; }
  .menu-open .top { background: transparent; }
  .prod, .pay-in, .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .term-body { min-height: 200px; font-size: 12.5px; }
  .brand small { display: none; }
}
