@font-face { font-family: 'Inter'; src: url('/fonts/inter-var.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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('/fonts/estedad-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #060a12; --bg2: #0a1120; --surface: #0c1424; --surface2: #101a2e;
  --line: rgba(148, 163, 184, .14); --line2: rgba(148, 163, 184, .26);
  --text: #e8eef9; --muted: #8e9bb4; --soft: #b5c0d6;
  --accent: #38bdf8; --blue: #3b82f6; --cyan: #22d3ee; --violet: #a78bfa; --amber: #fbbf24; --green: #34d399;
  --grad: linear-gradient(120deg, #38bdf8 0%, #818cf8 100%);
  --radius: 20px; --gutter: clamp(18px, 5vw, 64px); --maxw: 1200px; --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', 'Estedad', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.8; min-height: 100vh; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[dir="ltr"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(56, 189, 248, .3); }
.muted, .dim { color: var(--muted); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ============ سه‌بعدی ============ */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.bg-fallback { position: fixed; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 75% 20%, rgba(56, 189, 248, .14), transparent 70%), radial-gradient(50% 50% at 15% 80%, rgba(129, 140, 248, .12), transparent 70%), var(--bg); }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(6, 10, 18, .65), transparent 18%), linear-gradient(to top, rgba(6, 10, 18, .55), transparent 20%); }
main, .site-header, .site-footer, .rail { position: relative; z-index: 2; }
.no-webgl #scene { display: none; }

/* ============ هدر ============ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(6, 10, 18, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.bar { max-width: 1400px; margin-inline: auto; height: var(--header-h); padding-inline: var(--gutter); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.12rem; }
.brand .mark { width: 36px; height: 36px; filter: drop-shadow(0 0 14px rgba(56, 189, 248, .35)); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 10px; color: var(--soft); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav > a:hover, .menu-btn:hover, .has-menu.open .menu-btn { color: #fff; background: rgba(255, 255, 255, .06); }
.chev { width: 15px; height: 15px; transition: transform .25s; } .has-menu.open .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); inset-inline-start: -20px; width: 560px; padding: 14px; border-radius: 22px; background: rgba(9, 14, 26, .97); border: 1px solid var(--line2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-menu::after { content: ''; position: absolute; inset-inline: 0; top: 100%; height: 14px; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mm-item, .mini { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; }
.mm-item:hover:not(.is-soon), .mini:hover:not(.is-soon) { background: rgba(255, 255, 255, .06); }
.mm-item.is-soon { opacity: .6; cursor: default; }
.mm-ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.mm-txt { display: grid; line-height: 1.45; min-width: 0; flex: 1; } .mm-txt b { font-size: .95rem; font-weight: 700; } .mm-txt small { color: var(--muted); font-size: .78rem; }
.mm-item .badge { font-size: .68rem; padding: 0 9px; }
.mega-all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); font-weight: 600; font-size: .9rem; color: var(--soft); }
.mega-all:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { height: 38px; min-width: 46px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-weight: 700; font-size: .82rem; transition: border-color .2s, background .2s; }
.lang:hover { border-color: var(--cyan); background: rgba(56, 189, 248, .08); }
.burger { display: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; border: 1px solid var(--line2); }

/* ============ دکمه و نشان ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: .98rem; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); border-color: rgba(125, 211, 252, .6); background: rgba(255, 255, 255, .08); }
.btn.primary { background: var(--grad); color: #05101c; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(56, 189, 248, .75); }
.btn.primary:hover { box-shadow: 0 16px 40px -10px rgba(56, 189, 248, .9); }
.btn.sm { padding: 9px 18px; font-size: .88rem; border-radius: 10px; }
.btn.lg { padding: 16px 32px; font-size: 1.05rem; }
.btn.disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.arrow { width: 18px; height: 18px; transition: transform .25s; } html[dir="rtl"] .arrow { transform: scaleX(-1); }
a:hover > .arrow, .btn:hover .arrow, a:hover .arrow { transform: translateX(4px); } html[dir="rtl"] a:hover > .arrow, html[dir="rtl"] .btn:hover .arrow, html[dir="rtl"] a:hover .arrow { transform: scaleX(-1) translateX(4px); }
.badge { display: inline-block; padding: 1px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; border: 1px solid; line-height: 1.7; white-space: nowrap; }
.badge.ok { color: #6ee7b7; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); }
.badge.soon { color: #fcd34d; border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }
html[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }

/* ============ ایستگاه‌های سه‌بعدی ============ */
.station { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) var(--gutter) 70px; }
.copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.22; font-weight: 900; letter-spacing: -.01em; margin-bottom: 22px; }
html[dir="ltr"] .hero h1 { line-height: 1.1; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 540px; margin-bottom: 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: var(--soft); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.chips span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.scroll-hint { position: absolute; inset-inline-start: var(--gutter); bottom: 30px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; }
.scroll-hint i { width: 22px; height: 36px; border: 2px solid var(--line2); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; top: 6px; inset-inline-start: 50%; width: 3px; height: 8px; margin-inline-start: -1.5px; border-radius: 3px; background: var(--cyan); animation: wheel 1.7s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.panel { position: relative; max-width: 520px; padding: 36px 36px 38px; border-radius: 28px; background: linear-gradient(160deg, rgba(14, 22, 40, .78), rgba(8, 13, 24, .72)); border: 1px solid var(--line2); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.panel::before { content: ''; position: absolute; inset-inline: 36px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }
.panel .idx { direction: ltr; unicode-bidi: isolate; display: block; text-align: start; margin-bottom: 14px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .12em; font-feature-settings: 'tnum'; }
html[dir="rtl"] .panel .idx { text-align: right; }
.panel h2 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.4; font-weight: 800; margin-bottom: 14px; }
html[dir="ltr"] .panel h2 { line-height: 1.2; letter-spacing: -.015em; }
.panel p { color: var(--soft); font-size: 1.02rem; margin-bottom: 22px; }
.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: .98rem; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 8px; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.panel .btn.primary { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #818cf8)); box-shadow: 0 10px 30px -12px var(--accent); }

.rail { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 40; }
.rail { transition: opacity .3s; } .rail.hide { opacity: 0; pointer-events: none; }
.rail a { width: 9px; height: 9px; border-radius: 6px; background: rgba(148, 163, 184, .35); transition: height .3s var(--ease), background .3s; position: relative; }
.rail a.on { height: 30px; background: var(--accent, #38bdf8); box-shadow: 0 0 14px var(--accent, #38bdf8); }
.rail a:hover { background: #fff; }

/* ============ بخش‌های پایانی ============ */
.end { --accent: #38bdf8; position: relative; background: linear-gradient(to bottom, rgba(6, 10, 18, 0) 0, var(--bg) 220px); padding-top: 170px; }
.sec { padding-block: 100px; position: relative; }
.sec-head { max-width: 700px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.35; font-weight: 800; margin-bottom: 14px; }
html[dir="ltr"] .sec-head h2 { line-height: 1.15; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }

.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { position: relative; display: block; padding: 22px 22px 28px; border-radius: 24px; background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line); overflow: hidden; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, border-color .3s, box-shadow .3s; }
.card .glow { position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 50%, transparent); }
.card:hover .glow { opacity: 1; }
.product .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 20px 6px 8px; }
.product .tag { color: var(--muted); font-size: .85rem; }
.product h3 { font-size: 1.5rem; font-weight: 800; margin: 0 6px 8px; }
.product p { color: var(--muted); font-size: .98rem; margin: 0 6px 18px; max-width: 460px; }
.product .more { margin: 0 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.product.is-soon { opacity: .82; }
.art { position: relative; height: 170px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)); border: 1px solid var(--line); }
.art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(70% 90% at 50% 50%, #000, transparent); opacity: .7; }
.art .ico { position: absolute; inset-inline-end: 16px; top: 16px; width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--accent); background: rgba(6, 10, 18, .6); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); backdrop-filter: blur(8px); }
.art svg:not(.ico svg) { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); }
.art .ico svg { width: 100%; height: 100%; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.sol-grid, .pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); transition: border-color .3s, transform .3s var(--ease); }
.sol:hover { border-color: var(--line2); transform: translateY(-4px); }
.sol .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 20px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.sol h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; } .sol p { color: var(--muted); font-size: .97rem; }

