/* Shabnam: Persian. 400 body/labels, 500 buttons/nav, 700 headings/emphasis */
@font-face{font-family:"Shabnam";font-style:normal;font-weight:400;font-display:swap;src:url(https://cdnjs.cloudflare.com/ajax/libs/shabnam-font/5.0.1/Shabnam.woff2) format("woff2")}
@font-face{font-family:"Shabnam";font-style:normal;font-weight:500;font-display:swap;src:url(https://cdnjs.cloudflare.com/ajax/libs/shabnam-font/5.0.1/Shabnam-Medium.woff2) format("woff2")}
@font-face{font-family:"Shabnam";font-style:normal;font-weight:700;font-display:swap;src:url(https://cdnjs.cloudflare.com/ajax/libs/shabnam-font/5.0.1/Shabnam-Bold.woff2) format("woff2")}
/* Inter (variable): Latin letters, digits, % + / only, so Persian punctuation and spaces stay in Shabnam */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@5.0.16/latin-wght-normal.woff2) format("woff2");unicode-range:U+0030-0039,U+0041-005A,U+0061-007A,U+0025,U+002B,U+002F}
/* Inter Full: whole Latin set (incl. spaces/punctuation) for English sentences, stats, emails. ZWNJ (U+200C) is deliberately excluded. */
@font-face{font-family:"Inter Full";font-style:normal;font-weight:100 900;font-display:swap;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@5.0.16/latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2212,U+20AC,U+2122}
/* ---- Typography tokens ---- */
:root{
--font-fa:"Shabnam","Vazirmatn","Noto Sans Arabic","Segoe UI",Tahoma,system-ui,-apple-system,sans-serif;
--font-base:"Inter","Shabnam","Vazirmatn","Noto Sans Arabic","Segoe UI",Tahoma,system-ui,-apple-system,sans-serif;
--font-latin:"Inter Full","Inter","Shabnam","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
--fw-regular:400;--fw-medium:500;--fw-bold:700;
--fs-display:clamp(28px,1.2vw + 23px,36px);
--fs-h2:clamp(22px,.6vw + 18.5px,26px);
--fs-h3-lg:20px;--fs-brand:20px;--fs-h3:18px;
--fs-body-lg:16px;--fs-body:15px;--fs-body-sm:14px;
--fs-btn:15px;--fs-input:16px;
--fs-caption:13px;--fs-micro:12px;
--fs-stat-sm:24px;--fs-stat:28px;--fs-stat-lg:32px;
--lh-body:1.85;--lh-head:1.5;--lh-ui:1.6;--lh-stat:1.3;
--on-dark:#fff;--on-dark-2:#f3f1ff;
}
/* ---- Base ---- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font-base);font-size:var(--fs-body);font-weight:var(--fw-regular);line-height:var(--lh-body);letter-spacing:0;font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4{font-weight:var(--fw-bold);line-height:var(--lh-head);text-wrap:balance}
h1{font-size:var(--fs-display)}h2{font-size:var(--fs-h2)}h3,h4{font-size:var(--fs-h3)}
b,strong{font-weight:var(--fw-bold)}
small,.caption{font-size:var(--fs-caption)}
p,li,td,th,label,summary{overflow-wrap:break-word}
button,input,select,textarea{font-family:inherit;letter-spacing:0}
::placeholder{font-family:inherit;font-weight:var(--fw-regular)}
/* ---- Latin / numbers inside Persian text ---- */
.latin,.num,.stat,.st b,.gauge-n b,.level-badge,input[dir="ltr"]{font-family:var(--font-latin)}
.num,.stat,.st b,.gauge-n b,.level-badge{font-variant-numeric:tabular-nums lining-nums}
.level-badge.emoji{font-family:inherit;font-size:36px}
/* Dark sections use the same sizes and weights as light ones; only colour changes (--on-dark, --on-dark-2). */
:root{color-scheme:light;--ink:#20243a;--muted:#5b6381;--line:#e6e8f2;--primary:#4f46e5;--purple:#7c3aed;--bg:#f7f8fc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink)}
a{color:inherit}.container{width:min(1080px,calc(100% - 32px));margin:auto}.top{padding:18px 0}.nav{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-weight:var(--fw-bold);font-size:var(--fs-brand);font-family:var(--font-latin)}.logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#27266f;color:white;font-size:var(--fs-body-lg);font-family:var(--font-latin);font-weight:var(--fw-bold);box-shadow:0 7px 20px #27266f30}.nav a{text-decoration:none}.navlink{font-weight:var(--fw-medium);font-size:var(--fs-btn);color:#4b4d70}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:13px;padding:10px 20px;background:linear-gradient(135deg,var(--primary),var(--purple));color:white;font-weight:var(--fw-medium);font-size:var(--fs-btn);line-height:var(--lh-ui);box-shadow:0 7px 20px #4f46e533}.btn.secondary{background:white;color:var(--primary);border:1px solid var(--line);box-shadow:none}.hero{padding:76px 0 68px;background:#fff;border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:38px}.eyebrow{display:inline-block;padding:4px 13px;border-radius:30px;background:#e5e4ff;color:#4338a8;font-weight:var(--fw-medium);font-size:var(--fs-caption)}.hero h1{margin:15px 0 12px}.hero p{font-size:var(--fs-body-lg);color:#555d78;max-width:680px;margin:0 0 24px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.visual{background:linear-gradient(145deg,#292875,#6555d9 65%,#7c3aed);border-radius:28px;padding:28px;color:white;box-shadow:0 20px 50px #312e8140;min-height:260px;display:flex;flex-direction:column;justify-content:space-between}.visual .big{font-size:48px}.visual strong{font-size:var(--fs-h3-lg)}.visual p{color:var(--on-dark-2);font-size:var(--fs-body-sm);margin:5px 0}.visual-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}.visual-stats span{background:#ffffff1c;border:1px solid #ffffff30;border-radius:12px;padding:9px 5px;text-align:center;font-size:var(--fs-micro)}.section{padding:64px 0}.section h2{text-align:center;margin:0 0 8px}.lead{font-size:var(--fs-body-lg);text-align:center;color:var(--muted);margin:0 auto 30px;max-width:700px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature{background:white;border:1px solid var(--line);border-radius:19px;padding:21px;box-shadow:0 8px 25px #24265b0b}.feature .ico{font-size:27px}.feature h3{margin:7px 0 4px}.feature p{font-size:var(--fs-body-sm);color:var(--muted);margin:0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step{border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff}.num{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eeedff;color:var(--primary);font-weight:var(--fw-bold)}.step h3{margin:9px 0 3px}.step p{font-size:var(--fs-body-sm);color:var(--muted);margin:0}.notice{background:#fff8e8;border:1px solid #f1dfb9;border-radius:15px;padding:14px 17px;color:#74551b;font-size:var(--fs-body-sm);margin-top:22px}.cta{background:linear-gradient(135deg,#292875,#5b4ad0);color:white;border-radius:25px;padding:34px;text-align:center}.cta h2{margin:0 0 8px}.cta p{color:var(--on-dark-2);margin:0 0 20px}.cta .btn{background:white;color:#39358e;box-shadow:none}.footer{padding:25px 0;color:var(--muted);font-size:var(--fs-caption);text-align:center;border-top:1px solid var(--line)}
@media(max-width:760px){.hero{padding:48px 0}.hero-grid{grid-template-columns:1fr}.visual{min-height:210px}.features,.steps{grid-template-columns:1fr}.section{padding:45px 0}.navlink{display:none}.hero p{font-size:var(--fs-body)}}
.i3{width:1.3em;height:1.3em;vertical-align:-.3em;display:inline-block;flex:none;color:var(--accent)}
.ico .i3{width:34px;height:34px}.visual .big .i3{width:76px;height:76px;color:#fff}.rolecard span .i3{width:54px;height:54px}.rolecard:nth-child(2) span .i3{color:var(--accent2)}.tcard .ti .i3{width:32px;height:32px;vertical-align:middle;color:var(--tc)}.rtab .ri .i3{width:26px;height:26px;color:var(--tc)}.level-badge .i3{width:48px;height:48px;vertical-align:middle;color:var(--hc)}.dash-hero small .i3,.dash-hero .i3{color:#fff}.tmeta .i3{width:1.2em;height:1.2em}.tstat .i3{color:#16a34a}.card h2 .i3,.card h3 .i3{color:var(--accent2)}.ins.good .i3{color:#16a34a}.ins.warn .i3{color:#d97706}.ins.info .i3{color:var(--accent)}button .i3{color:inherit}.rolecard span .i3{color:var(--accent)}.rolecard:nth-child(2) span .i3{color:var(--accent2)}

/* motion */
@keyframes rise{from{opacity:0;translate:0 22px;filter:blur(6px)}to{opacity:1;translate:0 0;filter:none}}
@keyframes pop{from{opacity:0;scale:.94;translate:0 18px;filter:blur(8px)}to{opacity:1;scale:1;translate:0 0;filter:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
.top{animation:fade .6s both}
.hero-grid>div:first-child>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.hero-grid>div:first-child>:nth-child(1){animation-delay:.05s}.hero-grid>div:first-child>:nth-child(2){animation-delay:.18s}.hero-grid>div:first-child>:nth-child(3){animation-delay:.32s}.hero-grid>div:first-child>:nth-child(4){animation-delay:.46s}
.hero-grid>.visual{animation:pop .9s cubic-bezier(.2,.7,.2,1) .3s both}
.visual-stats span{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}.visual-stats span:nth-child(1){animation-delay:.75s}.visual-stats span:nth-child(2){animation-delay:.87s}.visual-stats span:nth-child(3){animation-delay:.99s}
.btn{transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px #4f46e547}.btn.secondary:hover{background:#f4f3ff;box-shadow:none}
.feature,.step{transition:transform .25s,box-shadow .25s,border-color .25s}
.feature:hover,.step:hover{transform:translateY(-5px);border-color:#c9c5fb;box-shadow:0 16px 34px #4f46e51f}
.i3{transition:transform .3s}.feature:hover .i3{transform:scale(1.12) rotate(-5deg)}
.navlink{transition:color .2s}.navlink:hover{color:var(--primary)}
@supports (animation-timeline:view()){.feature,.step,.cta,.section h2,.section .lead,.note{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 40%}.feature:nth-child(3n+2){animation-range:entry 5% entry 45%}.feature:nth-child(3n+3){animation-range:entry 10% entry 50%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{translate:none!important;scale:none!important;rotate:none!important;filter:none!important;transform:none!important}}

.btn.go{pointer-events:none;position:relative;overflow:hidden}.btn.go i{position:absolute;inset:auto 0 0 0;height:4px;background:#fff9;width:4%;transition:width .4s}
