/* ==========================================================================
   Prime Marketplace — Landing
   تم سرمه‌ای · نوشتار طلایی و سفید · فونت کلمه (محلی، بدون وابستگی خارجی)
   ========================================================================== */

@font-face { font-family: 'Kalameh'; src: url('../fonts/KalamehWeb-Regular.woff2') format('woff2'); font-weight: 100 450; font-display: swap; }
@font-face { font-family: 'Kalameh'; src: url('../fonts/KalamehWeb-Medium.woff2') format('woff2'); font-weight: 451 599; font-display: swap; }
@font-face { font-family: 'Kalameh'; src: url('../fonts/KalamehWeb-Bold.woff2') format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('../fonts/PeydaWebFaNum-SemiBold.woff2') format('woff2'); font-weight: 100 650; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('../fonts/PeydaWebFaNum-Black.woff2') format('woff2'); font-weight: 651 900; font-display: swap; }

:root {
    --navy-950: #060C1C;
    --navy-900: #0A1328;
    --navy-850: #0D1832;
    --navy-800: #111F40;
    --navy-700: #182A55;
    --navy-600: #22386C;
    --line: rgba(226, 196, 120, .16);
    --line-soft: rgba(255, 255, 255, .07);
    --gold-100: #F8EBC4;
    --gold-200: #EED596;
    --gold-300: #E2C278;
    --gold-400: #CFA555;
    --gold-500: #B88B3A;
    --gold-grad: linear-gradient(135deg, #F6E3A8 0%, #E2C278 38%, #C49A48 72%, #F0D78E 100%);
    --white: #FFFFFF;
    --text: #EEF1F8;
    --muted: #A9B4CE;
    --dim: #7D89A6;
    --radius: 20px;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
    --wrap: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Kalameh', Tahoma, sans-serif;
    font-weight: 400;
    background: var(--navy-900);
    color: var(--text);
    line-height: 1.95;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.num { font-family: 'Peyda', 'Kalameh', sans-serif; }

/* ---------- typography ---------- */
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
    color: var(--gold-200);
    padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(226, 194, 120, .06);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 12px var(--gold-300); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; font-weight: 800; color: var(--white); margin: 18px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px; border-radius: 14px;
    font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 14px 34px -12px rgba(226, 194, 120, .6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(226, 194, 120, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--white); border: 1px solid rgba(255, 255, 255, .16); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-100); }

/* ---------- logo slot ---------- */
.logo-slot {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 148px; height: 48px; padding: 0 16px;
    border: 1.5px dashed rgba(226, 194, 120, .55); border-radius: 12px;
    color: var(--gold-200); font-size: 13px; font-weight: 600;
    background: rgba(226, 194, 120, .05);
}
.logo-slot img { max-height: 40px; width: auto; }
.logo-slot:has(img) { border: 0; background: none; padding: 0; min-width: 0; }

/* ---------- header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 19, 40, .78);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.site-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.site-nav a { font-size: 14.5px; color: var(--muted); font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.site-nav a:hover { color: var(--gold-100); }
.site-nav a.hot { color: var(--gold-200); font-weight: 700; }
.site-nav a.hot::after { content: 'ویژه'; position: absolute; top: -10px; left: -26px; font-size: 10px; padding: 0 6px; line-height: 18px; border-radius: 6px; background: var(--gold-grad); color: var(--navy-900); }
.site-head .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold-200); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 40px; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
    background:
        radial-gradient(600px 380px at 78% 18%, rgba(226, 194, 120, .16), transparent 70%),
        radial-gradient(700px 500px at 12% 0%, rgba(56, 92, 180, .35), transparent 70%);
}
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.35; font-weight: 900; color: var(--white); margin: 22px 0 20px; }
.hero h1 .gold { display: inline-block; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 760px; margin: 0 auto 34px; }
.hero-lead b { color: var(--gold-100); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges svg { width: 17px; height: 17px; color: var(--gold-300); }

.hero-shot { position: relative; margin: 64px auto 0; max-width: 1120px; }
.hero-shot .frame { transform: perspective(1800px) rotateX(8deg); transform-origin: 50% 0; }
.float-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: 16px;
    background: rgba(13, 24, 50, .9); border: 1px solid var(--line);
    box-shadow: var(--shadow); backdrop-filter: blur(10px);
    font-size: 13.5px; color: var(--text); animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card b { display: block; color: var(--gold-100); font-size: 14.5px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.fc-1 { top: 18%; right: -34px; }
.fc-2 { bottom: 16%; left: -34px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- browser frame ---------- */
.frame {
    border-radius: 16px; overflow: hidden; background: var(--navy-800);
    border: 1px solid rgba(226, 194, 120, .22);
    box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .02), 0 0 90px -30px rgba(226, 194, 120, .35);
}
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0B1530; border-bottom: 1px solid var(--line-soft); direction: ltr; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A63; }
.frame-bar i:nth-child(1) { background: #E4686A; } .frame-bar i:nth-child(2) { background: #E6BF5A; } .frame-bar i:nth-child(3) { background: #5BC57D; }
.frame-bar em { margin-inline: auto; font-style: normal; font-size: 11.5px; color: var(--dim); background: rgba(255,255,255,.04); padding: 2px 14px; border-radius: 6px; }
.frame img { width: 100%; cursor: zoom-in; }

/* ---------- logos / proof strip ---------- */
.strip { padding: 34px 0; border-block: 1px solid var(--line-soft); background: var(--navy-950); }
.strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.strip .v { font-family: 'Peyda'; font-weight: 900; font-size: 32px; line-height: 1.3; }
.strip .l { color: var(--muted); font-size: 13.5px; }

/* ---------- sections ---------- */
section.sec { padding: 110px 0; position: relative; }
.sec.alt { background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); }

