/* Static SEO pages (/xano-developer/, /weweb-developer/, ...). Same palette as the portfolio. */
@font-face { font-family: "Funnel Display"; src: url("/fonts/funnel-display-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
:root {
  --bg: #030412; --panel: #0b0d24; --line: rgb(255 255 255 / 0.1);
  --aqua: #33e1ff; --lav: #8f6bff; --fuchsia: #ff4fd8;
  --text: #e6e8ff; --muted: #a3abd0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(60rem 30rem at 85% -10%, rgb(143 107 255 / 0.18), transparent 60%),
                    radial-gradient(50rem 30rem at -10% 10%, rgb(51 225 255 / 0.12), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--aqua); }
h1, h2, h3 { font-family: "Funnel Display", system-ui, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
header.top .brand { font-weight: 700; color: var(--text); text-decoration: none; }
header.top .brand span { color: var(--aqua); }
header.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--aqua); }

.crumbs { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.crumbs a { color: var(--muted); }

.hero { padding: 40px 0 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--aqua), var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: #cfd4f3; margin: 18px 0 26px; max-width: 46rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(90deg, var(--aqua), var(--lav)); color: var(--bg); }
.btn.ghost { border: 1px solid rgb(255 255 255 / 0.18); color: var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.facts li::before { content: "✓ "; color: var(--aqua); font-weight: 700; }

section { padding: 34px 0; border-top: 1px solid var(--line); }
section > h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 8px; }
section > p.sub { color: var(--muted); margin: 0 0 22px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.stats li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stats b { display: block; font-family: "Funnel Display", system-ui, sans-serif; font-size: 30px; line-height: 1.1; background: linear-gradient(90deg, var(--aqua), var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.cards { display: grid; gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { font-size: 21px; margin-bottom: 4px; }
.card .ctx { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }
.card li strong { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgb(51 225 255 / 0.3); color: var(--aqua); background: rgb(51 225 255 / 0.06); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.ticks li { padding-left: 26px; position: relative; }
ul.ticks li::before { content: "→"; position: absolute; left: 0; color: var(--aqua); font-weight: 700; }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--aqua); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 20px 16px; color: #cfd4f3; }

.cta { text-align: center; padding: 44px 0; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.cta p { color: var(--muted); margin: 0 auto 22px; max-width: 34rem; }
.cta .actions { justify-content: center; }

.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.related a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.related a:hover { border-color: var(--aqua); color: var(--aqua); }

footer.bottom { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
footer.bottom a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Blog articles */
.post .meta { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.post section { padding: 26px 0; }
.post section h2 { margin-bottom: 12px; }
.post section p, .post section li { max-width: 46rem; }
.post section ul { padding-left: 22px; }
.post section li { margin-bottom: 8px; }
.tip { background: rgb(51 225 255 / 0.06); border-left: 3px solid var(--aqua); padding: 12px 16px; border-radius: 0 10px 10px 0; }
code { background: rgb(255 255 255 / 0.08); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

/* Right-to-left (Arabic) */
[dir="rtl"] body, [dir="rtl"] .wrap { text-align: right; }
[dir="rtl"] .card ul, [dir="rtl"] .post section ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] ul.ticks li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] ul.ticks li::before { left: auto; right: 0; content: "←"; }
[dir="rtl"] .tip { border-left: 0; border-right: 3px solid var(--aqua); border-radius: 10px 0 0 10px; }
[dir="rtl"] .hero h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; }
