/* GROW — SEO/GEO service pages (/web-app-development/ …). Built by seo/build.py.
   Same tokens as main.css: dark surfaces, logo orange = primary, teal = code. */
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url("../fonts/readex-pro-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url("../fonts/readex-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #050E11; --bg-2: #08151A; --panel: #0C1D23; --panel-2: #10252C; --panel-3: #163038;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #F2F5F8; --body: #BAC2CE; --muted: #8C96A8;
  --or: #FC6D41; --or-soft: rgba(252,109,65,.12); --or-ink: #1C0A03; --cy: #35B3C8; --wa: #25D366;
  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  --r: 14px; --r-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); color-scheme: dark; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.85; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); line-height: 1.3; margin: 0; font-weight: 650; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="ltr"] .ico.go, [dir="ltr"] .pg-btn-ghost .ico, [dir="ltr"] .pg-more .ico { transform: scaleX(-1); }
.pg-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* header */
.pg-hdr { position: sticky; top: 0; z-index: 20; background: rgba(5,14,17,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.pg-hdr.scrolled { border-color: var(--line); }
.pg-hdr-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.pg-brand img { height: 34px; width: auto; }
.pg-nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.pg-nav a { text-decoration: none; font-size: .9375rem; padding: 8px 12px; border-radius: 999px; color: var(--body); transition: color .2s, background .2s; }
.pg-nav a:hover, .pg-nav a[aria-current] { color: var(--text); background: var(--panel); }
.pg-hdr-cta { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.pg-lang { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .875rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.pg-lang:hover { border-color: var(--cy); }

/* buttons */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.pg-btn:active { transform: scale(.97); }
.pg-btn-primary { background: var(--or); color: var(--or-ink); box-shadow: 0 10px 30px -10px rgba(252,109,65,.6); }
.pg-btn-primary:hover { background: #ff8259; transform: translateY(-2px); }
.pg-btn-ghost { border-color: var(--line-2); color: var(--text); }
.pg-btn-ghost:hover { border-color: var(--or); }
.pg-btn-wa { background: var(--wa); color: #06210f; padding: 9px 16px; font-size: .9375rem; }
.pg-btn-wa:hover { background: #3ee07c; }

/* hero */
.pg-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.pg-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pg-hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); opacity: .55; }
.pg-hero-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.pg-hero-bg i:first-child { width: 420px; height: 420px; background: rgba(252,109,65,.35); inset-inline-start: -120px; top: -160px; animation: drift 14s ease-in-out infinite alternate; }
.pg-hero-bg i:last-child { width: 380px; height: 380px; background: rgba(53,179,200,.25); inset-inline-end: -120px; top: 40px; animation: drift 17s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.pg-hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.pg-crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); }
.pg-crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.pg-crumbs a { text-decoration: none; } .pg-crumbs a:hover { color: var(--text); }
.pg-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .875rem; color: var(--text); padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12,29,35,.6); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(252,109,65,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(252,109,65,0); } 100% { box-shadow: 0 0 0 0 rgba(252,109,65,0); } }
.pg-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); letter-spacing: -.01em; line-height: 1.25; }
[dir="ltr"] .pg-hero h1 { letter-spacing: -.025em; line-height: 1.12; }
.pg-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); margin: 20px 0 28px; max-width: 60ch; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.js .pg-hero-copy > * { opacity: 0; transform: translateY(14px); animation: up .8s var(--ease) forwards; }
.js .pg-hero-copy > :nth-child(2) { animation-delay: .06s } .js .pg-hero-copy > :nth-child(3) { animation-delay: .12s }
.js .pg-hero-copy > :nth-child(4) { animation-delay: .2s } .js .pg-hero-copy > :nth-child(5) { animation-delay: .28s }
@keyframes up { to { opacity: 1; transform: none; } }

/* facts terminal */
.pg-facts { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.js .pg-facts { opacity: 0; transform: translateY(20px) rotate(-1deg); animation: up 1s .3s var(--ease) forwards; }
.pg-facts-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.pg-facts-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.pg-facts-bar i:first-child { background: var(--or); }
.pg-facts-bar span { margin-inline-start: 8px; }
.pg-facts dl { margin: 0; padding: 8px 18px 14px; }
.pg-facts dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; line-height: 1.6; }
.pg-facts dl div:last-child { border: 0; }
.pg-facts dt { color: var(--cy); font-weight: 500; }
.pg-facts dd { margin: 0; color: var(--text); }

