/* ───────────────────────────────────────────────
   Cosmos — Build Digital Worlds
   ─────────────────────────────────────────────── */
:root {
  --grad: linear-gradient(135deg, #FF6B00 0%, #FF8A00 25%, #FFB000 50%, #FFD000 75%, #FFD93D 100%);
  --orange: #FF6B00;
  --yellow: #FFD000;
  --yellow-2: #FFD93D;
  --ink: #0A0A0A;
  --bg: #0A0A0A;
  --bg-alt: #0E0E0E;
  --card: #141414;
  --card-2: #1B1B1B;
  --line: #2A2A2A;
  --text: #FAFAFA;
  --text-2: #D4D4D4;
  --muted: #A3A3A3;
  --cream: #FFF0B3;
  --danger: #FF6A5C;
  --radius: 24px;
  --radius-sm: 14px;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* gradients span the full box (incl. transparent borders) so no seam shows at the edges */
*, *::before, *::after { background-origin: border-box !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.grad :focus-visible, .nav:not(.scrolled):not(.nav-solid) :focus-visible { outline-color: var(--ink); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── surfaces ── */
.grad { background: var(--grad); color: var(--ink); }
.dark { background: var(--bg); color: var(--text); }
.dark.alt { background: var(--bg-alt); }
.section { padding: 104px 0; }

/* ── type helpers ── */
.kicker {
  display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px;
  direction: ltr; unicode-bidi: isolate;
}
.dark .kicker, .kicker-y { color: var(--yellow); }
.sec-head { margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.sec-head .sub { margin-top: 12px; font-weight: 600; opacity: .85; }
.pill {
  display: inline-block; background: var(--ink); color: var(--yellow);
  padding: .02em .32em .08em; border-radius: .22em; line-height: 1.25;
}
.pill-y { background: var(--grad); color: var(--ink); }
.eyebrow {
  display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: .8rem; letter-spacing: .2em;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 24px;
  direction: ltr; unicode-bidi: isolate;
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { padding: 1em 1.8em; font-size: 1.06rem; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 10px 28px -10px rgba(0,0,0,.6); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: rgba(10,10,10,.08); }
.btn-grad { background: var(--grad); color: var(--ink); }
.btn-grad:hover { box-shadow: 0 10px 30px -10px rgba(255,138,0,.7); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #555; }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(255,106,92,.5); margin-inline-end: auto; }
.btn-danger.confirming { background: var(--danger); color: var(--ink); border-color: var(--danger); }
.link-arrow { color: var(--yellow); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ' →'; }
html[dir="rtl"] .link-arrow::after { content: ' ←'; }

/* ── nav ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.page-home .nav { position: fixed; top: 0; inset-inline: 0; padding-top: env(safe-area-inset-top, 0px); height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); color: var(--ink); }
.nav.scrolled, .nav-solid { background: rgba(10,10,10,.86); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-light { color: #fff; }
.brand-mark {
  width: 36px; height: 36px; background: currentColor;
  -webkit-mask: url(../img/logo-mark.png) center / contain no-repeat;
  mask: url(../img/logo-mark.png) center / contain no-repeat;
}
.brand-word { font-family: var(--font-en); font-weight: 800; font-size: 1.15rem; letter-spacing: .3em; margin-inline-end: -.3em; }
.admin-tag { font-family: var(--font-en); font-size: .7rem; font-weight: 800; background: var(--grad); color: var(--ink); padding: .25em .6em; border-radius: 6px; letter-spacing: .05em; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a:not(.btn) { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 10px; transition: background-color .2s; }
.nav-links a:not(.btn):hover { background: rgba(10,10,10,.1); }
.nav.scrolled .nav-links a:not(.btn):hover { background: rgba(255,255,255,.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-links + .nav-actions { margin-inline-start: 8px; }
.nav.scrolled .nav-cta { background: var(--grad); color: var(--ink); }
.nav-cta-mobile { display: none; }
.lang-btn {
  min-width: 42px; height: 38px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  background: transparent; color: inherit; border: 2px solid currentColor;
  font-family: var(--font-en), var(--font-ar); font-weight: 800; font-size: .9rem;
}
.lang-btn:hover { background: rgba(127,127,127,.15); }
.link-back { color: var(--muted); text-decoration: none; font-weight: 600; }
.link-back:hover { color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.nav.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 80px) 0 104px; }
.hero::after { /* soft glow */
  content: ''; position: absolute; width: 60vw; height: 60vw; inset-inline-end: -18vw; top: -20vw;
  background: radial-gradient(circle, rgba(255,90,0,.45), transparent 62%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -.01em; }
.hero h1 > span { display: block; }
@media (min-width: 901px) { .hero h1 > span:first-child { white-space: nowrap; } }
.hero h1 .pill-lg { display: inline-block; margin-top: .12em; }
html[lang="en"] .hero h1 { letter-spacing: -.03em; }
.lead { margin-top: 24px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 600; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; background: rgba(10,10,10,.08); border: 1.5px solid rgba(10,10,10,.18); padding: 7px 16px 7px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  backdrop-filter: blur(4px); animation: chip-in .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.hero-points li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--ink);
  clip-path: path("M6 0C6.4 3.4 8.6 5.6 12 6 8.6 6.4 6.4 8.6 6 12 5.6 8.6 3.4 6.4 0 6 3.4 5.6 5.6 3.4 6 0Z"); }
.hero-points li:nth-child(1) { animation-delay: .55s; } .hero-points li:nth-child(2) { animation-delay: .7s; } .hero-points li:nth-child(3) { animation-delay: .85s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.85); } }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-planet { width: min(420px, 90%); aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(120,40,0,.25)); perspective: 900px; }
/* "a world being built": the mark draws itself, fills in, then follows the cursor in depth */
.hp-svg { width: 100%; height: 100%; overflow: visible; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 12deg)) rotateX(calc(var(--py, 0) * -10deg)); }
.hp-body, .hp-star-wrap, .hp-dot-wrap { transform-box: view-box; transform-origin: 256px 270px; }
.hp-body { transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px)); }
.hp-star-wrap { transform: translate(calc(var(--px, 0) * -34px), calc(var(--py, 0) * -26px)); }
.hp-dot-wrap { transform: translate(calc(var(--px, 0) * 40px), calc(var(--py, 0) * 32px)); }
.hp-ring { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hp-draw 1.3s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
.hp-ball { fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hp-draw 1.1s cubic-bezier(.65, 0, .35, 1) .55s forwards, hp-fill .7s ease 1.45s forwards; }
.hp-star { fill: var(--ink); transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-90deg);
  animation: hp-pop .8s cubic-bezier(.34, 1.56, .64, 1) 1.75s forwards, hp-shine 5s ease-in-out 3s infinite; }