.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.about .sec-head { margin-bottom: 0; }
.pr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.pr h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; } .pr p { color: var(--muted); font-size: .92rem; }
.pr::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }
.process { margin-top: 70px; }
.process > h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 26px; border-radius: 20px; border: 1px dashed var(--line2); counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -18px; inset-inline-start: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #05101c; font-weight: 900; box-shadow: 0 8px 20px -6px rgba(56, 189, 248, .6); }
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; } .step p { color: var(--muted); font-size: .95rem; }

.band { position: relative; overflow: hidden; padding: clamp(34px, 5vw, 64px); border-radius: 30px; background: radial-gradient(60% 120% at 100% 0%, rgba(56, 189, 248, .22), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(129, 140, 248, .2), transparent 60%), var(--surface); border: 1px solid var(--line2); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 8px; } .band p { color: var(--soft); max-width: 520px; }
.contact { padding-block: 40px 110px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.contact-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; } .contact-card p { color: var(--muted); }
#contact-list { display: grid; gap: 10px; }
#contact-list .row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
#contact-list .ri { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--cyan); background: rgba(34, 211, 238, .1); flex: none; }
#contact-list .k { color: var(--muted); min-width: 64px; font-size: .88rem; } #contact-list a { font-weight: 700; color: #fff; }