/* toc */
.pg-toc { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.pg-toc::-webkit-scrollbar { display: none; }
.pg-toc a { flex: none; text-decoration: none; font-size: .875rem; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.pg-toc a:hover { border-color: var(--or); color: var(--text); }

/* body */
.pg-body { max-width: 860px; padding-top: 12px; }
.pg-sec { padding: 40px 0 8px; }
.pg-sec h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); margin-bottom: 16px; display: flex; gap: 12px; align-items: baseline; }
.pg-sec h2::before { content: "//"; font-family: var(--mono); color: var(--or); font-size: .7em; font-weight: 500; }
.pg-sec p { margin: 0 0 14px; }
.pg-sec ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.pg-sec ul:not(.pg-works) li { position: relative; padding-inline-start: 28px; }
.pg-sec ul:not(.pg-works) li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--or-soft); border: 1.5px solid var(--or); }
.pg-sec b { color: var(--text); font-weight: 600; }
.pg-sec a:not(.pg-more):not(.pg-work a) { color: var(--or); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pg-city { font-size: 1.05rem; margin: 22px 0 10px; display: flex; align-items: center; gap: 10px; }
.pg-city span { font-family: var(--mono); font-size: .75rem; color: var(--or); background: var(--or-soft); padding: 1px 9px; border-radius: 999px; }

/* works */
.pg-works { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px !important; }
.pg-work a { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; text-decoration: none; padding: 16px 18px 16px 18px; padding-inline-end: 44px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, transform .3s var(--ease), background .25s; }
.pg-work a:hover { border-color: rgba(252,109,65,.5); background: var(--panel-2); transform: translateY(-3px); }
.pg-work-url { font-family: var(--mono); font-size: .75rem; color: var(--cy); align-self: flex-start; }
.pg-work b { font-size: 1rem; line-height: 1.5; }
.pg-work small { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.pg-work .go, .pg-card .go { position: absolute; inset-inline-end: 16px; top: 18px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.pg-work a:hover .go, .pg-card:hover .go { color: var(--or); transform: translateX(-4px); }
[dir="ltr"] .pg-work a:hover .go, [dir="ltr"] .pg-card:hover .go { transform: scaleX(-1) translateX(-4px); }
.pg-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--or); text-decoration: none; font-weight: 600; }

/* steps */
.pg-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: s; }
.pg-steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pg-steps .n { font-family: var(--mono); color: var(--or); font-size: .8125rem; display: block; }
.pg-steps b { display: block; color: var(--text); font-size: 1.05rem; margin: 2px 0 4px; }
.pg-steps p { margin: 0; font-size: .9375rem; }

/* faq */
.pg-faq { display: grid; gap: 10px; }
.pg-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s; }
.pg-faq details[open] { border-color: rgba(252,109,65,.4); }
.pg-faq summary { cursor: pointer; list-style: none; padding: 16px 20px; padding-inline-end: 48px; color: var(--text); font-weight: 600; position: relative; line-height: 1.6; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 13px; font-size: 1.4rem; font-weight: 300; color: var(--or); transition: transform .3s var(--ease); }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq p { margin: 0; padding: 0 20px 18px; }

/* band */
.pg-band { margin: 56px 0 0; padding: 36px 0; background: linear-gradient(90deg, rgba(252,109,65,.14), rgba(53,179,200,.08)); border-block: 1px solid var(--line); }
.pg-band-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pg-band b { color: var(--text); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.pg-band p { margin: 4px 0 0; }

/* related */
.pg-related { padding: 48px 0 56px; }
.pg-related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.pg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pg-card { position: relative; display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 18px; padding-inline-end: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .25s, transform .3s var(--ease); }
.pg-card:hover { border-color: rgba(252,109,65,.5); transform: translateY(-3px); }
.pg-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--or-soft); color: var(--or); flex: none; }
.pg-card .ic .ico { width: 22px; height: 22px; }
.pg-card b { display: block; color: var(--text); line-height: 1.5; }
.pg-card small { color: var(--muted); font-size: .8125rem; line-height: 1.6; display: block; }

/* footer */
.pg-ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 20px; font-size: .9375rem; }
.pg-ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pg-ftr img { height: 40px; width: auto; margin-bottom: 12px; }
.pg-ftr p { margin: 0; max-width: 42ch; }
.pg-ftr nav, .pg-ftr-grid > div:last-child { display: flex; flex-direction: column; gap: 6px; }
.pg-ftr b { color: var(--text); margin-bottom: 4px; }
.pg-ftr a { text-decoration: none; color: var(--body); } .pg-ftr a:hover { color: var(--or); }
.pg-ftr-end { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--k, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .pg-nav { display: none; }
  .pg-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pg-ftr-grid { grid-template-columns: 1fr 1fr; }
  .pg-ftr-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pg-hdr-in { height: 60px; gap: 10px; }
  .pg-brand img { height: 28px; }
  .pg-btn-wa span { display: none; }
  .pg-btn-wa { padding: 9px 11px; }
  .pg-hero { padding: 36px 0 28px; }
  .pg-ctas .pg-btn { flex: 1 1 100%; }
  .pg-steps { grid-template-columns: 1fr; }
  .pg-facts dl div { grid-template-columns: 6.5em 1fr; }
  .pg-ftr-grid { grid-template-columns: 1fr; }
  .pg-band-in .pg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .pg-hero-copy > *, .js .pg-facts { opacity: 1; transform: none; }
}
