/* سایت معرفی رها — پالت همان پرتال: نیلی نشان، مرجانی تأکید، زمینه یاسی روشن */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/vazirmatn-arabic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/vazirmatn-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #121129;
  --indigo-900: #1C1B3D;
  --indigo-800: #2A2958;
  --indigo-700: #3F3E86;
  --indigo-500: #5352A0;
  --indigo-300: #A3A2D2;
  --indigo-soft: #ECECF8;
  --coral: #E8875A;
  --coral-deep: #D4703F;
  --coral-light: #F7C3A6;
  --cream: #F7F7FB;
  --paper: #FFFFFF;
  --ink: #1A1930;
  --muted: #5E5D78;
  --line: rgba(26, 25, 48, .09);
  --shadow-sm: 0 1px 2px rgba(18, 17, 41, .06), 0 6px 18px -10px rgba(18, 17, 41, .25);
  --shadow-lg: 0 2px 6px rgba(18, 17, 41, .06), 0 40px 80px -36px rgba(18, 17, 41, .45);
  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* height: auto تا ابعاد ذاتی (width/height برای جلوگیری از پرش چیدمان) با کوچک شدن عرض، تصویر را نکشد */
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

/* رنگ‌های نقش (همان module-colors پرتال) */
.t-teal { --tone: #1E7A70; --soft: #E0F2EF; }
.t-indigo { --tone: #48478D; --soft: #E9E9F6; }
.t-saffron { --tone: #B26A1E; --soft: #FBEEDD; }
.t-plum { --tone: #8A4C7E; --soft: #F5E8F2; }
.t-sky { --tone: #2C76AE; --soft: #E2EEF8; }
.t-olive { --tone: #3F7D55; --soft: #E3F1E7; }
.t-coral { --tone: #C2582A; --soft: #FCE9DF; }

/* ---------- اجزای پایه */
.mark {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(160deg, var(--indigo-500), var(--indigo-900));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.mark i {
  width: 62%; height: 62%; background: #fff;
  -webkit-mask: url('/assets/mark.png') center / contain no-repeat;
  mask: url('/assets/mark.png') center / contain no-repeat;
}
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 16px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 1rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.go { transform: translateX(-4px); }
.btn--coral { background: linear-gradient(180deg, #F0956A, var(--coral-deep)); color: #2E1408; box-shadow: 0 14px 30px -12px rgba(232, 135, 90, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { min-height: 42px; padding: 0 18px; border-radius: 13px; font-size: .92rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 800; letter-spacing: .02em; color: var(--indigo-500);
  padding: 5px 12px; border-radius: 999px; background: var(--indigo-soft);
}
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.on-dark .kicker { background: rgba(255, 255, 255, .1); color: var(--coral-light); }
h2.title { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.7rem); line-height: 1.35; margin: 14px 0 12px; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
p.sub { font-size: 1.08rem; color: var(--muted); margin: 0; max-width: 40em; text-wrap: pretty; }
.center { text-align: center; }
.center p.sub { margin-inline: auto; }

/* قاب مرورگر و گوشی برای تصاویر واقعی پرتال */
.frame {
  position: relative; border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 41, .08), var(--shadow-lg);
}
.frame__bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px;
  background: linear-gradient(#F4F4F9, #ECECF3); border-bottom: 1px solid var(--line);
  direction: ltr;
}
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E6646B; }
.frame__bar i:nth-child(2) { background: #EDB443; }
.frame__bar i:nth-child(3) { background: #5BBF6A; }
.frame__bar span {
  margin-inline: auto; padding: 2px 14px; border-radius: 8px; background: #fff; color: #7A7990;
  font: 600 .72rem/1.6 ui-monospace, Consolas, monospace; box-shadow: inset 0 0 0 1px var(--line);
}
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.frame--sheet img { aspect-ratio: 1000 / 1139; }
.zoom { cursor: zoom-in; }
.phone {
  position: relative; width: 100%; border-radius: 38px; padding: 9px; background: #0E0D20;
  box-shadow: 0 0 0 1.5px #2C2B4A, var(--shadow-lg);
}
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 30%; height: 18px; border-radius: 12px; background: #0E0D20; transform: translateX(-50%); z-index: 2; }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ---------- سربرگ */
header.top {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; color: #fff;
  transition: background .3s, box-shadow .3s;
}
header.top.is-solid {
  background: rgba(18, 17, 41, .8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
header.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand b { font-size: 1.35rem; font-weight: 900; display: block; line-height: 1.15; }
.brand small { font-size: .76rem; opacity: .7; }
nav.links { display: flex; gap: 6px; margin-inline-start: auto; }
nav.links a { padding: 8px 14px; border-radius: 12px; font-size: .94rem; font-weight: 600; color: rgba(255, 255, 255, .78); transition: color .2s, background .2s; }
nav.links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 900px) { nav.links { display: none; } header.top .btn { margin-inline-start: auto; } }

/* ---------- قهرمان */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: 150px 0 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(232, 135, 90, .28), transparent 60%),
    radial-gradient(700px 600px at 0% 30%, rgba(83, 82, 160, .55), transparent 65%),
    linear-gradient(180deg, var(--night) 0%, var(--indigo-900) 55%, var(--indigo-800) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.2'%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3Cpath d='M36 24 48 36 36 48 24 36Z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 95%);
  mask: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero__glyph {
  position: absolute; z-index: -1; top: 110px; inset-inline-start: -60px; width: 340px; aspect-ratio: 246 / 344; opacity: .07;
  background: #fff; -webkit-mask: url('/assets/mark.png') center / contain no-repeat; mask: url('/assets/mark.png') center / contain no-repeat;
}
.hero__copy { text-align: center; max-width: 860px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600;
}
.pill b { padding: 2px 10px; border-radius: 999px; background: var(--coral); color: #2E1408; font-size: .78rem; }
.hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.5rem); line-height: 1.28; margin: 22px 0 18px; font-weight: 900; letter-spacing: -.03em; text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #FFD9C4, var(--coral) 55%, #F3A27C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); color: rgba(255, 255, 255, .78); margin: 0 auto 32px; max-width: 42em; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { margin-top: 18px; font-size: .86rem; color: rgba(255, 255, 255, .62); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__note span { display: inline-flex; gap: 6px; align-items: center; }
.hero__note svg { width: 16px; height: 16px; color: #8FD3A6; }

.stage { position: relative; margin-top: 64px; perspective: 2000px; }
.stage__screen {
  position: relative; z-index: 1; width: min(1060px, 100%); margin-inline: auto;
  transform: rotateX(14deg) scale(.96); transform-origin: 50% 100%;
  transition: transform 1.2s var(--ease);
  -webkit-mask: linear-gradient(180deg, #000 72%, transparent 100%);
  mask: linear-gradient(180deg, #000 72%, transparent 100%);
}
.stage.in .stage__screen { transform: rotateX(0) scale(1); }
.stage__phone {
  position: absolute; z-index: 2; bottom: 40px; inset-inline-start: max(0px, calc(50% - 600px)); width: clamp(150px, 17vw, 230px);
  transform: translateY(40px) rotate(-4deg); opacity: 0; transition: transform 1.1s .35s var(--ease), opacity 1.1s .35s;
}
.stage.in .stage__phone { transform: translateY(0) rotate(-4deg); opacity: 1; }
.toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 16px;
  border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-lg); font-size: .86rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.stage.in .toast { opacity: 1; transform: none; }
.toast b { display: block; font-size: .9rem; line-height: 1.5; }
.toast small { color: var(--muted); }
.ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--tone); background: var(--soft); }
.ic svg { width: 20px; height: 20px; }
.toast--a { top: 8%; inset-inline-end: max(0px, calc(50% - 640px)); transition-delay: .7s; animation: float 6s 2s ease-in-out infinite; }
.toast--b { top: 42%; inset-inline-end: max(8px, calc(50% - 600px)); transition-delay: 1s; animation: float 7s 2.5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
@media (max-width: 900px) { .toast, .stage__phone { display: none; } .stage__screen { transform: none; } }

/* ---------- شمارنده‌ها */
.numbers { position: relative; z-index: 2; margin-top: -10px; padding: 0 0 20px; }
.numbers .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
  border-radius: 26px; background: var(--line); box-shadow: var(--shadow-lg);
}
.num { background: var(--paper); padding: 26px 20px; text-align: center; }
.num b {
  display: block; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); font-weight: 900; line-height: 1.3; letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--indigo-700), var(--indigo-500)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num span { color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 760px) { .numbers .wrap { grid-template-columns: repeat(2, 1fr); } }

section.block { padding: 110px 0; }
section.block--tight-top { padding-top: 30px; }
section.block--paper { background: var(--paper); border-block: 1px solid var(--line); }
@media (max-width: 760px) { section.block { padding: 72px 0; } section.block--tight-top { padding-top: 20px; } }

/* ---------- تور ماژول‌ها */
.tour__tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 40px 0 32px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--paper); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .92rem; color: var(--muted);
  transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { transform: translateY(-2px); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--indigo-700); color: #fff; box-shadow: 0 12px 26px -14px rgba(63, 62, 134, .9); }
.tour__panel { display: grid; grid-template-columns: 1fr 1.65fr; gap: 44px; align-items: center; }
.tour__panel[hidden] { display: none; }
.tour__text h3 { font-size: 1.6rem; margin: 0 0 10px; font-weight: 900; letter-spacing: -.01em; }
.tour__text p { color: var(--muted); margin: 0 0 18px; }
.tour__panel .frame { animation: rise .6s var(--ease); }
.tour__text { animation: rise .6s .05s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) { .tour__panel { grid-template-columns: 1fr; } }

ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
ul.ticks li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px;
  background: var(--indigo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F3E86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.on-dark ul.ticks li::before {
  background-color: rgba(255, 255, 255, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7C3A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
}

/* ---------- بخش‌های عمیق */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature--gap { margin-top: 130px; }
.feature--flip .feature__media { order: -1; }
.feature__media { position: relative; }
@media (max-width: 960px) {
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 36px; }
  .feature--flip .feature__media { order: 0; }
  .feature--gap { margin-top: 90px; }
}
.feature h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.4; margin: 14px 0 12px; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
.feature p.desc { color: var(--muted); margin: 0 0 22px; font-size: 1.04rem; }
.overlay {
  position: absolute; width: 40%; inset-inline-start: -5%; bottom: -12%; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(18, 17, 41, .1), var(--shadow-lg);
}
@media (max-width: 960px) { .overlay { inset-inline-start: auto; inset-inline-end: -2%; } }
@media (max-width: 600px) { .overlay { position: static; width: 100%; margin-top: 16px; } }

/* ابر نوع فیلدها — دو نوار روان در دو جهت */
.marquee-stack { display: grid; gap: 10px; margin: 90px 0 0; }
.marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 10px; width: max-content; animation: slide 46s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: .88rem; font-weight: 700;
  background: var(--paper); box-shadow: var(--shadow-sm); direction: rtl; white-space: nowrap;
}
.chip i { width: 9px; height: 9px; border-radius: 3px; background: var(--tone); }

/* زنجیره جلسه ← مصوبه ← وظیفه */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 24px; }
.link { position: relative; padding: 14px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); font-size: .9rem; }
.link b { display: block; font-size: .98rem; margin: 8px 0 2px; }
.link span:not(.ic) { color: var(--muted); font-size: .82rem; }
.link .ic { width: 34px; height: 34px; border-radius: 11px; }
.link .ic svg { width: 19px; height: 19px; }
.link:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; inset-inline-end: -14px; width: 12px; height: 12px; z-index: 1; translate: 0 -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8875A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M15 5 8 12l7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } .link:not(:last-child)::after { display: none; } }
.duo { display: grid; grid-template-columns: .85fr 1.35fr; gap: 16px; align-items: end; }
@media (max-width: 600px) { .duo { grid-template-columns: 1fr; } }

/* مسیر هوشمند */
.routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.route { padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); }
.route b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.route b svg { width: 18px; height: 18px; color: var(--indigo-500); }
.route span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.7; margin-top: 2px; }
@media (max-width: 520px) { .routes { grid-template-columns: 1fr; } }

/* بخش تیره تفویض */
.dark {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(700px 400px at 100% 0%, rgba(232, 135, 90, .2), transparent 60%), linear-gradient(160deg, var(--indigo-800), var(--night));
}
.dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1.2'%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3C/g%3E%3C/svg%3E");
}
.dark .feature p.desc { color: rgba(255, 255, 255, .72); }
.persona { display: flex; align-items: center; gap: 10px; padding: 12px; min-width: 0; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.persona .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--indigo-500); flex: none; }
.persona .av.c { background: var(--coral); color: #2E1408; }
.persona b { display: block; font-size: .95rem; }
.persona small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; white-space: nowrap; }
.handoff { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 26px; }
.handoff .arrow { color: var(--coral-light); text-align: center; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.handoff .arrow svg { width: 34px; height: 34px; display: block; margin: 0 auto; color: var(--coral); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-6px); } }
@media (max-width: 520px) { .handoff { grid-template-columns: 1fr; } .handoff .arrow svg { transform: rotate(-90deg); animation: none; } }