/* ============ فوتر ============ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
.f-brand p { color: var(--muted); font-size: .92rem; margin-top: 16px; max-width: 320px; }
.site-footer h4 { font-size: .9rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.site-footer li { margin-bottom: 10px; font-size: .92rem; color: var(--muted); }
.site-footer li a:hover { color: #fff; }
.site-footer li em { font-style: normal; font-size: .7rem; color: #fcd34d; margin-inline-start: 4px; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; } .to-top svg { width: 16px; height: 16px; } .to-top:hover { color: #fff; }

/* ============ ظاهر شدن با اسکرول ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; }

/* ============ صفحهٔ محصول ============ */
.p-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) var(--gutter) 70px; }
.p-hero .copy { max-width: 560px; }
.crumb { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 26px; } .crumb:hover { color: #fff; } .crumb svg { width: 16px; height: 16px; }
html[dir="rtl"] .crumb svg { transform: scaleX(-1); }
.p-hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 900; line-height: 1.1; margin-bottom: 16px; background: linear-gradient(120deg, #fff 10%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="ltr"] .p-hero h1 { letter-spacing: -.03em; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: .86rem; color: var(--soft); border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); } .pill svg { width: 16px; height: 16px; color: var(--accent); }
.p-body { position: relative; z-index: 3; background: var(--bg); }
.p-body::before { content: ''; position: absolute; inset-inline: 0; top: -160px; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px; border-radius: 22px; background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-5px); }
.feature .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 18px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); }
.feature h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; } .feature p { color: var(--muted); font-size: .96rem; }
.dl-box { display: grid; gap: 22px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface); }
.dl-box h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 6px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; } .dl-meta .k { margin-inline-end: 8px; opacity: .8; } .dl-meta [hidden] { display: none; }
.dl-meta #dl-hash { flex-basis: 100%; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 2px 22px; transition: border-color .2s; } .faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform .25s; } .faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.mini { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); } .mini.is-soon { opacity: .6; cursor: default; }
.p-hint { position: absolute; inset-inline: 0; bottom: 26px; text-align: center; color: var(--muted); font-size: .8rem; pointer-events: none; z-index: 2; }

/* ============ ریسپانسیو ============ */
@media (max-width: 1080px) {
  .grid-products, .contact-card, .about { grid-template-columns: 1fr; } .about { gap: 36px; }
  .sol-grid, .features, .steps { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bar { gap: 14px; } .burger { display: block; } .hide-sm { display: none; }
  .nav { position: absolute; inset: var(--header-h) 12px auto 12px; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px; background: rgba(8, 12, 22, .97); border: 1px solid var(--line2); max-height: calc(100vh - 100px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .menu-btn { padding: 13px 14px; width: 100%; justify-content: space-between; }
  .has-menu::after { display: none; }
  .mega { position: static; width: auto; padding: 4px 0 8px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; } .has-menu.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .station { align-items: flex-end; padding-bottom: 28px; }
  .hero { align-items: flex-end; } .scroll-hint, .rail { display: none; }
  .panel { max-width: none; width: 100%; padding: 26px 22px 28px; background: rgba(8, 12, 22, .82); } .panel .idx { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); } .chips { margin-top: 24px; }
  .p-hero { align-items: flex-end; padding-bottom: 36px; }
  .sol-grid, .features, .steps, .pr-list { grid-template-columns: 1fr; }
  .sec { padding-block: 70px; } .end { padding-top: 160px; }
  .art { height: 140px; }
}
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; gap: 28px; } .btn.lg { width: 100%; } .cta .btn { flex: 1 1 auto; } }
html[dir="ltr"] .hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
@media (max-width: 860px) {
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, var(--bg) 0, rgba(6, 10, 18, .96) 52%, rgba(6, 10, 18, .72) 68%, transparent 88%); pointer-events: none; }
  .hero .copy { position: relative; z-index: 1; }
  .p-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(6, 10, 18, .92) 0, rgba(6, 10, 18, .7) 45%, transparent 75%); pointer-events: none; }
  .p-hero .copy { position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .scroll-hint i::after, .art i { animation: none; } }