.hp-dot { fill: var(--ink); transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: hp-dot .6s cubic-bezier(.34, 1.56, .64, 1) 2s forwards; }
.hero-planet.idle .hp-svg { animation: hp-sway 9s ease-in-out infinite; }
@keyframes hp-draw { to { stroke-dashoffset: 0; } }
@keyframes hp-fill { to { fill-opacity: 1; } }
@keyframes hp-pop { to { transform: scale(1) rotate(0); } }
@keyframes hp-dot { to { transform: scale(1); } }
@keyframes hp-shine { 0%, 80%, 100% { transform: scale(1) rotate(0); } 88% { transform: scale(1.25) rotate(45deg); } }
@keyframes hp-sway { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg); } 50% { transform: rotateY(8deg) rotateX(-4deg); } }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 460px; }
.mini-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.mini-card b { font-family: var(--font-en); font-weight: 800; font-size: 1.6rem; color: var(--yellow); line-height: 1.1; }
.mini-card span { font-weight: 700; font-size: .98rem; line-height: 1.35; }
.mini-card small { color: var(--muted); font-family: var(--font-en); font-size: .74rem; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-2deg); } }

/* ── why ── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 24px; align-items: flex-start; transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: #3d3d3d; transform: translateY(-3px); }
.why-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); }
.big-num { font-family: var(--font-en); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--yellow); flex-shrink: 0; letter-spacing: -.03em; }

/* ── packages ── */
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pk-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 22px; border: 3px solid transparent; box-shadow: 0 30px 60px -30px rgba(80,25,0,.45); }
.pk-card.featured { border-color: var(--yellow-2); transform: translateY(-10px); }
.pk-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pk-name h3 { font-family: var(--font-en); font-size: 1.7rem; font-weight: 800; }
.badge { background: var(--yellow-2); color: var(--ink); font-weight: 700; font-size: .78rem; padding: .3em .8em; border-radius: 999px; }
.pk-tag { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 18px; font-family: var(--font-en); justify-content: flex-start; }
html[dir="rtl"] .price { justify-content: flex-end; }
.price b { font-size: 3.2rem; font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -.03em; }
.price span { font-weight: 800; font-size: .95rem; }
.price small { flex-basis: 100%; color: var(--muted); font-weight: 600; font-size: .88rem; }
html[dir="rtl"] .price small { text-align: end; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--text-2); }
.star { width: 13px; height: 13px; fill: var(--yellow); flex-shrink: 0; margin-top: .5em; }
.pk-foot { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; color: var(--yellow); font-weight: 700; font-size: .95rem; }
.pk-foot span { color: var(--muted); font-weight: 500; }
.pk-note { text-align: center; font-weight: 700; margin-top: 36px; }