/* ---------- MOADIAN (featured) ---------- */
.moadian { padding: 120px 0; position: relative; background: radial-gradient(900px 500px at 50% 0%, rgba(226, 194, 120, .14), transparent 70%), var(--navy-950); }
.moadian-box {
    position: relative; border-radius: 30px; padding: 64px 56px;
    background: linear-gradient(180deg, rgba(24, 42, 85, .75), rgba(13, 24, 50, .92));
    border: 1.5px solid transparent;
    background-clip: padding-box;
}
.moadian-box::before {
    content: ''; position: absolute; inset: -1.5px; border-radius: 31px; z-index: -1;
    background: var(--gold-grad);
}
.moadian-ribbon {
    position: absolute; top: -18px; right: 50%; transform: translateX(50%);
    background: var(--gold-grad); color: var(--navy-900); font-weight: 800; font-size: 14.5px;
    padding: 8px 26px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(226, 194, 120, .7); white-space: nowrap;
}
.moadian h2 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.35; font-weight: 900; text-align: center; color: var(--white); margin-bottom: 18px; }
.moadian h2 .gold { display: inline-block; }
.moadian .lead { text-align: center; font-size: clamp(16px, 1.7vw, 20px); color: var(--text); max-width: 860px; margin: 0 auto 14px; }
.moadian .lead strong { color: var(--gold-100); font-weight: 800; }
.moadian .sub { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 46px; }

.m-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 56px; counter-reset: st; }
.m-flow li {
    list-style: none; position: relative; text-align: center; padding: 22px 14px 18px;
    border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
    font-size: 14px; color: var(--muted);
}
.m-flow li::before {
    counter-increment: st; content: counter(st, persian);
    display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px;
    border-radius: 50%; background: var(--gold-grad); color: var(--navy-900); font-family: 'Peyda'; font-weight: 900; font-size: 17px;
}
.m-flow li b { display: block; color: var(--white); font-size: 15.5px; margin-bottom: 2px; }
.m-flow li:not(:last-child)::after {
    content: ''; position: absolute; top: 42px; left: -12px; width: 10px; height: 10px;
    border-top: 2px solid var(--gold-300); border-left: 2px solid var(--gold-300); transform: rotate(-45deg);
}

.m-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.m-feats { display: grid; gap: 14px; }
.m-feat { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(6, 12, 28, .45); border: 1px solid var(--line-soft); transition: border-color .2s, transform .2s; }
.m-feat:hover { border-color: var(--line); transform: translateX(-4px); }
.m-feat .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(226, 194, 120, .12); color: var(--gold-200); border: 1px solid var(--line); }
.m-feat .ic svg { width: 23px; height: 23px; }
.m-feat h4 { font-size: 16.5px; color: var(--white); font-weight: 700; margin-bottom: 2px; }
.m-feat h4 strong { color: var(--gold-200); }
.m-feat p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.m-shots { display: grid; gap: 18px; position: sticky; top: 100px; }
.m-shots .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.m-shots figcaption { font-size: 12.5px; color: var(--dim); text-align: center; padding: 8px 0 2px; }

