/* ADX Network — website. Brand colors live here. */
:root {
  /* ADX brand palette */
  --brand: #EFA93C;        /* orange */
  --brand-ink: #000000;
  --black: #000000;
  --charcoal: #262626;
  --white: #ffffff;
  --ink: #ffffff;          /* text */
  --paper: #000000;        /* page */
  --bg-alt: #141414;       /* alternate sections */
  --card: #1c1c1c;
  --muted: #a9a6a2;
  --line: #2e2e2e;
  --dark: #000000;
  --radius: 16px;
  --display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --hero: radial-gradient(60% 80% at 92% 8%, rgba(239, 169, 60, .38) 0%, rgba(239, 169, 60, 0) 60%),
          radial-gradient(50% 60% at 10% 100%, rgba(239, 169, 60, .10) 0%, rgba(239, 169, 60, 0) 70%),
          linear-gradient(160deg, #000000 0%, #141414 55%, #262626 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0; text-wrap: balance; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 600 16px/1 var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #f7bb5e; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { width: 96px; height: auto; }
.links { display: flex; gap: 26px; margin-inline-start: auto; }
.links a { text-decoration: none; color: #d6d6d6; font-weight: 500; font-size: 15px; }
.links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; color: #fff; border: 1px solid #3a3a3a; border-radius: 999px; height: 38px; min-width: 46px; padding: 0 12px; font: 600 14px var(--body); cursor: pointer; }
.lang:hover { border-color: #777; }

/* hero */
.hero { background: var(--hero); color: #fff; overflow: hidden; }
.hero-in { padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 120px); max-width: 860px; }
.hero-in { margin-inline-start: max(16px, calc((100% - 1160px) / 2)); }
.eyebrow { display: inline-block; font-size: 14px; letter-spacing: .02em; color: var(--brand); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; margin: 0 0 22px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.86); margin: 22px 0 32px; max-width: 680px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.85); font-size: 15px; }
.hero-points li::before { content: "▶"; color: var(--brand); font-size: 11px; margin-inline-end: 8px; vertical-align: 2px; }
html[dir=rtl] .hero-points li::before { display: inline-block; transform: scaleX(-1); }

/* sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--bg-alt); }
.kicker { color: var(--brand); font-weight: 600; margin: 0 0 8px; font-size: 15px; }
.section h2 { font-size: clamp(26px, 3.6vw, 40px); max-width: 780px; margin-bottom: 36px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(239,169,60,.08); }
.card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(239,169,60,.14); font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 700 15px var(--display); color: var(--brand-ink); background: var(--brand); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; }
.steps b { font-family: var(--display); font-size: 18px; }
.steps span { color: var(--muted); }

.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.why h2 { margin-bottom: 16px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { display: flex; flex-direction: column; padding: 18px 20px; border-inline-start: 4px solid var(--brand); background: var(--card); border-radius: 10px; }
.why-list b { font-family: var(--display); font-size: 18px; }
.why-list span { color: var(--muted); }

/* contact */
.contact-sec { background: var(--bg-alt); color: #fff; }
.contact-sec .muted { color: #b9b4ae; }
.contact-sec .kicker { color: var(--brand); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { margin-bottom: 14px; }
.contact-btns { display: grid; gap: 10px; margin-top: 28px; }
.cbtn { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-decoration: none; background: #141414; border: 1px solid #262626; border-radius: 14px; padding: 14px 16px; transition: border-color .15s; }
.cbtn:hover { border-color: var(--brand); }
.cbtn span { grid-row: 1 / 3; font-size: 24px; }
.cbtn small { color: #b9b4ae; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { text-decoration: none; border: 1px solid #333; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #ddd; }
.socials a:hover { border-color: var(--brand); color: #fff; }

.quote { position: relative; background: #ffffff; color: #0b0b0c; border-radius: 20px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.quote h3 { font-size: 22px; }
.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: #5f5b57; }
.quote input, .quote select, .quote textarea { font: inherit; color: #0b0b0c; border: 1px solid #e2ded8; border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.quote .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; clip-path: inset(50%); }
.form-msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.form-msg.ok { color: #1c8a3a; }
.form-msg.err { color: #c62828; }

.footer { background: var(--dark); color: #8f8a85; border-top: 1px solid #1d1d1d; }
.foot-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px 0; }
.foot-in img { width: 72px; }
.foot-in p { margin: 0; margin-inline-end: auto; font-size: 14px; }
.footer a { color: #8f8a85; }

.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .why, .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .nav-actions .btn-sm { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .quote { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