/* ── add-ons ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.addon-list { padding: 8px 28px; }
.addon-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.addon-row:last-child { border-bottom: 0; }
.addon-row b { display: block; font-size: 1.2rem; }
.addon-row small { color: var(--muted); font-size: .88rem; }
.addon-price { font-family: var(--font-en); text-align: end; flex-shrink: 0; }
.addon-price b { display: inline; font-size: 1.7rem; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.addon-price span { font-weight: 800; font-size: .85rem; }
.addon-price small { display: block; }
.note-cream { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 20px 24px; margin-top: 20px; display: grid; gap: 6px; font-size: .98rem; }

/* ── maintenance ── */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin-inline: auto; margin-bottom: 20px; }
.plan { background: var(--ink); color: #fff; border-radius: 22px; padding: 22px 26px; border: 3px solid transparent; }
.plan.featured { background: var(--yellow-2); color: var(--ink); border-color: var(--ink); }
.plan.featured .price b { color: var(--ink); }
.plan.featured .price small, .plan.featured .plan-per { color: rgba(10,10,10,.65); }
.plan-t { font-weight: 700; }
.plan .price { margin-top: 8px; }
.plan-per { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.mt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mt-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; }
.mt-card h3 { font-size: 1.08rem; display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.mt-card h3 span { font-family: var(--font-en); font-weight: 800; color: var(--yellow); font-size: .95rem; }
.mt-card p { color: var(--muted); font-size: .94rem; }

/* ── process ── */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-card .big-num { display: block; font-size: 2.4rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: .96rem; }

/* ── work ── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.work-card:hover { transform: translateY(-4px); border-color: #3d3d3d; }
.work-img { aspect-ratio: 16 / 10; background: var(--card-2); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-img img { transform: scale(1.04); }
.work-ph { display: block; width: 100%; height: 100%; background: var(--grad); opacity: .85; }
.work-body { padding: 20px 22px 24px; display: grid; gap: 8px; justify-items: start; }
.work-body h3 { font-size: 1.25rem; }
.work-body p { color: var(--muted); font-size: .95rem; }
.chip { display: inline-block; background: #222; color: var(--text-2); border-radius: 999px; padding: .2em .75em; font-size: .8rem; font-weight: 600; }
.work-empty { text-align: center; padding: 56px 28px; display: grid; justify-items: center; gap: 14px; background: radial-gradient(ellipse at top, rgba(255,138,0,.14), transparent 60%), var(--card); }
.work-empty img { opacity: .95; }
.work-empty h3 { font-size: 1.5rem; }
.work-empty p { color: var(--muted); max-width: 52ch; }

/* ── faq ── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 700; font-size: 1.12rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow); }
.chev { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; position: relative; transition: transform .25s, background-color .25s; }
.chev::before, .chev::after { content: ''; position: absolute; inset: 0; margin: auto; width: 11px; height: 2px; background: currentColor; border-radius: 2px; }
.chev::after { transform: rotate(90deg); transition: transform .25s; }
.faq-item[open] .chev { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.faq-item[open] .chev::after { transform: rotate(0); }
.faq-item p { color: var(--muted); padding: 0 4px 22px; max-width: 70ch; }

/* ── cta + footer ── */
.cta-band { padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-inner p { font-weight: 600; margin-top: 8px; }
.footer { background: #050505; border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.tagline { font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; margin-top: 10px; }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-en); font-weight: 600; }
.footer-contact a { text-decoration: none; color: var(--text-2); }
.footer-contact a:hover { color: var(--yellow); }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .9rem; }

/* ── reveal ── */
.reveal { transition: opacity .8s ease, transform .95s cubic-bezier(.16, 1, .3, 1), filter .8s ease; transition-delay: calc(var(--i, 0) * 90ms + 100ms); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(46px) scale(.97); filter: blur(8px); }
.reveal.instant { transition: none; }

/* ───────── request form ───────── */
.form-page { padding: 56px 0 96px; background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,138,0,.16), transparent 70%), var(--bg); min-height: calc(100vh - var(--nav-h)); }
.form-wrap { max-width: 780px; }
.form-intro { margin-bottom: 28px; }
.form-intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.demo-banner { background: rgba(255,208,0,.1); border: 1px solid rgba(255,208,0,.4); color: var(--yellow-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-size: .94rem; font-weight: 600; }
.stepper { margin-bottom: 16px; }
.stepper-bar { height: 6px; background: #222; border-radius: 999px; overflow: hidden; }
.stepper-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .4s ease; }
.stepper-label { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.stepper-label b { color: var(--text); font-family: var(--font-en); }
.form-card { padding: 32px; position: relative; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-size: 1.45rem; font-weight: 700; margin-bottom: 20px; padding: 0; }
.step legend:focus { outline: none; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .check-chip input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-body { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border-radius: 16px; background: var(--card-2); border: 1.5px solid var(--line); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice:hover .choice-body { border-color: #444; }
.choice input:checked + .choice-body { border-color: var(--yellow); background: rgba(255,176,0,.08); box-shadow: 0 0 0 1px var(--yellow); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--yellow); outline-offset: 3px; }
.choice-body b { font-size: 1.12rem; }
.choice-body small { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.choice-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.choice-row b { font-family: var(--font-en); }
html[lang="ar"] .choice-grid.two .choice-row b { font-family: var(--font-ar); }
.choice-price { font-family: var(--font-en); font-weight: 800; color: var(--yellow); white-space: nowrap; }
.choice-meta { color: var(--text-2) !important; }
.choice-save { color: var(--yellow) !important; font-weight: 700; }
.addons-pick { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.check-chip { position: relative; cursor: pointer; }
.check-chip span { display: inline-block; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card-2); font-weight: 600; font-size: .95rem; transition: all .2s; }
.check-chip small { opacity: .7; font-family: var(--font-en); font-size: .8rem; margin-inline-start: 4px; }
.check-chip:hover span { border-color: #555; }
.check-chip input:checked + span { background: var(--grad); color: var(--ink); border-color: transparent; }
.check-chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.field { display: block; margin-bottom: 18px; }
.field-label { display: block; font-size: .94rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
p.field-label { margin-top: 4px; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], input:not([type]), textarea, select {
  width: 100%; background: #0F0F0F; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #6b6b6b; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,208,0,.18); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
input[type="file"] { width: 100%; color: var(--muted); font-size: .9rem; }
.err { display: block; color: var(--danger); font-size: .9rem; margin-top: 6px; font-weight: 500; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.counter { display: block; text-align: end; color: #6b6b6b; font-size: .8rem; margin-top: 4px; font-family: var(--font-en); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg span { display: inline-block; padding: .55em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card-2); font-weight: 600; transition: all .2s; }
.seg input:checked + span { background: var(--grad); color: var(--ink); border-color: transparent; }
.seg-sm span { padding: .4em .9em; font-size: .88rem; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 36px 20px; border: 2px dashed #3a3a3a; border-radius: 18px; cursor: pointer; transition: border-color .2s, background-color .2s; margin-top: 16px; }
.dropzone:hover, .dropzone.over { border-color: var(--yellow); background: rgba(255,208,0,.05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.dz-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; }
.dropzone small { color: var(--muted); }
.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card-2); border-radius: 10px; }
.fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
a.fname { color: var(--yellow-2); }
.fsize { color: var(--muted); font-size: .85rem; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.icon-btn:hover { background: #262626; color: #fff; }
.review { margin: 0; display: grid; }
.review > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review > div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); font-size: .94rem; }
.review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-nav { display: flex; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav #next-btn, .form-nav #submit-btn { margin-inline-start: auto; min-width: 140px; }
.upload-progress { color: var(--muted); font-size: .9rem; margin-top: 12px; text-align: end; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.success { text-align: center; padding: 56px 28px; display: grid; justify-items: center; gap: 14px; }
.success:focus { outline: none; }
.success img { border-radius: 22px; }
.success h2 { font-size: 2rem; }
.success p { color: var(--muted); max-width: 46ch; }
.success .ref { color: var(--text-2); }
.success .ref b { font-family: var(--font-en); color: var(--yellow); letter-spacing: .08em; }

/* ───────── admin ───────── */
.admin-page { padding: 32px 0 96px; min-height: calc(100vh - var(--nav-h)); }
.login-card { max-width: 420px; margin: 48px auto; padding: 36px 30px; text-align: center; }
.login-card img { margin: 0 auto 14px; border-radius: 16px; }
.login-card h1 { font-size: 1.6rem; margin-bottom: 22px; }
.login-card form { text-align: start; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 16px; font-weight: 700; font-size: 1.02rem; cursor: pointer; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px; }
.tab.is-active { color: #fff; border-color: var(--yellow); }
.count { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 0 .55em; font-size: .78rem; font-family: var(--font-en); font-weight: 800; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.req-list { display: grid; gap: 10px; }
.req-item { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--text); cursor: pointer; transition: border-color .2s; }
.req-item:hover { border-color: #474747; }
.req-main { display: grid; min-width: 0; }
.req-main b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-main small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.req-meta small { color: var(--muted); font-size: .82rem; }
.status { display: inline-block; border-radius: 999px; padding: .2em .75em; font-size: .8rem; font-weight: 700; }
.s-new { background: var(--yellow); color: var(--ink); }
.s-contacted { background: #1E3A5F; color: #A9CDF5; }
.s-in_progress { background: #5A2E00; color: #FFB25C; }
.s-won { background: #123D27; color: #6EE7A8; }
.s-closed { background: #262626; color: var(--muted); }
.empty { text-align: center; padding: 40px 0; }
.pj-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pj-item { position: relative; display: flex; flex-direction: column; text-align: start; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--text); cursor: pointer; transition: border-color .2s; }
.pj-item:hover { border-color: #474747; }
.pj-thumb { display: block; aspect-ratio: 16 / 10; background: var(--grad); }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pj-info { display: grid; padding: 12px 14px; }
.pj-info small { color: var(--muted); }
.pj-item .status { position: absolute; top: 10px; inset-inline-start: 10px; }
.modal { border: 0; padding: 0; background: var(--card); color: var(--text); border-radius: 22px; width: min(720px, calc(100% - 24px)); max-height: 90vh; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.modal::backdrop { background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-body { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal-head h2 { font-size: 1.35rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.req-files { margin: 16px 0; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; margin-bottom: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--yellow); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: #fff; color: var(--ink); padding: 12px 22px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────── responsive ───────── */
@media (min-width: 941px) and (max-width: 1240px) {
  .nav-links { gap: 0; }
  .nav-links a:not(.btn) { padding: 8px 7px; font-size: .9rem; }
  .nav-links + .nav-actions { margin-inline-start: 4px; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding-inline: 14px; font-size: .88rem; }
  .brand-word { font-size: 1rem; letter-spacing: .22em; }
}
@media (max-width: 1024px) {
  .mt-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .pk-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pk-card.featured, .pk-card.featured.reveal.in { transform: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .nav-links {
    position: absolute; top: var(--nav-h); inset-inline: 0; flex-direction: column; gap: 2px;
    background: rgba(10,10,10,.97); color: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { background: rgba(10,10,10,.97); color: #fff; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .nav-links a:not(.btn):hover { background: rgba(255,255,255,.06); }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; background: var(--grad); color: var(--ink); }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-planet { width: min(280px, 70%); }
  .hero { padding-top: calc(var(--nav-h) + 32px); min-height: 0; }
}
@media (max-width: 680px) {
  .container { padding-inline: 16px; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .why-grid, .mt-grid, .process, .work-grid, .plan-grid { grid-template-columns: 1fr; }
  .why-card { padding: 22px; gap: 18px; }
  .big-num { font-size: 2.4rem; }
  .pk-card { padding: 24px; }
  .addon-list { padding: 4px 18px; }
  .addon-row { align-items: flex-start; }
  .addon-price b { font-size: 1.35rem; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .mini-card { padding: 14px; }
  .mini-card b { font-size: 1.3rem; }
  .mini-card span { font-size: .88rem; }
  .actions .btn { flex: 1 1 auto; }
  .brand-word { font-size: 1rem; letter-spacing: .24em; }
  .brand-mark { width: 30px; height: 30px; }
  .form-card { padding: 20px; }
  .choice-grid.two, .row-2 { grid-template-columns: 1fr; }
  .review > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
  .req-item { flex-direction: column; align-items: stretch; }
  .req-meta { justify-content: flex-start; }
  .form-nav .btn { min-width: 0; }
  .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
#plan-choices ~ .field { margin-top: 22px; }

/* ═══════════════════════════════════════════════
   Page transitions (between pages)
   ═══════════════════════════════════════════════ */
/* top progress line while the next page loads */
.route-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 400; pointer-events: none; background: var(--grad); transform-origin: left; transform: scaleX(0); opacity: 0; }
[dir="rtl"] .route-bar { transform-origin: right; }
.route-bar.run { opacity: 1; animation: bar-run 1.2s cubic-bezier(.1, .7, .3, 1) forwards; }
.route-bar.done { opacity: 1; animation: bar-done .5s ease forwards; }
@keyframes bar-run { from { transform: scaleX(0); } to { transform: scaleX(.8); } }
@keyframes bar-done { 0% { transform: scaleX(.8); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* brand glow that bursts from the clicked link */
.route-glow {
  position: fixed; inset: 0; z-index: 350; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 40%), rgba(255,138,0,.55), rgba(255,208,0,.18) 22%, transparent 48%);
}
.route-glow.go { animation: glow-burst .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes glow-burst { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }

/* new page: its parts arrive one after another */
.page-enter .hero-copy > *, .page-enter .form-intro > *, .page-enter .stepper, .page-enter .form-card,
.page-enter .login-card, .page-enter .demo-banner, .page-enter .hero-cards .mini-card {
  animation: cascade .8s cubic-bezier(.16, 1, .3, 1) both;
}
.page-enter .hero-copy > :nth-child(1), .page-enter .form-intro > :nth-child(1) { animation-delay: .08s; }
.page-enter .hero-copy > :nth-child(2), .page-enter .form-intro > :nth-child(2) { animation-delay: .16s; }
.page-enter .hero-copy > :nth-child(3), .page-enter .demo-banner { animation-delay: .24s; }
.page-enter .hero-copy > :nth-child(4), .page-enter .stepper { animation-delay: .32s; }
.page-enter .hero-copy > :nth-child(5), .page-enter .form-card, .page-enter .login-card { animation-delay: .4s; }
.page-enter .hero-cards .mini-card:nth-child(1) { animation-delay: .45s; }
.page-enter .hero-cards .mini-card:nth-child(2) { animation-delay: .55s; }
@keyframes cascade { from { opacity: 0; transform: translateY(34px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes planet-in { from { opacity: 0; transform: translateY(40px) scale(.7) rotate(-18deg); } to { opacity: 1; transform: none; } }
@media (min-width: 1025px) {
  .page-enter .summary-card { animation: slide-side .9s .3s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes slide-side { from { opacity: 0; transform: translateX(calc(-40px * var(--flow-dir))); } to { opacity: 1; transform: none; } }
}

/* ═══════════════════════════════════════════════
   Request flow
   ═══════════════════════════════════════════════ */
:root { --flow-dir: 1; }
[dir="rtl"] { --flow-dir: -1; }

.flow { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; max-width: 1140px; align-items: start; }
.flow-main { min-width: 0; }
.page-start.is-done .flow { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.form-intro { margin-bottom: 22px; }
.step-lead { color: var(--muted); margin: -8px 0 22px; max-width: 60ch; }
.step legend { margin-bottom: 14px; }

/* stepper dots */
.stepper { margin-bottom: 18px; }
.step-dots { list-style: none; display: flex; gap: 4px; margin: 14px 0 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.step-dots::-webkit-scrollbar { display: none; }
.dot button {
  display: flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--muted);
  padding: 4px 8px 4px 4px; border-radius: 999px; cursor: pointer; font-size: .84rem; font-weight: 600; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
[dir="rtl"] .dot button { padding: 4px 4px 4px 8px; }
.dot button:not(:disabled):hover { background: #1c1c1c; color: #fff; }
.dot button:disabled { cursor: default; }
.dot.todo button { opacity: .55; }
.dot-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1.5px solid var(--line); font-family: var(--font-en); font-size: .74rem; font-weight: 800;
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.dot.done .dot-n { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.dot.current .dot-n { background: var(--grad); border-color: transparent; color: var(--ink); box-shadow: 0 0 0 4px rgba(255,176,0,.2); }
.dot.current button { color: #fff; }
.stepper-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* step animations */
.step.enter-fwd { animation: step-in .45s cubic-bezier(.2, .8, .2, 1) both; --from: calc(32px * var(--flow-dir)); }
.step.enter-back { animation: step-in .45s cubic-bezier(.2, .8, .2, 1) both; --from: calc(-32px * var(--flow-dir)); }
@keyframes step-in { from { opacity: 0; transform: translateX(var(--from)); } to { opacity: 1; transform: none; } }
.step.shake { animation: shake .38s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.025); } }

/* service cards */
.choice-hero .choice-body { padding: 22px; gap: 6px; }
.choice-icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,176,0,.12); display: grid; place-items: center; margin-bottom: 8px; transition: background-color .25s; }
.choice-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.choice input:checked + .choice-body .choice-icon { background: var(--grad); }
.choice input:checked + .choice-body .choice-icon svg { stroke: var(--ink); }

/* package cards */
.choice-pkg .choice-body { padding: 20px 22px; gap: 6px; }
.choice-pkg .choice-row { justify-content: flex-start; flex-wrap: wrap; }
.pkg-name { font-family: var(--font-en); font-weight: 800; font-size: 1.25rem; }
.choice-pkg .choice-price { margin-inline-start: auto; font-size: 1.3rem; }
.choice-price small { font-size: .72rem; color: var(--text-2); }
.pkg-feats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.pkg-feats > span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-2); }
.pkg-feats .star { margin-top: 0; width: 11px; height: 11px; }
.pkg-feats .more { color: var(--muted); }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--muted); }
.pkg-meta b { color: var(--yellow-2); font-weight: 700; }
.choice.is-featured .choice-body { border-color: rgba(255,208,0,.4); }

/* add-on cards */
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon-card { position: relative; cursor: pointer; }
.addon-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.addon-body { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; background: var(--card-2); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.addon-card:hover .addon-body { border-color: #444; }
.addon-card input:checked + .addon-body { border-color: var(--yellow); background: rgba(255,176,0,.08); }
.addon-card input:focus-visible + .addon-body { outline: 3px solid var(--yellow); outline-offset: 3px; }
.addon-tick { position: relative; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #4a4a4a; flex-shrink: 0; transition: background-color .2s, border-color .2s; }
.addon-card input:checked + .addon-body .addon-tick { background: var(--grad); border-color: transparent; }
.addon-card input:checked + .addon-body .addon-tick::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.addon-name { flex: 1; min-width: 0; display: grid; }
.addon-name small { color: var(--muted); font-size: .82rem; }
.addon-range { font-family: var(--font-en); font-weight: 700; color: var(--yellow); white-space: nowrap; font-size: .95rem; }
.addon-range small { font-size: .7rem; color: var(--text-2); }

/* maintenance plans */
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-plan .choice-body { text-align: center; justify-items: center; padding: 22px 14px 18px; position: relative; gap: 2px; }
.choice-plan .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan-price { font-family: var(--font-en); font-weight: 700; font-size: .85rem; color: var(--text-2); margin-top: 6px; }
.plan-price b { font-size: 2.1rem; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.choice-plan em { font-style: normal; color: var(--yellow); font-weight: 700; }
.choice-grid.three .choice-plan:last-child .choice-body { justify-content: center; align-content: center; }
.url-field { margin-top: 22px; }
.includes { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.includes summary { cursor: pointer; font-weight: 700; color: var(--text-2); }
.includes-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.includes-list li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text-2); }
.includes-list .star { margin-top: 0; width: 11px; height: 11px; }

/* live summary */
.summary { position: sticky; top: calc(var(--nav-h) + 24px); }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -40px rgba(255,120,0,.35); }
.summary-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.summary-head h2 { font-size: 1.1rem; flex: 1; }
.sum-close { display: none; }
.sum-empty { color: var(--muted); font-size: .95rem; padding: 18px 0 6px; }
.sum-list { margin: 0; display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.sum-row dt { color: var(--muted); font-size: .9rem; }
.sum-row dd { margin: 0; text-align: end; font-weight: 600; font-size: .95rem; }
.sum-row.sub dt, .sum-row.sub dd { font-size: .85rem; color: var(--text-2); font-weight: 500; }
.sum-row dd span[dir="ltr"] { font-family: var(--font-en); }
.sum-total { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #333; display: grid; gap: 2px; }
.sum-total > span { color: var(--muted); font-size: .88rem; }
.sum-total b { font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sum-total b small { font-size: .85rem; color: var(--text-2); letter-spacing: 0; }
.sum-total b.tbd { font-family: inherit; font-size: 1.15rem; }
.sum-deposit { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.sum-deposit b { color: #fff; font-family: var(--font-en); }
.sum-note { color: #7a7a7a; font-size: .8rem; margin-top: 12px; line-height: 1.6; }
.sum-bar { display: none; }

/* quote */
.quote { position: relative; overflow: hidden; background: linear-gradient(180deg, #191919, #111); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 22px; }
.quote::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.quote-head .kicker { margin-bottom: 4px; color: var(--yellow); }
.quote-head h3 { font-family: var(--font-en); font-size: 1.7rem; font-weight: 800; }
html[lang="ar"] .quote-head h3 { font-family: var(--font-ar); }
.quote-head small { color: var(--muted); }
.quote-head img { border-radius: 14px; flex-shrink: 0; }
.quote-lines { width: 100%; border-collapse: collapse; }
.quote-lines th { text-align: start; font-weight: 500; color: var(--text-2); padding: 11px 0; border-bottom: 1px dashed #303030; }
.quote-lines td { text-align: end; font-family: var(--font-en); font-weight: 700; padding: 11px 0; border-bottom: 1px dashed #303030; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-lines tfoot th { color: #fff; font-weight: 700; border: 0; padding-top: 16px; }
.quote-lines tfoot td { border: 0; padding-top: 16px; font-size: 1.7rem; font-weight: 800; color: var(--yellow); }
.quote-lines .tbd { font-family: var(--font-ar); font-size: .95rem; color: var(--yellow-2); white-space: normal; }
.quote-sub { color: var(--muted); font-size: .85rem; margin: 18px 0 8px; }
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-split > div { background: #0D0D0D; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; position: relative; }
.pay-split small { color: var(--muted); font-size: .84rem; }
.pay-split b { font-family: var(--font-en); font-size: 1.3rem; font-weight: 800; }
.pay-split span { position: absolute; top: 12px; inset-inline-end: 14px; font-family: var(--font-en); font-size: .75rem; font-weight: 800; color: var(--ink); background: var(--yellow-2); padding: 1px 7px; border-radius: 999px; }
.quote-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quote-facts li { background: #0D0D0D; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; display: grid; }
.quote-facts small { color: var(--muted); font-size: .8rem; }
.quote-facts b { font-size: .95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.quote-includes { grid-template-columns: 1fr 1fr; }
.quote-includes li { padding: 9px 12px; }
.quote-includes b { font-weight: 600; font-size: .9rem; }
.quote-note { color: #7a7a7a; font-size: .82rem; margin-top: 14px; }
.edit-link { background: none; border: 0; color: var(--yellow-2); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.edit-link:hover { color: #fff; }
.quote-h { font-size: 1.05rem; margin: 28px 0 14px; }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: tl; }
.timeline li { position: relative; padding-inline-start: 42px; padding-bottom: 18px; counter-increment: tl; color: var(--text-2); animation: tl-in .45s cubic-bezier(.2,.8,.2,1) both; }
.timeline li:nth-child(2) { animation-delay: .07s; } .timeline li:nth-child(3) { animation-delay: .14s; }
.timeline li:nth-child(4) { animation-delay: .21s; } .timeline li:nth-child(5) { animation-delay: .28s; }
.timeline li::before { content: counter(tl); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: .8rem; }
.timeline li::after { content: ''; position: absolute; inset-inline-start: 13.5px; top: 32px; bottom: 4px; width: 1.5px; background: #333; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li span { display: block; padding-top: 2px; }
@keyframes tl-in { from { opacity: 0; transform: translateY(8px); } }
.review dd { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.review dd span { min-width: 0; overflow-wrap: anywhere; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px; background: rgba(255,208,0,.06); border: 1px solid rgba(255,208,0,.3); border-radius: 14px; cursor: pointer; font-size: .95rem; }
.agree input { width: 20px; height: 20px; accent-color: var(--yellow); margin-top: 3px; flex-shrink: 0; }
.btn-send.loading { pointer-events: none; }
.btn-send.loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(10,10,10,.25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success */
.orbit-anim { position: relative; width: 140px; height: 140px; display: grid; place-items: center; margin-bottom: 4px; }
.orbit-anim img { border-radius: 26px; animation: pop-in .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.check-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.check-ring circle { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; animation: draw 1.1s .25s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes pop-in { from { transform: scale(.5); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-next { width: 100%; max-width: 520px; text-align: start; margin-top: 10px; }
.success-next h3 { font-size: 1.05rem; margin-bottom: 14px; }
.success .prep { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 14px 18px; max-width: 520px; font-size: .95rem; text-align: start; }

/* responsive flow */
@media (max-width: 1024px) {
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
  .form-page { padding-bottom: 120px; }
  .summary {
    position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center;
    background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .summary.open { opacity: 1; visibility: visible; }
  .summary-card { width: 100%; max-width: 560px; max-height: 82vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .summary.open .summary-card { transform: none; }
  .sum-close { display: inline-block; }
  .sum-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 55;
    inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(18,18,18,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid #333; border-radius: 18px; padding: 12px 16px; color: #fff; cursor: pointer; font: inherit; text-align: start;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
  }
  .sum-bar[hidden] { display: none !important; }
  .sum-bar-label { color: var(--muted); font-size: .85rem; }
  .sum-bar-total { font-family: var(--font-en); font-weight: 800; color: var(--yellow); font-size: 1.15rem; flex: 1; }
  .sum-bar-open { font-size: .85rem; font-weight: 700; color: var(--ink); background: var(--grad); padding: 6px 12px; border-radius: 999px; }
  .sum-bar.bump .sum-bar-total { animation: pop .35s ease; display: inline-block; }
  body.sheet-open { overflow: hidden; }
}
@media (max-width: 680px) {
  .addon-grid, .choice-grid.three, .includes-list, .pay-split, .quote-facts, .quote-includes { grid-template-columns: 1fr; }
  .dot:not(.current) .dot-t { display: none; }
  .dot button { padding: 4px; }
  .choice-plan .choice-body { padding-top: 22px; }
  .quote { padding: 22px 18px 18px; }
  .quote-head h3 { font-size: 1.4rem; }
  .quote-lines tfoot td { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .check-ring circle { stroke-dashoffset: 0; }
}


/* ═══════════════════════════════════════════════
   Home as full-screen "pages"
   ═══════════════════════════════════════════════ */
@media (min-width: 1025px) and (min-height: 680px) {
  html:has(body.page-home) { scroll-snap-type: y proximity; }
  .page-sec { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; position: relative; }
  .page-sec > .container { width: 100%; }
}
.page-sec > .container { transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .9s ease; }
html.js .page-sec:not(#top):not(.in-view) > .container { opacity: 0; transform: translateY(70px) scale(.96); filter: blur(10px); }
.sec-head > * { transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.sec-head > :nth-child(2) { transition-delay: .1s; }
.sec-head > :nth-child(3) { transition-delay: .2s; }
html.js .page-sec:not(.in-view) .sec-head > * { opacity: 0; transform: translateY(26px); }

/* scroll hint */
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem; }
.scroll-hint i { width: 26px; height: 40px; border: 2px solid var(--ink); border-radius: 14px; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* sections stack like sheets: each one slides over the previous with rounded top corners */
main > .page-sec ~ .page-sec, main > .page-sec ~ .cta-band {
  position: relative; margin-top: -48px; border-radius: 48px 48px 0 0;
  box-shadow: 0 -28px 60px -24px rgba(0,0,0,.55);
  border-top: 1px solid rgba(255,255,255,.07);
}
main > .grad ~ .grad.page-sec, main > .page-sec ~ .cta-band { border-top-color: rgba(255,255,255,.35); }
main > .page-sec ~ .page-sec > .container, main > .page-sec ~ .cta-band > .container { padding-top: 24px; }
@media (max-width: 680px) {
  main > .page-sec ~ .page-sec, main > .page-sec ~ .cta-band { margin-top: -28px; border-radius: 28px 28px 0 0; }
}

/* side indicator */
/* side indicator: just dots, they adapt to the section behind them */
.page-dots { --dot: rgba(255,255,255,.35); --dot-hover: rgba(255,255,255,.8); --dot-on: var(--grad);
  position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); z-index: 45;
  display: none; flex-direction: column; align-items: center; gap: 14px; }
.page-dots.on-light { --dot: rgba(10,10,10,.28); --dot-hover: rgba(10,10,10,.7); --dot-on: var(--ink); }
@media (min-width: 1100px) { .page-home .page-dots { display: flex; } }
.pd-dot { position: relative; display: block; width: 7px; height: 7px; border-radius: 99px; background: var(--dot);
  transition: height .55s cubic-bezier(.22, 1, .36, 1), background .4s ease, transform .3s ease; }
.pd-dot::before { content: ''; position: absolute; inset: -8px -10px; } /* larger hit area */
.pd-dot:hover { background: var(--dot-hover); transform: scale(1.25); }
.pd-dot.on { height: 30px; background: var(--dot-on); transform: none; }
.pd-label { position: absolute; inset-inline-end: 22px; top: 50%; transform: translate(calc(6px * var(--flow-dir, 1) * -1), -50%); white-space: nowrap;
  background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 99px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
.pd-dot:hover .pd-label, .pd-dot:focus-visible .pd-label { opacity: 1; transform: translate(0, -50%); }
.page-dots.on-light .pd-label { background: var(--ink); color: #fff; }

/* maintenance: one clean panel */
.mt-panel { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; background: var(--ink); color: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(90,30,0,.6); max-width: 1040px; margin-inline: auto; }
.mt-plan { padding: 34px 32px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(ellipse at 50% 0%, rgba(255,138,0,.28), transparent 70%), #111; border-inline-end: 1px solid #222; }
.billing { position: relative; display: inline-flex; align-self: flex-start; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 999px; padding: 4px; }
.billing button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; transition: color .3s; white-space: nowrap; }
.billing button[aria-pressed="true"] { color: var(--ink); }
.billing em { font-style: normal; font-size: .72rem; font-weight: 800; background: rgba(10,10,10,.15); padding: 1px 7px; border-radius: 99px; margin-inline-start: 4px; }
.billing button[aria-pressed="false"] em { background: rgba(255,208,0,.15); color: var(--yellow); }
.billing-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--grad); transition: left .4s cubic-bezier(.16, 1, .3, 1), width .4s cubic-bezier(.16, 1, .3, 1); }
.mt-price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-en); margin-top: 10px; }
html[dir="rtl"] .mt-price { justify-content: flex-end; }
.mt-price b { font-size: clamp(3.6rem, 7vw, 4.6rem); font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mt-price span { font-weight: 800; font-size: 1rem; }
.mt-price small { color: var(--muted); font-size: .95rem; }
.mt-equiv { color: var(--text-2); font-size: .92rem; min-height: 1.5em; }
.mt-plan .btn { margin-top: 8px; }
.mt-free { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.mt-includes { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.mt-includes-t { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.mt-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.mt-checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.mt-checks b { display: block; font-size: 1rem; margin-bottom: 2px; }
.mt-checks small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,176,0,.14); display: grid; place-items: center; }
.tick svg { width: 15px; height: 15px; fill: none; stroke: var(--yellow); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html.js .page-sec:not(.in-view) .mt-checks li { opacity: 0; transform: translateY(14px); }
.mt-checks li { transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 60ms + .5s); }
.mt-excl { text-align: center; font-size: .9rem; margin: 22px auto 0; max-width: 760px; opacity: .85; }

@media (max-width: 900px) {
  .scroll-hint { display: none; }
  .mt-panel { grid-template-columns: 1fr; }
  .mt-plan { border-inline-end: 0; border-bottom: 1px solid #222; }
  .mt-includes { padding: 28px 24px; }
}
@media (max-width: 680px) {
  .mt-checks { grid-template-columns: 1fr; gap: 16px; }
  .mt-plan { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .page-sec:not(.in-view) > .container, html.js .page-sec:not(.in-view) .sec-head > *, html.js .page-sec:not(.in-view) .mt-checks li { opacity: 1; transform: none; filter: none; }
}
/* the tilted bands must never widen the page */
main { overflow-x: clip; }


/* ═══════════════════════════════════════════════
   Cosmo — one per section, living in its own corner
   ═══════════════════════════════════════════════ */
.page-sec, .form-card, .success { position: relative; }
.cosmo-spot { --size: 84px; position: absolute; z-index: 3; width: var(--size); height: var(--size);
  cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cosmo-float { width: 100%; height: 100%; animation: cosmo-bob var(--bob, 6s) var(--bob-delay, 0s) ease-in-out infinite; }
.cosmo-body { width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.28));
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.cosmo-body svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cosmo-body.pop { animation: cosmo-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
.cosmo-spot.hi .cosmo-body { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.c-eye { transform-box: fill-box; transform-origin: center; animation: cosmo-blink 5.5s var(--blink-delay, 0s) infinite; }

/* corners: t/b = top/bottom, s/e = start/end side, m = middle */
.cosmo-spot.pos-ts { top: 70px; inset-inline-start: 3vw; }
.cosmo-spot.pos-te { top: 70px; inset-inline-end: 4.5vw; }
.cosmo-spot.pos-bs { bottom: 70px; inset-inline-start: 3vw; }
.cosmo-spot.pos-be { bottom: 70px; inset-inline-end: 4.5vw; }
.cosmo-spot.pos-me { top: 46%; inset-inline-end: 6vw; }
.cosmo-spot.on-top { bottom: 40px; --size: 70px; }
/* in the form: sits in the card's empty top corner */
.cosmo-spot.pos-card { --size: 64px; top: 20px; inset-inline-end: 22px; }

/* entrance: pops into place when its section scrolls into view */
html.js .page-sec:not(.in-view) > .cosmo-spot { opacity: 0; transform: translateY(24px) scale(.4) rotate(-20deg); }
.page-sec > .cosmo-spot, .form-card > .cosmo-spot, .success > .cosmo-spot {
  transition: opacity .5s ease .45s, transform .9s cubic-bezier(.34, 1.56, .64, 1) .45s; }
.form-card > .cosmo-spot, .success > .cosmo-spot { animation: cosmo-in .9s cubic-bezier(.34, 1.56, .64, 1) .35s both; }

.cosmo-bubble { position: absolute; bottom: calc(100% + 2px); inset-inline-start: 50%; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); opacity: 0; transform: translate(calc(-50% * var(--flow-dir, 1)), 6px) scale(.9);
  pointer-events: none; transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.cosmo-spot.hi .cosmo-bubble { opacity: 1; transform: translate(calc(-50% * var(--flow-dir, 1)), 0); }
.pos-te .cosmo-bubble, .pos-be .cosmo-bubble, .pos-me .cosmo-bubble, .pos-card .cosmo-bubble { inset-inline-start: auto; inset-inline-end: 30%; transform: translateY(6px) scale(.9); }
.pos-te.hi .cosmo-bubble, .pos-be.hi .cosmo-bubble, .pos-me.hi .cosmo-bubble, .pos-card.hi .cosmo-bubble { transform: none; }
.pos-ts .cosmo-bubble, .pos-bs .cosmo-bubble { inset-inline-start: 30%; transform: translateY(6px) scale(.9); }
.pos-ts.hi .cosmo-bubble, .pos-bs.hi .cosmo-bubble { transform: none; }

@keyframes cosmo-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(4deg); } }
@keyframes cosmo-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
@keyframes cosmo-pop { 0% { transform: scale(1); } 40% { transform: scale(1.14) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes cosmo-in { from { opacity: 0; transform: translateY(24px) scale(.4) rotate(-20deg); } }

/* medium screens: tuck them closer to the edge and smaller */
@media (max-width: 1279px) {
  .cosmo-spot { --size: 64px; }
  .cosmo-spot.pos-ts, .cosmo-spot.pos-bs { inset-inline-start: 12px; }
  .cosmo-spot.pos-te, .cosmo-spot.pos-be, .cosmo-spot.pos-me { inset-inline-end: 12px; }
  .cosmo-spot.pos-me { top: 18px; }
  .cosmo-spot.pos-ts, .cosmo-spot.pos-te { top: 18px; }
  .cosmo-spot.pos-bs, .cosmo-spot.pos-be { bottom: 18px; }
}
/* phones: one small Cosmo at the top end corner of each section */
@media (max-width: 680px) {
  .cosmo-spot { --size: 46px; top: 14px !important; bottom: auto !important; inset-inline-start: auto !important; inset-inline-end: 14px !important; }
  .cosmo-spot.on-top { display: none; }
  .cosmo-spot.pos-card { top: 12px !important; inset-inline-end: 12px !important; --size: 44px; }
  .cosmo-bubble { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cosmo-float, .c-eye, .cosmo-body.pop, .form-card > .cosmo-spot, .success > .cosmo-spot { animation: none !important; }
  html.js .page-sec:not(.in-view) > .cosmo-spot { opacity: 1; transform: none; }
}


/* ── our work: category tabs ── */
.work-tabs { position: relative; display: inline-flex; flex-wrap: nowrap; gap: 4px; padding: 5px; margin-bottom: 28px;
  background: #151515; border: 1px solid var(--line); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.work-tabs::-webkit-scrollbar { display: none; }
.work-tab { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700;
  font-size: .95rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .3s; }
.work-tab:hover { color: #fff; }
.work-tab.on { color: var(--ink); }
.work-tab .n { font-family: var(--font-en); font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 99px;
  background: rgba(255,255,255,.1); margin-inline-start: 4px; }
.work-tab.on .n { background: rgba(10,10,10,.15); }
.work-tab-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--grad);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1); }
.work-grid.out { opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.work-grid.in .work-card, .work-grid.in .work-soon { animation: card-in .55s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
a.work-card { text-decoration: none; color: inherit; }
.work-img { position: relative; }
.work-visit { position: absolute; inset-inline-end: 12px; bottom: 12px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s; }
a.work-card:hover .work-visit, a.work-card:focus-visible .work-visit { opacity: 1; transform: none; }
.work-soon { grid-column: 1 / -1; text-align: center; padding: 44px 24px; display: grid; justify-items: center; gap: 10px;
  background: radial-gradient(ellipse at top, rgba(255,138,0,.12), transparent 60%), var(--card); }
.work-soon-t { font-family: var(--font-en); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--yellow); }
html[lang="ar"] .work-soon-t { font-family: var(--font-ar); letter-spacing: 0; font-size: .95rem; }
.work-soon p:not(.work-soon-t) { color: var(--text-2); max-width: 52ch; }
.work-soon .btn { margin-top: 6px; }
@media (max-width: 680px) { .work-tabs { display: flex; } .work-tab { padding: 8px 14px; font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { .work-grid.in .work-card, .work-grid.in .work-soon { animation: none; } }
.chip-cosmos { background: var(--grad); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.chip-cosmos::before { content: ''; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url(../img/logo-mark.png) center / contain no-repeat; mask: url(../img/logo-mark.png) center / contain no-repeat; }

/* ── about ── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-mark { position: relative; width: min(440px, 100%); aspect-ratio: 1; justify-self: center; }
.about-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,140,0,.42) 0%, rgba(255,107,0,.16) 45%, rgba(255,107,0,0) 70%); filter: blur(14px); animation: ab-glow 5s ease-in-out infinite; }
.about-svg { position: relative; width: 100%; height: 100%; overflow: visible; animation: ab-float 7s ease-in-out infinite; }
.ab-body { transform-origin: 256px 270px; transform-box: view-box; animation: ab-tilt 9s ease-in-out infinite; }
.ab-planet, .ab-star, .ab-moon { fill: url(#ab-grad); }
.ab-star { fill: var(--yellow-2); }
.ab-moon { fill: var(--orange); }
.ab-ring { fill: none; stroke: url(#ab-grad); stroke-width: 14; }
.ab-star { transform-origin: 98px 100px; transform-box: view-box; animation: ab-twinkle 3.2s ease-in-out infinite; }
.about-text h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 22px; }
.about-text p { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.9; font-weight: 500; max-width: 34em; color: var(--text); opacity: .88; }
html[dir="ltr"] .about-text p { line-height: 1.7; }
html.js #about:not(.in-view) .about-mark { opacity: 0; transform: scale(.7) rotate(-12deg); }
.about-mark { transition: opacity 1s ease .15s, transform 1.3s cubic-bezier(.34, 1.56, .64, 1) .15s; }
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ab-tilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes ab-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 45% { transform: scale(.55) rotate(45deg); opacity: .55; } 60% { transform: scale(1.15) rotate(90deg); opacity: 1; } }
@keyframes ab-glow { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-mark { width: min(300px, 78%); }
  .about-text p { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html.js #about:not(.in-view) .about-mark { opacity: 1; transform: none; }
}

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.ct-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 24px; text-decoration: none; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, box-shadow .35s ease; }
.ct-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 120% at 0% 0%, rgba(255,140,0,.22), rgba(255,140,0,0) 60%); opacity: 0; transition: opacity .35s ease; }
html[dir="rtl"] .ct-card::before { background: radial-gradient(120% 120% at 100% 0%, rgba(255,140,0,.22), rgba(255,140,0,0) 60%); }
.ct-card:hover, .ct-card:focus-visible { transform: translateY(-4px); border-color: rgba(255,176,0,.55); box-shadow: 0 18px 50px -20px rgba(255,107,0,.55); }
.ct-card:hover::before, .ct-card:focus-visible::before { opacity: 1; }
.ct-icon { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); }
.ct-icon svg { width: 30px; height: 30px; }
.ct-icon .i-line { fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-icon .i-fill { fill: var(--ink); }
.ct-body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.ct-body b { font-size: 1.15rem; }
.ct-body small { color: var(--muted); font-size: .92rem; }
.ct-handle { font-family: var(--font-en); font-weight: 700; color: var(--yellow); font-size: .98rem; unicode-bidi: isolate; justify-self: start; }
.ct-arrow { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .35s ease, opacity .35s ease; }
html[dir="rtl"] .ct-arrow { transform: scaleX(-1); }
.ct-card:hover .ct-arrow { opacity: 1; transform: translate(3px, -3px); }
html[dir="rtl"] .ct-card:hover .ct-arrow { transform: scaleX(-1) translate(3px, -3px); }
.ct-wa { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 32px; gap: 22px;
  background: linear-gradient(160deg, rgba(255,107,0,.16), rgba(255,217,61,.06)); border-color: rgba(255,176,0,.3); }
.ct-wa .ct-icon { width: 76px; height: 76px; border-radius: 24px; }
.ct-wa .ct-icon svg { width: 40px; height: 40px; }
.ct-wa .ct-body b { font-size: 1.7rem; }
.ct-wa .ct-body small { font-size: 1rem; }
.ct-wa .ct-handle { font-size: 1.15rem; }
.ct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--grad); color: var(--ink); font-weight: 700; }
.ct-btn .ct-arrow { opacity: 1; }
@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; }
  .ct-wa { grid-row: auto; padding: 24px; }
  .ct-wa .ct-body b { font-size: 1.4rem; }
  .ct-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-ring, .hp-ball { stroke-dashoffset: 0; fill-opacity: 1; }
  .hp-star, .hp-dot { transform: none; }
}