.m-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.m-mode { padding: 22px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.025); }
.m-mode.rec { border-color: var(--gold-300); background: rgba(226, 194, 120, .07); }
.m-mode .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--navy-900); background: var(--gold-grad); border-radius: 6px; padding: 0 8px; margin-bottom: 8px; }
.m-mode h5 { font-size: 16px; color: var(--white); margin-bottom: 4px; }
.m-mode p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.m-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--dim); }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
    position: relative; padding: 30px 28px; border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(24, 42, 85, .55), rgba(17, 31, 64, .35));
    border: 1px solid var(--line-soft); overflow: hidden; transition: transform .25s, border-color .25s;
}
.feat::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(226,194,120,.12), transparent 70%); transition: opacity .3s; opacity: 0; }
.feat:hover { transform: translateY(-6px); border-color: var(--line); }
.feat:hover::after { opacity: 1; }
.feat .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(226, 194, 120, .1); color: var(--gold-200); border: 1px solid var(--line); }
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; color: var(--white); font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }
.feat ul { margin-top: 12px; display: grid; gap: 4px; }
.feat li { list-style: none; font-size: 13.5px; color: var(--text); padding-inline-start: 20px; position: relative; }
.feat li::before { content: ''; position: absolute; right: 2px; top: 11px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-400); }

/* ---------- tour (tabs + gallery) ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.tour-tabs button {
    font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
    padding: 10px 20px; border-radius: 12px; color: var(--muted);
    background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); transition: all .2s;
}
.tour-tabs button:hover { color: var(--white); border-color: var(--line); }
.tour-tabs button[aria-selected="true"] { background: var(--gold-grad); color: var(--navy-900); border-color: transparent; }
.tour-pane { display: none; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.tour-pane.on { display: grid; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tour-copy h3 { font-size: 28px; color: var(--white); font-weight: 800; margin-bottom: 12px; line-height: 1.5; }
.tour-copy > p { color: var(--muted); margin-bottom: 18px; }
.checks { display: grid; gap: 9px; }
.checks li { list-style: none; display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.checks li svg { flex: none; width: 20px; height: 20px; margin-top: 5px; color: var(--gold-300); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.thumbs img { border-radius: 10px; border: 1px solid var(--line-soft); cursor: zoom-in; transition: border-color .2s, transform .2s; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.thumbs img:hover { border-color: var(--gold-300); transform: translateY(-2px); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.rev .split-media { order: -1; }
.split h3 { font-size: clamp(24px, 2.6vw, 34px); color: var(--white); font-weight: 800; line-height: 1.5; margin: 14px 0 14px; }
.split p.lead { color: var(--muted); margin-bottom: 20px; }
.stack { position: relative; }
.stack .frame:nth-child(2) { position: absolute; width: 58%; bottom: -40px; left: -30px; }

/* ---------- mobile showcase ---------- */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.phone {
    width: 250px; padding: 10px; border-radius: 38px; background: #050A18;
    border: 1px solid rgba(226,194,120,.3); box-shadow: var(--shadow), 0 0 60px -25px rgba(226,194,120,.4);
}
.phone img { border-radius: 30px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; cursor: zoom-in; }
.phone.mid { width: 280px; transform: translateY(-24px); }
.phone-cap { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* ---------- tech ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech div { padding: 24px 22px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); }
.tech b { display: block; color: var(--gold-100); font-size: 16px; margin-bottom: 4px; }
.tech span { color: var(--muted); font-size: 13.5px; line-height: 1.9; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.chips span { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text); background: rgba(255,255,255,.03); }
.chips span.g { border-color: var(--line); color: var(--gold-100); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.025); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16px; color: var(--white); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-300); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15px; }

