/* ============================================================================
   روزیار — لایه‌ی طراحی ۲ (بعد از styles.css بارگذاری می‌شود)
   بدون هیچ منبع خارجی. برای برگشت به طراحی قبلی، لینک این فایل را بردارید.
   ایده: صفحه با «شب» شروع می‌شود (هیرو) و مثل خورشیدِ لوگو، آرام روشن می‌شود.
   ========================================================================== */
@font-face { font-family: 'Vazirmatn'; src: url('fonts/vazirmatn-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('fonts/vazirmatn-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('fonts/vazirmatn-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('fonts/vazirmatn-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  /* رنگ‌های برند: Ruzyar Neon Future */
  --night:  #071126;
  --deep:   #0b1a3a;
  --surface-2: #101f3c;
  --cyan:   #20ddf5;
  --violet: #9475ff;
  --gold:   #cbaa6b;
  --text:   #eaf4ff;
  --glass:  rgba(255,255,255,.06);
  --glass-line: rgba(160,200,255,.18);
  --ease:   cubic-bezier(.2,.8,.2,1);
  /* بازنویسیِ توکن‌های styles.css تا همه‌ی صفحه‌ها تیره و یکدست شوند */
  --bg: #071126; --bg-tint: #0a1733; --surface: #101f3c;
  --ink: #eaf4ff; --ink-2: #c6d8f0; --muted: #9db4d6;
  --line: rgba(160,200,255,.16); --line-soft: rgba(160,200,255,.1);
  --primary: #20ddf5; --primary-2: #8af3ff;
  --sh-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 30px -16px rgba(0,0,0,.7);
  --sh-2: 0 24px 50px -20px rgba(32,221,245,.25), 0 8px 20px -10px rgba(0,0,0,.6);
}
body { font-weight: 500; }
h1, h2, h3 { font-weight: 800; }

/* ------------------------------- هدر تیره -------------------------------- */
.site-header { background: rgba(4,13,38,.82); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .brand, .site-header .brand:hover { color: #fff; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.site-footer .brand-logo { width: 46px; height: 46px; }
.nav a { color: #c9d8f2; }
.nav a:hover { color: #fff; border-bottom-color: var(--cyan); }
.btn-primary { background: linear-gradient(135deg, #20ddf5, var(--violet)); color: #04122a; box-shadow: 0 12px 28px -10px rgba(148,117,255,.8), inset 0 1px 0 rgba(255,255,255,.45); font-weight: 800; }
.btn-primary:hover { color: #020a1a; transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(148,117,255,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.burger { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; }
.burger span { background: #fff; }
@media (max-width: 860px) { .nav { background: var(--deep); border-color: rgba(255,255,255,.1); } .nav a { color: #dbe7ff; } }
.site-footer { background: var(--night); }

/* ================================ دستگاه ۳بعدی ============================= */
.stage { perspective: 1700px; }
.dev {
  --w: 260px; --d: 28px; --bz: 9px;
  position: relative; flex: 0 0 auto;
  width: calc(var(--w) + var(--bz) * 2);
  height: calc(var(--w) * 2.1667 + var(--bz) * 2);
}
.dev3d {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--bx, 0deg) + var(--px, 0deg))) rotateY(calc(var(--by, -16deg) + var(--py, 0deg)));
  transition: transform .6s var(--ease);
}
.dev-front {
  position: absolute; inset: 0; padding: var(--bz); border-radius: calc(var(--w) * .16);
  background: linear-gradient(145deg, #7b8394, #0a0d15 36%, #2b303d);
  transform: translateZ(calc(var(--d) / 2));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.26), 0 0 0 1px rgba(0,0,0,.5);
}
.dev-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .125); overflow: hidden; background: #071a47; }
.dev-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 30%); }
.dev-l, .dev-r {
  position: absolute; top: 7%; bottom: 7%; width: var(--d);
  background: linear-gradient(90deg, #dde2ee, #7a8297 48%, #2a2f3d);
}
.dev-l { left: calc(var(--d) / -2); transform: rotateY(-90deg); }
.dev-r { right: calc(var(--d) / -2); transform: rotateY(90deg); }
.dev-back { position: absolute; inset: 0; border-radius: calc(var(--w) * .16); background: #090b12; transform: translateZ(calc(var(--d) / -2)); }
.dev-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -30px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,.6); filter: blur(22px); transform: translateZ(-60px) rotateX(90deg);
}
.float { animation: float 6.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .dev3d { transition: none; } }

/* ============================== شبیه‌ساز داخل هیرو ========================= */
.am { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; background:
  radial-gradient(120px 120px at 82% 14%, rgba(32,221,245,.28), transparent 70%),
  linear-gradient(170deg, #1b2f6b, #071a47 58%, #071126); }
.am::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 22%, #fff, transparent), radial-gradient(1.4px 1.4px at 46% 52%, #fff, transparent), radial-gradient(1px 1px at 86% 62%, #fff, transparent), radial-gradient(1px 1px at 12% 70%, #fff, transparent); }
.am-status { display: flex; justify-content: space-between; padding: 14px 20px 0; font-size: 11px; position: relative; }
.am-top { padding: 16px 18px 0; position: relative; }
.am-top b { display: block; font-size: 17px; font-weight: 800; }
.am-top span { font-size: 11.5px; color: #b8cdf2; }
.am-body { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-start; position: relative; }
.bubble { align-self: flex-start; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 13px; line-height: 1.7; max-width: 92%; }
.result-card { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; backdrop-filter: blur(6px); }
.result-card .chip { justify-self: start; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-fg); }
.result-card .title { font-size: 15px; font-weight: 800; }
.result-card .meta { font-size: 12px; color: #b8cdf2; }
.am-composer { margin: 0 14px 16px; padding: 7px 7px 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; gap: 8px; position: relative; font-size: 12.5px; min-height: 40px; }
.am-composer .typed { flex: 1; min-width: 0; color: #fff; }
.am-composer .typed:empty::before { content: 'با روزیار حرف بزن…'; color: #9db6e2; }
.am-composer .caret { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.am-composer .send { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #20ddf5, var(--violet)); display: grid; place-items: center; color: #04122a; flex: 0 0 auto; }
.am-composer .send svg { width: 14px; height: 14px; }
.reveal { animation: rise .42s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================================== هیرو ================================== */
.x-hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 120px;
  background:
    radial-gradient(820px 520px at 80% 96%, rgba(148,117,255,.38), transparent 62%),
    radial-gradient(700px 480px at 4% 2%, rgba(32,221,245,.20), transparent 62%),
    linear-gradient(172deg, #0d1c40 0%, #0a1632 40%, var(--night) 100%);
}
.x-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(1.6px 1.6px at 8% 24%, #fff, transparent), radial-gradient(1.2px 1.2px at 30% 10%, #fff, transparent), radial-gradient(1px 1px at 58% 34%, #fff, transparent), radial-gradient(1.6px 1.6px at 76% 12%, #fff, transparent), radial-gradient(1px 1px at 94% 40%, #fff, transparent), radial-gradient(1.2px 1.2px at 20% 62%, #fff, transparent), radial-gradient(1px 1px at 46% 80%, #fff, transparent), radial-gradient(1.4px 1.4px at 88% 76%, #fff, transparent); }
.x-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.x-hero h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.28; letter-spacing: -.02em; }
.x-hero h1 .neonline { display: block; background: linear-gradient(100deg, #9ff6ff, var(--cyan) 40%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-hero .lead { margin-top: 22px; color: #cbdcff; font-size: 18.5px; max-width: 46ch; line-height: 2; }
.x-hero .lead .q { color: #fff; background: rgba(255,255,255,.1); padding: 1px 9px; border-radius: 9px; white-space: nowrap; }
.x-hero .hero-actions { margin-top: 30px; }
.x-hero .btn-ghost { background: var(--glass); color: #fff; border-color: var(--glass-line); }
.x-hero .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #aac2ea; font-size: 14.5px; }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; inset-inline-end: 6%; top: 14%;
  background: radial-gradient(circle at 34% 30%, #bff9ff, var(--cyan) 30%, var(--violet) 72%, #3b2a99);
  box-shadow: 0 0 110px 26px rgba(32,221,245,.28), 0 0 200px 60px rgba(148,117,255,.25); opacity: .9; }
.rays { position: absolute; width: 640px; height: 640px; inset-inline-end: -12%; top: -4%; opacity: .5; animation: spin 90s linear infinite;
  background: repeating-conic-gradient(from 0deg, rgba(32,221,245,.26) 0 3deg, transparent 3deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 36%, #000 37%, transparent 70%); mask: radial-gradient(circle, transparent 36%, #000 37%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rays { animation: none; } }
.hero-stage .dev { --w: 270px; z-index: 2; }
.chipfloat { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; background: rgba(10,22,50,.7); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); color: #fff; padding: 9px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; box-shadow: 0 18px 36px -14px rgba(0,0,0,.6); }
.chipfloat i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.chipfloat svg { width: 16px; height: 16px; }
.chipfloat.a { inset-inline-start: 0; top: 22%; }
.chipfloat.b { inset-inline-end: 0; top: 62%; }
@media (max-width: 960px) {
  .x-hero { padding: 44px 0 80px; }
  .x-hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { min-height: 560px; }
  .orb { width: 300px; height: 300px; }
  .chipfloat.a { inset-inline-start: 2%; } .chipfloat.b { inset-inline-end: 2%; }
}

/* ------------------------------ عنوان بخش‌ها ------------------------------- */
.x-sec { padding: 104px 0; scroll-margin-top: 84px; position: relative; }
.x-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.x-head h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.35; letter-spacing: -.015em; }
.x-head p { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.dark { background: linear-gradient(180deg, var(--night), #0a1733 60%, #0d1c40); color: #fff; }
.dark .x-head p { color: #aac2ea; }
.light { background: linear-gradient(180deg, #0a1632, #0b1a3a); position: relative; }
.light::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 90% 0%, rgba(148,117,255,.14), transparent 70%); }
.light > .wrap { position: relative; }
@media (max-width: 700px) { .x-sec { padding: 72px 0; } .x-head { margin-bottom: 40px; } }

/* ------------------------------- نحوه‌ی کار ------------------------------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: p; }
.path::before { content: ""; position: absolute; top: 34px; inset-inline: 12.5%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, #3ea1ff); opacity: .55; }
.pstep { text-align: center; padding: 0 14px; position: relative; }
.pstep .ic { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; color: #fff; position: relative;
  background: linear-gradient(150deg, #1a5fd6, #101f3c); box-shadow: 0 18px 30px -14px rgba(10,42,107,.7), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .4s var(--ease); }
.pstep:hover .ic { transform: translateY(-6px) rotate(-4deg); }
.pstep .ic svg { width: 32px; height: 32px; }
.pstep h3 { font-size: 18px; }
.pstep p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.95; }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; gap: 28px; }
  .path::before { display: none; }
  .pstep { display: grid; grid-template-columns: 70px 1fr; gap: 16px; text-align: start; align-items: start; padding: 0; }
  .pstep .ic { margin: 0; }
}

/* ============================ چهار بخش (کارت‌ها) ============================ */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bcard {
  --c1: #1f6fd0; --c2: #3ea1ff;
  position: relative; text-align: start; font: inherit; color: #fff; cursor: pointer; border: 0; padding: 30px; min-height: 330px;
  border-radius: 30px; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, color-mix(in srgb, var(--c1) 70%, #071126), #0a1733 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -30px rgba(0,0,0,.7);
  transform: perspective(1000px) rotateX(var(--px, 0deg)) rotateY(var(--py, 0deg));
  transition: transform .5s var(--ease), box-shadow .4s;
}
.bcard::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%; inset-inline-end: -120px; top: -140px;
  background: radial-gradient(circle, var(--c2), transparent 66%); opacity: .5; transition: opacity .4s, transform .6s var(--ease); }
.bcard:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 40px 70px -28px rgba(0,0,0,.8); }
.bcard:hover::before { opacity: .85; transform: scale(1.15); }
.bcard .tile { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255,255,255,.28), rgba(255,255,255,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 24px -12px rgba(0,0,0,.6); transform: translateZ(0); }
.bcard .tile svg { width: 34px; height: 34px; }
.bcard h3 { font-size: 28px; margin-top: 22px; }
.bcard p { color: #cfe0ff; margin-top: 8px; max-width: 24ch; font-size: 15.5px; line-height: 1.9; }
.bcard .go { position: absolute; inset-inline-start: 30px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 9px 16px; border-radius: 999px; transition: background .3s, gap .3s; }
.bcard:hover .go { background: linear-gradient(135deg, #20ddf5, var(--violet)); color: #04122a; gap: 12px; border-color: transparent; }
.bcard .go svg { width: 16px; height: 16px; }
.bcard .peek { position: absolute; inset-inline-end: 22px; bottom: -80px; width: 190px; z-index: 0; transform: rotate(7deg) translateY(0); transition: transform .6s var(--ease); }
.bcard:hover .peek { transform: rotate(3deg) translateY(-26px); }
.bcard .peek .dev { --w: 170px; --d: 0px; --bz: 6px; }
.bcard .peek .dev-front { transform: none; }
.bcard .peek .dev3d { transform: none; }
.bcard .peek .dev-l, .bcard .peek .dev-r, .bcard .peek .dev-back { display: none; }
.bcard[data-k="tasks"]   { --c1: #1f6fd0; --c2: #20ddf5; }
.bcard[data-k="cal"]     { --c1: #6a5ae0; --c2: #9475ff; }
.bcard[data-k="fin"]     { --c1: #0f8f75; --c2: #2fe0b4; }
.bcard[data-k="ledger"]  { --c1: #8a6a2b; --c2: #cbaa6b; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bcard { min-height: 300px; } }
@media (hover: none) { .bcard { transform: none !important; } }

/* ------------------------------- پنجره‌ی باز‌شده ----------------------------- */
dialog.pop { border: 0; padding: 0; background: transparent; color: #fff; width: min(1040px, 94vw); max-width: none; max-height: 92vh; overflow: visible; }
dialog.pop::backdrop { background: rgba(2,8,26,.78); backdrop-filter: blur(8px); }
dialog.pop[open] { animation: popin .55s var(--ease); }
dialog.pop[open]::backdrop { animation: fade .4s ease; }
@keyframes popin { from { opacity: 0; transform: perspective(1200px) translateY(40px) rotateX(14deg) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pop-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; border-radius: 34px; overflow: hidden; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 55%, #071126), #0a1733 62%, #071126);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 50px 100px -30px rgba(0,0,0,.9); }
.pop-in::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-start: -160px; top: -200px; background: radial-gradient(circle, var(--c2), transparent 66%); opacity: .4; pointer-events: none; }
.pop-copy { padding: 44px 44px 40px; position: relative; }
.pop-copy .tile { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(255,255,255,.3), rgba(255,255,255,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.pop-copy .tile svg { width: 30px; height: 30px; }
.pop-copy h3 { font-size: 34px; margin-top: 18px; }
.pop-copy .lead { margin-top: 10px; color: #cfe0ff; font-size: 17px; line-height: 2; }
.try { margin-top: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 14px 16px; display: grid; gap: 6px; }
.try .say { font-weight: 700; font-size: 16px; }
.try .say::before { content: "می‌نویسی: "; color: #9db6e2; font-weight: 500; }
.try .got { font-size: 14.5px; color: #cfe0ff; }
.try .got b { color: var(--c2); }
.caps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.caps li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; color: #e4eeff; line-height: 1.9; }
.caps li::before { content: ""; width: 20px; height: 20px; margin-top: 6px; border-radius: 50%; background: linear-gradient(135deg, #20ddf5, var(--violet)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000' fill-opacity='.0'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.caps b { color: #fff; }
.pop-vis { position: relative; display: grid; place-items: center; padding: 40px 10px 30px; min-height: 560px; }
.fan { display: flex; align-items: center; justify-content: center; }
.fan .dev { --w: 190px; }
.fan .dev + .dev { margin-inline-start: -38px; }
.fan.one .dev { --w: 250px; }
.fan.two .dev { --w: 215px; }
.fan .dev:nth-child(1) { --by: -26deg; z-index: 1; }
.fan .dev:nth-child(2) { --by: -8deg; z-index: 2; }
.fan .dev:nth-child(3) { --by: 12deg;  z-index: 1; }
.fan.one .dev:nth-child(1) { --by: -18deg; }
.fan.two .dev:nth-child(1) { --by: -22deg; }
.fan.two .dev:nth-child(2) { --by: -6deg; }
.pop-x { position: absolute; z-index: 5; inset-inline-end: 18px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); }
.pop-x:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
.pop-x svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .pop-in { grid-template-columns: 1fr; }
  .pop-vis { order: -1; min-height: 430px; padding-top: 60px; }
  .fan .dev { --w: 130px; } .fan.one .dev { --w: 170px; } .fan.two .dev { --w: 150px; }
  .pop-copy { padding: 8px 24px 32px; }
  .pop-copy h3 { font-size: 28px; }
}

/* ============================ ویترین (جزئیات اپ) ============================ */
.showcase { display: grid; gap: 110px; }
.show-row { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 72px; align-items: center; }
.show-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.show-row:nth-child(even) .shot { order: 2; }
.shot { position: relative; justify-self: center; width: 100%; max-width: 400px; perspective: 1400px; }
.shot::before { content: ""; position: absolute; inset: 6% -16% -4% -16%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(148,117,255,.3), transparent 72%); }
.shot img { position: relative; z-index: 1; width: 100%; border-radius: 32px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(160,200,255,.2);
  transform: rotateY(var(--py, -10deg)) rotateX(var(--px, 3deg)); transition: transform .6s var(--ease); }
.show-copy h3 { font-size: clamp(26px, 3.2vw, 36px); }
.show-copy > p { color: var(--ink-2); margin-top: 12px; font-size: 17px; }
.cap { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.cap li { background: var(--glass); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--sh-1); font-size: 15.5px; color: var(--ink-2); }
.cap b { color: #fff; }
@media (max-width: 900px) { .show-row, .show-row:nth-child(even) { grid-template-columns: 1fr; gap: 34px; } .show-row:nth-child(even) .shot { order: 0; } .showcase { gap: 80px; } }

/* ------------------------------- تم‌ها (تعاملی) ----------------------------- */
.themes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.themes .hero-stage { min-height: 560px; }
.theme-copy h2 { font-size: clamp(28px, 4vw, 44px); }
.theme-copy p { color: #aac2ea; margin-top: 14px; font-size: 17.5px; max-width: 40ch; }
.tpick { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.tpick button { font: inherit; font-weight: 700; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); transition: background .25s, transform .25s var(--ease), border-color .25s; }
.tpick button:hover { transform: translateY(-3px); }
.tpick button[aria-pressed="true"] { background: rgba(32,221,245,.16); border-color: var(--cyan); }
.tpick i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.tpick .t-blue i { background: linear-gradient(135deg, #3ea1ff, #101f3c); }
.tpick .t-light i { background: linear-gradient(135deg, #fff, #9ff6ff); }
.tpick .t-dark i { background: linear-gradient(135deg, #3b3f4d, #05060c); }
.theme-note { margin-top: 18px; color: #8fa9d8; font-size: 14.5px; }
.themes .dev-screen img { transition: opacity .25s; }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr; gap: 20px; } .theme-copy { order: -1; } }

/* ------------------------------ اعتماد، دانلود ------------------------------ */
.trust { align-items: start; }
.download-card { background: linear-gradient(150deg, #14285a, #0e1c40 55%, var(--night)); border: 1px solid var(--glass-line); border-radius: 34px; box-shadow: 0 60px 90px -40px rgba(4,13,38,.8); }
.download-card .btn-primary { color: #04122a; }
.download-card .btn-primary:hover { color: #020a1a; background: linear-gradient(135deg, #8af3ff, var(--violet)); }
.download-icon { border-radius: 26%; box-shadow: 0 30px 60px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); transform: perspective(800px) rotateY(var(--py, -14deg)) rotateX(var(--px, 6deg)); transition: transform .6s var(--ease); }
.feature, .step { display: none; }

/* ---------------------- صفحه‌های متنی (features و ...) ---------------------- */
.page-hero, .doc-hero { background: linear-gradient(170deg, #101f3c, var(--deep) 55%, var(--night)); color: #fff; }
.page-hero h1, .doc-hero h1 { color: #fff; }
.page-hero .eyebrow, .doc-hero .eyebrow { color: var(--cyan); background: rgba(32,221,245,.12); border-color: rgba(32,221,245,.3); }
.page-hero .updated, .doc-hero .updated, .page-hero p, .doc-hero p { color: #b9cdee; }
.shot-fig { margin: 22px 0 26px; display: flex; justify-content: center; }
.shot-fig img { width: min(340px, 100%); border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(6,28,74,.6), 0 0 0 1px rgba(10,42,107,.16); }

/* ------------------------------ ظاهر شدن اسکرول ------------------------------ */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } dialog.pop[open] { animation: none; } }
#features, .x-sec { overflow-x: clip; }

/* --- تنظیم‌های دقیق‌تر --- */
.site-header { background: rgba(4,13,38,.95); }
.x-hero h1 { font-size: clamp(34px, 4.7vw, 58px); }
.bcard { min-height: 400px; }
.bcard p { max-width: 20ch; }
.fan .dev { --w: 150px; }
.fan .dev + .dev { margin-inline-start: -30px; }
.fan.one .dev { --w: 240px; }
.fan.two .dev { --w: 185px; }
.pop-vis { overflow: hidden; }
@media (max-width: 860px) { .bcard { min-height: 380px; } .fan .dev { --w: 112px; } .fan.one .dev { --w: 160px; } .fan.two .dev { --w: 135px; } }

/* --- سطوح سفیدِ styles.css در تمِ تیره --- */
.step, .feature, .faq details, .contact-item, .trust-list li { background: var(--glass); border-color: var(--line); }
.prose, .callout { color: var(--ink-2); }
.prose h2, .prose h3 { color: #fff; }
.prose a, .faq-more a, .contact-item dd a { color: var(--cyan); }
.callout { background: rgba(32,221,245,.08); border-color: rgba(32,221,245,.3); }
.site-header .wrap { min-height: 68px; }
.skip-link { background: var(--cyan); color: #04122a; }
:focus-visible { outline: 3px solid rgba(32,221,245,.7); }
.livecard { position: absolute; z-index: 4; inset-inline-start: -2%; bottom: 8%; width: 300px; display: grid; gap: 10px; padding: 16px; border-radius: 24px;
  background: rgba(10,22,50,.78); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(32,221,245,.12); }
.livecard .bubble { align-self: start; }
@media (max-width: 960px) { .livecard { inset-inline-start: 2%; width: min(300px, 86%); bottom: 2%; } }
.site-header .btn-primary, .nav .btn-primary, .nav a.btn-primary { color: #04122a; }
.site-header .btn-primary:hover { color: #020a1a; }
.livecard { inset-inline-start: auto; inset-inline-end: -7%; bottom: 3%; width: 268px; min-height: 176px; align-content: start; }
@media (max-width: 960px) { .livecard { inset-inline-end: 2%; inset-inline-start: auto; } }

.prose, .faq { margin-inline: auto; }
.try .got b { color: var(--c2); }
.contact-item { background: var(--glass); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.contact-item dt { color: var(--muted); }
.contact-item dd, .contact-item.wide dd { color: #fff; }
.trust-copy p { color: var(--ink-2); }
.trust-list li { color: var(--ink-2); }
.trust-list b { color: #fff; }
.trust-list .ico { background: rgba(32,221,245,.12); color: var(--cyan); }
.download-note { color: #b9cdee; }
.download-card p, .download-card h2 { color: #fff; }
.download-card p { color: #c9dcf3; }

/* market */
.mkt{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.mkt-copy h2{margin:0 0 12px}
.mkt-list{list-style:none;margin:20px 0 12px;padding:0;display:grid;gap:8px}
.mkt-list li{display:grid;grid-template-columns:110px 1fr auto;gap:14px;align-items:center;padding:10px 16px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.mkt-list .mn{font-weight:700}
.mkt-list svg{width:100%;height:24px;color:var(--cyan)}
.mkt-list li:nth-child(5) svg{color:var(--violet)}
.mkt-list .mv{white-space:nowrap}.mkt-list small{opacity:.6}
.mkt-shot img{width:100%;height:auto;border-radius:24px;border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 80px -20px rgba(32,221,245,.3)}
@media(max-width:860px){.mkt{grid-template-columns:1fr;gap:28px}.mkt-list li{grid-template-columns:84px 1fr auto;gap:8px;padding:9px 12px}}

/* guide */
.gsteps{display:grid;gap:10px;max-width:820px;margin:0 auto}
.gstep{border-radius:18px;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.gstep summary{display:flex;align-items:center;gap:14px;padding:14px 18px;cursor:pointer;font-weight:700;list-style:none}
.gstep summary::-webkit-details-marker{display:none}
.gstep summary::after{content:"+";margin-inline-start:auto;font-size:22px;color:var(--cyan)}
.gstep[open] summary::after{content:"−"}
.gn{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(32,221,245,.15);color:var(--cyan)}
.gbody{display:flex;gap:20px;align-items:center;padding:4px 18px 18px}
.gbody p{flex:1;margin:0;line-height:1.9}
.gbody img{width:140px;height:auto;border-radius:16px;border:1px solid var(--line)}
.gstep:has(img[alt^="قیمت"]) .gbody{flex-wrap:wrap}.gstep img[alt^="قیمت"]{width:100%;max-width:380px}
@media(max-width:560px){.gbody{flex-direction:column}.gbody img{width:50%}}
/* zoom */
.zoomable{cursor:zoom-in}
dialog.zoomdlg{border:1px solid rgba(255,255,255,.16);border-radius:26px;background:rgba(7,17,38,.96);color:#eaf4ff;padding:22px;max-width:min(92vw,460px);max-height:94vh;overflow:auto;text-align:center;margin:auto}
dialog.zoomdlg::backdrop{background:rgba(3,8,20,.8);backdrop-filter:blur(6px)}
dialog.zoomdlg img{width:auto;max-width:100%;max-height:68vh;border-radius:18px;display:block;margin:0 auto 14px}
dialog.zoomdlg h3{margin:0 0 6px}dialog.zoomdlg p{margin:0;opacity:.85;line-height:1.9}
dialog.zoomdlg .pop-x{position:absolute;top:10px;inset-inline-start:10px;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font-size:22px;cursor:pointer}
