/* ============================================================
   هوش بازار — استایل اصلی
   پالت: لاجورد (lapis) + فیروزه (turquoise) + زعفران (saffron) روی کاغذ عاجی
   فونت نمایشی: استعداد — فونت متن: وزیرمتن
   ============================================================ */
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-VF.woff2') format('woff2-variations'), url('../fonts/Estedad-VF.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-VF.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-VF.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --font-display: 'Estedad', 'Vazirmatn', system-ui, sans-serif;
  --font-body: 'Vazirmatn', 'Estedad', system-ui, sans-serif;

  --ivory: #FAF8F3;
  --paper: #FFFFFF;
  --line: #E8E4DA;
  --line-2: #D8D2C3;
  --ink: #0E1430;
  --text: #1B2242;
  --muted: #5F6886;
  --faint: #8D95AF;

  --lapis: #13215C;
  --lapis-2: #1C3184;
  --lapis-deep: #0A1140;
  --turq: #24CBD1;
  --turq-2: #129FA6;
  --turq-soft: #E3F7F7;
  --saffron: #F4B840;
  --saffron-2: #D9961B;
  --saffron-soft: #FDF3DD;
  --success: #1E9A5F;
  --success-soft: #E4F5EC;
  --danger: #D64545;

  --grad-brand: linear-gradient(135deg, #2BD6DB 0%, #2F6FF2 48%, #1B2C7E 100%);
  --grad-text: linear-gradient(90deg, #35E0E4, #7FB2FF);
  --grad-saffron: linear-gradient(135deg, #FFD37A 0%, #F4B840 45%, #E29C1F 100%);

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14,20,48,.05), 0 4px 14px rgba(14,20,48,.05);
  --shadow-md: 0 10px 32px rgba(14,20,48,.10);
  --shadow-lg: 0 28px 70px rgba(14,20,48,.20);
  --container: 1200px;
  --nav-h: 76px;

  --girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M42 20 L64 42 L42 64 L20 42 Z'/%3E%3Cpath d='M26.5 26.5 h31 v31 h-31 Z'/%3E%3Cpath d='M42 0 V12 M42 72 V84 M0 42 H12 M72 42 H84'/%3E%3C/g%3E%3Ccircle cx='42' cy='42' r='1.6' fill='%23ffffff'/%3E%3C/svg%3E");
  --girih-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%2313215C' stroke-width='1'%3E%3Cpath d='M42 20 L64 42 L42 64 L20 42 Z'/%3E%3Cpath d='M26.5 26.5 h31 v31 h-31 Z'/%3E%3Cpath d='M42 0 V12 M42 72 V84 M0 42 H12 M72 42 H84'/%3E%3C/g%3E%3Ccircle cx='42' cy='42' r='1.6' fill='%2313215C'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.9;
  color: var(--text); background: var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--turq); color: var(--lapis-deep); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--turq-2); letter-spacing: .02em; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; height: 50px; border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s; white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { height: 58px; padding-inline: 30px; font-size: 1.08rem; border-radius: 16px; }