/* ---------- بنتو */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.cell {
  position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius); background: var(--paper);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cell h4 { margin: 14px 0 6px; font-size: 1.08rem; font-weight: 800; }
.cell p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.cell .ic { width: 46px; height: 46px; border-radius: 14px; }
.cell .ic svg { width: 23px; height: 23px; }
.cell--wide { grid-column: span 2; }
.cell--tall { grid-row: span 2; }
.cell--hero { background: linear-gradient(160deg, var(--indigo-700), var(--indigo-900)); color: #fff; }
.cell--hero p { color: rgba(255, 255, 255, .72); }
.cell--hero .ic { background: rgba(255, 255, 255, .12); color: var(--coral-light); }
.cell--hero p { max-width: 56%; }
/* گوشی بیرون از جریان می‌نشیند تا ارتفاع ردیف‌ها را متن کارت‌های کوچک تعیین کند */
.cell .phone { position: absolute; width: 38%; inset-inline-end: 7%; top: 34%; transform: rotate(-6deg); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .cell--tall { min-height: 420px; } }
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; } .cell--wide { grid-column: auto; } .cell--tall { grid-row: auto; min-height: 460px; }
  .cell--hero p { max-width: none; } .cell .phone { width: 52%; top: auto; bottom: -32%; inset-inline-end: 24%; }
}