/* ---------- CTA ---------- */
.cta-box {
    position: relative; text-align: center; padding: 70px 30px; border-radius: 30px; overflow: hidden;
    background: radial-gradient(600px 300px at 50% 0%, rgba(226,194,120,.22), transparent 70%), linear-gradient(180deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--line);
}
.cta-box h2 { font-size: clamp(26px, 3.4vw, 42px); color: var(--white); font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.cta-box p { color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.contact-slots { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.contact-slots span { font-size: 14px; color: var(--gold-100); border: 1px dashed rgba(226,194,120,.45); padding: 8px 16px; border-radius: 12px; }

/* ---------- footer ---------- */
.site-foot { padding: 40px 0; border-top: 1px solid var(--line-soft); background: var(--navy-950); color: var(--dim); font-size: 13.5px; }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(4, 8, 20, .92); display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: min(1500px, 100%); max-height: 100%; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .m-grid, .tour-pane, .split { grid-template-columns: minmax(0, 1fr); }
    .m-shots { position: static; }
    .split.rev .split-media { order: 0; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .m-modes, .tech { grid-template-columns: repeat(2, 1fr); }
    .m-flow { grid-template-columns: repeat(3, 1fr); }
    .m-flow li:nth-child(3)::after { display: none; }
    .fc-1 { right: 10px; } .fc-2 { left: 10px; }
}
@media (max-width: 860px) {
    .site-nav { display: none; position: absolute; top: 78px; inset-inline: 0; flex-direction: column; gap: 0; padding: 10px 16px 18px; background: var(--navy-900); border-bottom: 1px solid var(--line); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
    .site-nav a.hot::after { left: auto; right: 150px; top: 14px; }
    .menu-btn { display: grid; margin-inline-start: auto; }
    .site-head .btn { display: none; }
    .strip .wrap { grid-template-columns: repeat(2, 1fr); }
    .strip .wrap div:last-child { grid-column: 1 / -1; }
    .float-card { display: none; }
    .hero-shot .frame { transform: none; }
    .stack .frame:nth-child(2) { position: static; width: 100%; margin-top: 16px; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    section.sec, .moadian { padding: 76px 0; }
    .moadian-box { padding: 48px 18px 30px; border-radius: 22px; }
    .moadian-box::before { border-radius: 23px; }
    .moadian-ribbon { font-size: 12.5px; padding: 6px 16px; }
    .feat-grid, .m-modes, .tech, .m-shots .row { grid-template-columns: minmax(0, 1fr); }
    .m-flow { grid-template-columns: repeat(2, 1fr); }
    .m-flow li::after { display: none; }
    .m-flow li:last-child { grid-column: 1 / -1; }
    .thumbs { grid-template-columns: repeat(2, 1fr); }
    .phone, .phone.mid { width: 78%; transform: none; }
    .hero { padding-top: 56px; }
    .btn { width: 100%; }
    .hero-cta { flex-direction: column; }
}

/* ==========================================================================
   جلوه‌های بصری و متحرک
   ========================================================================== */

/* نوار پیشرفت اسکرول */
.scroll-bar { position: fixed; top: 0; right: 0; height: 3px; width: 100%; z-index: 60; background: var(--gold-grad); transform-origin: right; transform: scaleX(0); }

/* درخشش طلایی متن */
.gold.shine { background-size: 220% auto; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -220% center; } }

/* گوی‌های نورانی هیرو */
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orbs i:nth-child(1) { width: 420px; height: 420px; background: #2C4C9E; top: -120px; right: 8%; animation: drift1 16s ease-in-out infinite; }
.orbs i:nth-child(2) { width: 340px; height: 340px; background: rgba(226, 194, 120, .45); top: 140px; left: 4%; animation: drift2 19s ease-in-out infinite; }
.orbs i:nth-child(3) { width: 260px; height: 260px; background: #3A2E7A; top: 420px; right: 30%; animation: drift1 22s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-80px, 60px) scale(1.1); } 66% { transform: translate(60px, 20px) scale(.92); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(90px, -50px) scale(1.15); } }

/* ذرات طلایی */
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particles span { position: absolute; bottom: -10px; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 10px var(--gold-300); opacity: 0; animation: rise var(--t, 12s) linear infinite; animation-delay: var(--d, 0s); left: var(--x, 50%); }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .5; } 100% { transform: translateY(-900px) translateX(var(--w, 30px)); opacity: 0; } }

/* کلمات چرخان */
.rot-line { display: flex; justify-content: center; align-items: center; gap: 10px; margin: -6px 0 24px; font-size: clamp(16px, 1.8vw, 21px); color: var(--muted); }
.rot { position: relative; display: inline-grid; min-width: 12ch; height: 1.9em; overflow: hidden; color: var(--gold-100); font-weight: 700; text-align: right; }
.rot b { grid-area: 1 / 1; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .55s; transform: translateY(110%); opacity: 0; white-space: nowrap; }
.rot b.on { transform: none; opacity: 1; }
.rot b.out { transform: translateY(-110%); opacity: 0; }
.rot::after { content: ''; position: absolute; inset: auto 0 2px 0; height: 2px; background: var(--gold-grad); border-radius: 2px; opacity: .6; }

/* نوار متحرک امکانات */
.marquee { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line-soft); background: var(--navy-950); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marq 55s linear infinite; direction: rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; color: var(--text); padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.025); }
.marquee-track span::before { content: '✦'; color: var(--gold-300); font-size: 11px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* انیمیشن ارسال صورتحساب */
.m-anim { position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 10px; max-width: 880px; margin: 0 auto 54px; padding: 26px; border-radius: 22px; background: rgba(6, 12, 28, .5); border: 1px solid var(--line); overflow: hidden; }
.m-doc { position: relative; justify-self: center; width: 150px; padding: 16px 14px; border-radius: 12px; background: #F8F5EC; color: #1A2340; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); animation: docPulse 6s ease-in-out infinite; }
.m-doc h6 { font-size: 12px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.m-doc i { display: block; height: 6px; border-radius: 4px; background: #D9D3C2; margin: 6px 0; }
.m-doc i:nth-child(3) { width: 70%; } .m-doc i:nth-child(5) { width: 55%; }
.m-doc .qr { position: absolute; left: 10px; bottom: 10px; width: 26px; height: 26px; border-radius: 4px; background:
    linear-gradient(90deg, #1A2340 30%, transparent 30% 70%, #1A2340 70%) 0 0 / 100% 30% no-repeat,
    linear-gradient(90deg, #1A2340 30%, transparent 30% 70%, #1A2340 70%) 0 100% / 100% 30% no-repeat,
    linear-gradient(#1A2340, #1A2340) 50% 50% / 30% 30% no-repeat; }
.m-doc .stamp { position: absolute; top: 34px; left: 50%; transform: translateX(-50%) rotate(-14deg) scale(.4); padding: 2px 10px; border: 2px solid #1D9A5B; color: #1D9A5B; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; animation: stamp 6s ease-in-out infinite; background: rgba(248,245,236,.85); }
@keyframes stamp { 0%, 72% { opacity: 0; transform: translateX(-50%) rotate(-14deg) scale(1.8); } 80%, 96% { opacity: 1; transform: translateX(-50%) rotate(-14deg) scale(1); } 100% { opacity: 0; } }
@keyframes docPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.m-wire { position: relative; height: 70px; }
.m-wire svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-wire .track { stroke: rgba(226,194,120,.25); stroke-width: 2; stroke-dasharray: 6 8; fill: none; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.m-packet { position: absolute; top: 50%; right: 0; width: 34px; height: 34px; margin-top: -17px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 0 24px rgba(226,194,120,.7); animation: fly 6s cubic-bezier(.6, 0, .4, 1) infinite; }
.m-packet svg { width: 18px; height: 18px; }
@keyframes fly { 0%, 18% { right: 0; opacity: 0; transform: scale(.6); } 24% { opacity: 1; transform: scale(1); } 62% { right: calc(100% - 34px); opacity: 1; transform: scale(1); } 68%, 100% { right: calc(100% - 34px); opacity: 0; transform: scale(.5); } }
.m-state { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 12.5px; font-weight: 700; padding: 3px 14px; border-radius: 999px; background: rgba(226,194,120,.12); border: 1px solid var(--line); color: var(--gold-100); white-space: nowrap; transition: opacity .3s; }
.m-target { justify-self: center; text-align: center; }
.m-target .ring { position: relative; width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(226,194,120,.22), rgba(226,194,120,.04) 70%); border: 1.5px solid var(--gold-300); color: var(--gold-100); }
.m-target .ring svg { width: 40px; height: 40px; }
.m-target .ring::before, .m-target .ring::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(226,194,120,.35); animation: ping 3s ease-out infinite; }
.m-target .ring::after { animation-delay: 1.5s; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.m-target b { display: block; color: var(--white); font-size: 15px; }
.m-target small { color: var(--dim); font-size: 12px; }
.m-target .ok { position: absolute; top: -4px; left: -4px; width: 28px; height: 28px; border-radius: 50%; background: #1D9A5B; color: #fff; display: grid; place-items: center; transform: scale(0); animation: okpop 6s ease-in-out infinite; }
.m-target .ok svg { width: 16px; height: 16px; }
@keyframes okpop { 0%, 66% { transform: scale(0); } 72%, 94% { transform: scale(1); } 100% { transform: scale(0); } }

/* خط پیشرفت مراحل */
.m-flow { position: relative; }
.m-flow::before { content: ''; position: absolute; top: 42px; right: 8%; left: 8%; height: 2px; background: rgba(226,194,120,.15); z-index: 0; }
.m-flow::after { content: ''; position: absolute; top: 42px; right: 8%; height: 2px; width: 0; background: var(--gold-grad); z-index: 0; box-shadow: 0 0 12px rgba(226,194,120,.6); transition: width 2.4s cubic-bezier(.4, 0, .2, 1); }
.m-flow.in::after { width: 84%; }
.m-flow li { z-index: 1; background: var(--navy-850); }
.m-flow li:not(:last-child)::after { display: none; }

/* هاله‌ی دنبال‌کننده‌ی ماوس روی کارت‌ها */
.feat, .m-feat, .tech > div { --mx: 50%; --my: 50%; }
.feat::before, .tech > div::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(226,194,120,.14), transparent 60%); }
.feat:hover::before, .tech > div:hover::before { opacity: 1; }
.tech > div { position: relative; overflow: hidden; }
.tech .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(226,194,120,.1); color: var(--gold-200); border: 1px solid var(--line); }
.tech .ic svg { width: 22px; height: 22px; }

/* آیکون متحرک کارت‌ها */
.feat .ic, .m-feat .ic { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.feat:hover .ic, .m-feat:hover .ic { transform: rotate(-8deg) scale(1.1); background: rgba(226,194,120,.2); }

/* تیلت سه‌بعدی تصاویر */
[data-tilt] { transition: transform .25s ease; transform-style: preserve-3d; will-change: transform; }
.frame { position: relative; }
.frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position .9s ease; }
.frame:hover::after { background-position: -20% 0; }

/* اسکن‌لاین هیرو */
.hero-shot .frame-scan { position: absolute; inset: 34px 0 0; pointer-events: none; overflow: hidden; border-radius: 0 0 16px 16px; }
.hero-shot .frame-scan::before { content: ''; position: absolute; inset-inline: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(226,194,120,.10), transparent); animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0% { top: -120px; } 60%, 100% { top: 110%; } }

/* شمارنده‌ها */
.strip .v { display: inline-block; min-width: 2ch; }
.strip .wrap > div { position: relative; }
.strip .wrap > div + div::before { content: ''; position: absolute; right: -9px; top: 20%; bottom: 20%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }

/* تاخیر پلکانی نمایش */
.rv { transition-delay: var(--d, 0s); }
.rv.zoom { transform: scale(.94); } .rv.zoom.in { transform: none; }
.rv.left { transform: translateX(-40px); } .rv.right { transform: translateX(40px); } .rv.left.in, .rv.right.in { transform: none; }

/* پیام پیش‌نمایش برای مدیر */
.admin-note { position: fixed; bottom: 16px; left: 16px; z-index: 70; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(6, 12, 28, .92); border: 1px solid var(--line); font-size: 13px; color: var(--text); box-shadow: var(--shadow); }
.admin-note a { color: var(--navy-900); background: var(--gold-grad); padding: 4px 12px; border-radius: 8px; font-weight: 700; }

/* خاموشی جلوه‌ها */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .orbs, .no-anim .particles, .no-anim .m-packet { display: none; }
.no-anim .rv { opacity: 1; transform: none; }
.no-anim .m-flow::after { width: 84%; }
.no-anim .m-target .ok, .no-anim .m-doc .stamp { transform: none; opacity: 1; }
.no-anim .m-doc .stamp { transform: translateX(-50%) rotate(-14deg); }
@media (prefers-reduced-motion: reduce) {
    .orbs, .particles { display: none; }
    .marquee-track, .gold.shine, .m-packet, .m-doc, .m-doc .stamp, .m-target .ok, .m-target .ring::before, .m-target .ring::after, .m-wire .track, .hero-shot .frame-scan::before { animation: none; }
    .m-flow::after { width: 84%; transition: none; }
}
@media (max-width: 860px) {
    .m-anim { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 22px 14px 30px; }
    .m-wire { height: 90px; width: 70px; justify-self: center; }
    .m-wire svg { transform: rotate(90deg); }
    .m-packet { animation-name: flyV; right: 50%; margin-right: -17px; top: 0; margin-top: 0; }
    @keyframes flyV { 0%, 18% { top: 0; opacity: 0; } 24% { opacity: 1; } 62% { top: calc(100% - 34px); opacity: 1; } 68%, 100% { top: calc(100% - 34px); opacity: 0; } }
    .m-state { bottom: auto; top: 50%; left: auto; right: 90px; transform: translateY(-50%); }
    .m-flow::before, .m-flow::after { display: none; }
    .strip .wrap > div + div::before { display: none; }
}
.stack .frame:nth-child(2) img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.split.rev .stack .frame:nth-child(2) { left: auto; right: -30px; }
@media (max-width: 860px) { .split.rev .stack .frame:nth-child(2) { right: auto; } }