.btn-sm { height: 42px; padding-inline: 16px; font-size: .9rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--grad-saffron); color: #2A1B00; box-shadow: 0 10px 26px -8px rgba(244,184,64,.7), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(244,184,64,.85), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-accent::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-130%); transition: transform .7s; z-index: -1; }
.btn-accent:hover::after { transform: translateX(130%); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(47,111,242,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47,111,242,.9); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-outline { background: var(--paper); color: var(--lapis); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--lapis); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-soft { background: var(--turq-soft); color: var(--turq-2); }
.btn-soft:hover { background: #d3f2f2; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.on-dark { background: rgba(10,17,64,.55); color: #fff; }
.nav.on-light, .nav.scrolled { background: rgba(250,248,243,.85); color: var(--text); border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(14,20,48,.25); }
.nav.on-dark.scrolled { background: rgba(10,17,64,.85); color: #fff; border-bottom-color: rgba(255,255,255,.08); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 14px rgba(43,214,219,.35)); }
.brand small { display: block; font-size: .68rem; font-weight: 500; opacity: .7; margin-top: -4px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 8px; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; opacity: .85; transition: background .2s, opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; background: rgba(127,140,190,.14); }
.nav.on-dark .nav-links a:hover, .nav.on-dark .nav-links a[aria-current="page"] { background: rgba(255,255,255,.1); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav-phone svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10,17,64,.5); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88%, 360px); background: var(--paper); padding: 22px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { padding: 14px 12px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; }
.drawer-panel a:hover { background: var(--ivory); }
.drawer-close { align-self: flex-end; width: 42px; height: 42px; border-radius: 12px; background: var(--ivory); font-size: 1.4rem; margin-bottom: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, rgba(43,214,219,.22), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(47,111,242,.28), transparent 60%), linear-gradient(180deg, #0A1140 0%, #10205F 60%, #0D1848 100%); margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + 56px); padding-bottom: 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: var(--girih); background-size: 84px 84px; opacity: .07; z-index: -1; mask-image: radial-gradient(70% 80% at 50% 40%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000 20%, transparent 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(180deg, transparent, rgba(6,10,40,.5)); z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .55; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow.a { background: #2BD6DB; top: -160px; inset-inline-end: 8%; }
.hero-glow.b { background: #3B6DF5; bottom: -200px; inset-inline-start: -80px; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .line { display: block; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 30px; }
.hero-lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.82); font-size: .92rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips svg { width: 18px; height: 18px; color: var(--turq); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .86rem; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 4px rgba(36,203,209,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(36,203,209,.25);} 50% { box-shadow: 0 0 0 8px rgba(36,203,209,.08);} }

/* Mosaic of brand logos */
.mosaic { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 104px; gap: 14px; padding: 8px; perspective: 1200px; }
.tile { position: relative; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 40px -22px rgba(0,0,0,.6); backdrop-filter: blur(10px); color: #fff; animation: float 7s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); transition: transform .4s, border-color .3s; }
.tile svg { width: 44%; height: 44%; }
.tile:hover { border-color: rgba(43,214,219,.7); transform: translateY(-6px) scale(1.03); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.big svg { width: 38%; height: 38%; }
.tile.wide { grid-column: span 2; }
.tile.sf { background: linear-gradient(160deg, rgba(244,184,64,.35), rgba(244,184,64,.08)); border-color: rgba(244,184,64,.5); }
.tile.tq { background: linear-gradient(160deg, rgba(43,214,219,.35), rgba(43,214,219,.06)); border-color: rgba(43,214,219,.5); }
.tile.label { flex-direction: column; text-align: center; padding: 14px; }
.tile.label strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.tile.label span { font-size: .8rem; opacity: .75; }
.tile .plus { position: absolute; top: 10px; inset-inline-end: 12px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: 2px 8px; border-radius: 999px; background: var(--saffron); color: #2A1B00; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Entrance animations */
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.pop { opacity: 0; transform: scale(.85) translateY(10px); animation: pop .8s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(300ms + var(--i, 0) * 70ms); }
@keyframes pop { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
.ticker { position: relative; background: var(--lapis-deep); color: rgba(255,255,255,.75); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 16px 0; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--lapis-deep), transparent); }
.ticker::after { inset-inline-end: 0; background: linear-gradient(-90deg, var(--lapis-deep), transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 40s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.ticker-item svg { width: 22px; height: 22px; }
@keyframes ticker { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head .more { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--turq-2); font-weight: 600; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }

/* Category tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .25s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { border-color: var(--lapis); color: var(--lapis); }
.tab.active { background: var(--lapis); border-color: var(--lapis); color: #fff; box-shadow: 0 10px 22px -12px rgba(19,33,92,.7); }
.tab .count { font-size: .78rem; opacity: .7; }

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; isolation: isolate; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; z-index: -1; }
.card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -90px; top: -110px; background: var(--c, var(--turq)); opacity: 0; filter: blur(60px); transition: opacity .4s; z-index: -1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: .18; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo-tile { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, #13215C) 10%, white); color: var(--c, #13215C); border: 1px solid color-mix(in srgb, var(--c, #13215C) 18%, white); }
.logo-tile svg { width: 32px; height: 32px; }
.logo-tile.lg { width: 84px; height: 84px; border-radius: 24px; }
.logo-tile.lg svg { width: 44px; height: 44px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .74rem; line-height: 1.7; }
.badge-hot { background: var(--saffron-soft); color: #8A5A05; }
.badge-fast { background: var(--turq-soft); color: var(--turq-2); }
.badge-own { background: #EEF1FA; color: var(--lapis-2); }
.badge-ok { background: var(--success-soft); color: var(--success); }
.card h3 { margin: 0; font-size: 1.15rem; }
.card h3 small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--faint); }
.card .tagline { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.7; min-height: 3.4em; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: .82rem; }
.card-meta svg { width: 16px; height: 16px; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price-from { display: flex; flex-direction: column; line-height: 1.3; }
.price-from small { font-size: .74rem; color: var(--faint); }
.price-from b { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); font-weight: 800; }
.price-from b i { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 500; margin-inline-start: 3px; }
.card .btn { padding-inline: 14px; }

/* Categories bento */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { position: relative; padding: 22px 18px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--turq); }
.cat .ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(47,111,242,.8); }
.cat .ico svg { width: 26px; height: 26px; }
.cat h3 { font-size: 1rem; margin-bottom: 2px; }
.cat p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.6; }
.cat .n { position: absolute; top: 12px; inset-inline-start: 14px; font-family: var(--font-display); font-size: .76rem; color: var(--faint); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; }
.step::before { counter-increment: step; content: counter(step, persian); position: absolute; top: -16px; inset-inline-start: 22px; width: 36px; height: 36px; border-radius: 12px; background: var(--lapis); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; box-shadow: 0 8px 16px -8px rgba(19,33,92,.8); }
.step .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--turq-soft); color: var(--turq-2); display: grid; place-items: center; margin-bottom: 14px; }
.step .ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Features (dark band) */
.features-band { position: relative; background: linear-gradient(180deg, #0F1D5A, #0A1140); color: #fff; overflow: hidden; }
.features-band::before { content: ''; position: absolute; inset: 0; background-image: var(--girih); background-size: 84px 84px; opacity: .05; }
.features-band .section-head h2, .features-band .section-head p { color: #fff; }
.features-band .section-head p { color: rgba(255,255,255,.7); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.feature { padding: 26px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .3s; }
.feature:hover { background: rgba(255,255,255,.08); border-color: rgba(43,214,219,.5); transform: translateY(-3px); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(43,214,219,.15); color: var(--turq); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { color: #fff; font-size: 1.05rem; }
.feature p { color: rgba(255,255,255,.7); font-size: .93rem; margin: 0; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(135deg, rgba(244,184,64,.16), rgba(255,255,255,.04)); border-color: rgba(244,184,64,.35); }
.formula { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 14px 18px; border-radius: 14px; background: rgba(10,17,64,.5); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.formula em { font-style: normal; color: var(--saffron); }

/* Rate strip */
.rate-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rate-strip .lbl { display: flex; align-items: center; gap: 12px; }
.rate-strip .lbl .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--saffron-soft); color: var(--saffron-2); display: grid; place-items: center; }
.rate-strip .lbl .ico svg { width: 22px; height: 22px; }
.rate-strip .lbl b { display: block; font-family: var(--font-display); }
.rate-strip .lbl span { font-size: .84rem; color: var(--muted); }
.rate-strip .val { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.rate-strip .val i { font-style: normal; font-size: .85rem; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--turq); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313215C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--turq-soft); }
.faq .ans { padding: 0 0 20px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 56px 48px; background: var(--grad-brand); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: var(--girih); background-size: 84px 84px; opacity: .1; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Footer */
.footer { position: relative; background: var(--lapis-deep); color: rgba(255,255,255,.75); padding: 72px 0 28px; margin-top: 40px; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; background-image: var(--girih); background-size: 84px 84px; opacity: .04; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: .92rem; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { opacity: .8; font-size: .94rem; transition: opacity .2s, color .2s; }
.footer ul a:hover { opacity: 1; color: var(--turq); }
.footer .contact li { display: flex; align-items: center; gap: 10px; }
.footer .contact svg { width: 18px; height: 18px; color: var(--turq); flex: none; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; opacity: .7; }
.trust { display: flex; gap: 10px; }
.trust span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.2); font-size: .7rem; text-align: center; line-height: 1.4; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.social a:hover { background: rgba(43,214,219,.25); }
.social svg { width: 20px; height: 20px; }

/* Toast */
.toast { position: fixed; bottom: 22px; inset-inline-start: 50%; transform: translate(50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-bottom: 64px; }
  .mosaic { grid-auto-rows: 84px; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-band .acts { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 60px 0; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 16px; border-radius: 20px; }
  .card .tagline { display: none; }
  .card .btn { height: 40px; padding-inline: 12px; font-size: .86rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .formula { white-space: normal; font-size: .95rem; }
  .mosaic { grid-auto-rows: 72px; gap: 10px; }
  .tile { border-radius: 16px; }
  .hero-cta .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .rate-strip { padding: 16px; }
  .nav-end .btn { height: 42px; padding-inline: 14px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rise, .pop, .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo helpers (mono via mask, colour via img) ---------- */
.lg { display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
.logo-tile img, .tile img { width: 55%; height: 55%; object-fit: contain; }
.logo-tile .lg { width: 54%; height: 54%; }
.tile .lg { width: 44%; height: 44%; }
.tile.big .lg { width: 38%; height: 38%; }
.ticker-item .lg { width: 22px; height: 22px; flex: none; }
@media (max-width: 1180px) { .nav-phone { display: none; } .nav-inner { gap: 18px; } }
.logo-tile.xl .lg { width: 52%; height: 52%; }
.logo-tile.xl img { width: 56%; height: 56%; }
@media (max-width: 640px) {
  .brand small { display: none; }
  .brand { font-size: 1.22rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-badge { font-size: .8rem; }
}

/* ---------- افزوده‌های نسخهٔ پیش‌رندر (SEO) ---------- */
html.no-js .reveal, html.no-js .rise, html.no-js .pop { opacity: 1; transform: none; animation: none; }
ol.steps { list-style: none; margin: 0; padding: 0; }
.tile .big-mark { width: 56px; height: 56px; margin-bottom: 6px; }
a.tab { text-decoration: none; }
.p-summary { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.8; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-inline-start: 4px solid var(--saffron); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.plans-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.plans-table caption { caption-side: top; text-align: start; padding: 14px 18px 6px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.plans-table th, .plans-table td { padding: 11px 16px; text-align: start; border-top: 1px solid var(--line); }
.plans-table th { background: var(--ivory); font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--muted); }
.plans-table tbody tr:hover { background: var(--turq-soft); }
.prose ol { padding-inline-start: 20px; }
.prose .updated { font-size: .82rem; color: var(--faint); margin-top: 20px; }
.prose a { color: var(--turq-2); font-weight: 600; }
.crumbs li[aria-current] { color: var(--muted); }