/* ---------- موبایل */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 820px; margin: 56px auto 0; align-items: end; }
.phones .phone:nth-child(2) { transform: translateY(-36px); }
.phones .phone.reveal.in:nth-child(2) { transform: translateY(-36px); }
@media (max-width: 640px) {
  .phones { gap: 10px; }
  .phones .phone { border-radius: 22px; padding: 5px; }
  .phones .phone img { border-radius: 18px; }
  .phones .phone::before { display: none; }
}

/* ---------- گردش */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; position: relative; }
.flow-steps::before {
  content: ''; position: absolute; top: 27px; inset-inline: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--indigo-300) 0 8px, transparent 8px 16px);
}
.fs { position: relative; text-align: center; padding: 0 14px; }
.fs .dot {
  position: relative; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--indigo-soft); color: var(--indigo-700); font-weight: 900; font-size: 1.2rem;
}
.fs:last-child .dot { background: var(--indigo-700); color: #fff; box-shadow: 0 14px 28px -14px rgba(63, 62, 134, .9); }
.fs h4 { margin: 0 0 6px; font-size: 1.08rem; }
.fs p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .flow-steps { grid-template-columns: 1fr 1fr; gap: 28px 0; } .flow-steps::before { display: none; } }

/* ---------- فراخوان نسخه نمایشی */
.demo {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; color: #fff; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: radial-gradient(600px 380px at 0% 100%, rgba(232, 135, 90, .38), transparent 65%), linear-gradient(160deg, var(--indigo-700), var(--night));
  box-shadow: var(--shadow-lg);
}
.demo::after {
  content: ''; position: absolute; z-index: -1; width: 260px; aspect-ratio: 246 / 344; inset-inline-end: -40px; bottom: -60px; opacity: .08;
  background: #fff; -webkit-mask: url('/assets/mark.png') center / contain no-repeat; mask: url('/assets/mark.png') center / contain no-repeat;
}
.demo h2 { margin: 12px 0 10px; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); font-weight: 900; line-height: 1.35; letter-spacing: -.02em; }
.demo p { margin: 0 0 26px; color: rgba(255, 255, 255, .76); }
.cred { display: grid; gap: 12px; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.cred div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cred span { color: rgba(255, 255, 255, .65); font-size: .88rem; }
.cred code { direction: ltr; font: 700 .98rem ui-monospace, Consolas, monospace; padding: 4px 12px; border-radius: 10px; background: rgba(0, 0, 0, .28); }
.cred small { color: rgba(255, 255, 255, .55); font-size: .8rem; line-height: 1.7; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }

/* ---------- تماس و سفارش */
.contact {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: 34px; background: var(--paper); box-shadow: var(--shadow-lg);
}
.contact .title { margin-top: 12px; }
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.channel:hover { transform: translateY(-3px); background: var(--paper); box-shadow: var(--shadow-lg); }
.channel__ic {
  display: grid; place-items: center; inline-size: 50px; block-size: 50px; flex: none; border-radius: 16px;
  color: #fff; background: var(--c); box-shadow: 0 10px 22px -12px var(--c);
}
.channel__ic svg { inline-size: 26px; block-size: 26px; }
.channel__ic--light { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px -14px rgba(66, 133, 244, .55); }
.channel__ic--light svg { inline-size: 28px; block-size: 28px; }
.channel b { display: block; font-size: 1.02rem; }
.channel small { color: var(--muted); font: 600 .9rem ui-monospace, Consolas, monospace; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- پرسش‌ها */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); padding: 0 22px; transition: box-shadow .3s; }
details[open] { box-shadow: var(--shadow-lg); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 800; font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; width: 30px; height: 30px; flex: none; border-radius: 10px;
  background: var(--indigo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F3E86' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); }

footer { padding: 40px 0 46px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 30px; }
footer .brand b { color: var(--ink); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a:hover { color: var(--ink); }

/* نمایش هنگام اسکرول */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* بزرگ‌نمایی تصویر */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1500px, 96vw); width: 100%; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(10, 9, 26, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; border-radius: 16px; box-shadow: var(--shadow-lg); }
dialog.lightbox.is-tall { max-width: min(520px, 92vw); }
dialog.lightbox button {
  position: absolute; top: 12px; inset-inline-start: 12px; width: 42px; height: 42px; border-radius: 13px; border: 0; cursor: pointer;
  background: rgba(18, 17, 41, .72); color: #fff; font-size: 1.4rem; line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .toast, .stage__phone { opacity: 1; transform: none; }
  .stage__screen { transform: none; }
}
