/* Zifa 2.2 — shared layout, rhythm and interaction layer. */
:root{--paper:#f6f7f4;--ink:#182d2b;--muted:#53655e;--line:#dbe2dc;--coral:#bb3f36;--radius:24px}
html{scroll-padding-top:100px}body{min-width:0}main,section,article,nav,form{min-width:0}img{max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,p,a,button{overflow-wrap:break-word}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #197d86;outline-offset:4px}a,button{ -webkit-tap-highlight-color:transparent}
.header{padding:20px 4%;max-width:1360px;gap:28px;min-height:88px}.header nav{gap:26px;flex-wrap:wrap}.brand-logo{width:46px;height:46px;border-radius:14px;background:#18332f;padding:4px}.brand b{font-size:24px}.button{border-radius:13px;gap:14px;font-weight:500;min-height:48px}.button.small{min-height:44px}.button.outline:hover{background:#eaf0e9}.text-link{min-height:44px}.header a:hover,.footer a:hover{color:var(--coral)}.header .button:hover{color:inherit}
.hero{max-width:1360px;grid-template-columns:1fr 1.05fr;gap:6%;padding:56px 4% 96px}.hero h1{font-size:clamp(36px,4.1vw,60px);line-height:1.48;letter-spacing:-1.8px}.hero-copy>p{max-width:490px;font-size:17px;line-height:2.05;margin:24px 0}.eyebrow{font-size:13px;letter-spacing:0}.hero-note{font-size:13px;line-height:1.9}.hero-actions{gap:16px;flex-direction:row}.film{aspect-ratio:1.12;transform:none;border-radius:28px;border:6px solid #fff;box-shadow:0 24px 60px #203d3020}.film-top{font-size:12px;margin-bottom:14px}.film-title{top:28px;left:24px}.film-title>span{font-size:30px}.captions{bottom:68px}.captions span{font-size:16px}.floating-caption{left:-20px;bottom:2px;transform:none;padding:14px 18px;border-radius:18px;box-shadow:0 12px 36px #173b3020}.floating-caption div span{font-size:12px}.spark{display:none}.demo-switch{bottom:-55px;gap:6px;inset-inline:0;justify-content:center}.demo-switch button{border:1px solid transparent;border-radius:10px;padding:8px 12px;min-height:44px;font-size:12px}.demo-switch button[aria-pressed=true]{border-color:#bccac0;background:#fff;color:var(--ink)}
.promise-strip,.section,.final-cta,.footer{max-width:1248px;width:calc(100% - 8%);margin-inline:auto}.promise-strip{background:#e9eee7;border:0;border-radius:22px;padding:30px;gap:24px;margin-top:12px}.promise-strip>div>span{color:#53655e}.promise-strip b{font-size:15px}.promise-strip small{font-size:13px}.section{padding-block:80px}.section-heading{max-width:670px;margin-bottom:32px}.section-heading h2{font-size:clamp(27px,3vw,38px);line-height:1.6}.section-heading p{font-size:16px}.feature-grid{gap:16px}.steps article{padding:27px;border:1px solid var(--line);border-radius:22px;background:#fff}.steps h3{font-size:19px}.steps p{font-size:15px;margin-bottom:12px}.steps .step-number{float:none;display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f8eee7;margin-bottom:18px;font-size:17px}.feature-grid article:first-child{grid-column:span 2;background:#193a33;color:#fff}.feature-grid article:first-child p{color:#d5e3dc}.feature-grid article:first-child a{color:#fff;text-decoration:underline;text-underline-offset:5px}.feature-grid article[data-paused] h3:after{content:'فعلاً غیرفعال';font-size:10px;display:inline-block;padding:3px 8px;border-radius:20px;background:#eee;color:#53655e;margin-inline-start:8px}.feature-grid article[data-paused] p{color:#66716c}.pricing{gap:40px;grid-template-columns:.75fr 1.25fr}.plan{border-radius:24px;padding:28px}.plan.plus{background:#193a33}.plan-top{font-size:16px}.plan h3,.plan>p,.plan li{font-size:14px}.plan li{line-height:1.9}.plan .button{min-height:48px}.payment-note{font-size:13px!important}.plan.plus .payment-note{color:#d6e4dc!important}.plan-badge{font-size:11px}.price,.price strong{font-size:36px}.faq{gap:50px}.faq-list{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}.faq-list summary{min-height:44px;display:flex;align-items:center}.faq-list details{padding:14px 0}.faq-list details:last-child{border:0}.final-cta{background:#193a33;padding:48px;border-radius:28px}.final-cta .big-mark{border:0;background:#ffffff12}.footer{gap:24px;padding-block:28px}.footer a,.footer>span{font-size:13px}.footer a{min-height:44px;display:inline-flex;align-items:center}
.portal{max-width:1040px;width:calc(100% - 8%);padding:0;margin:48px auto 80px}.portal>.section-heading{max-width:720px}.portal h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1px;line-height:1.55}.portal-card{background:#fff;border-color:var(--line);border-radius:22px;padding:32px;margin:22px 0}.portal-card h2{font-size:22px}.portal p{color:var(--muted);max-width:78ch}.portal label{font-size:14px}.portal input,.portal textarea{border-color:#a9b9ae;border-radius:12px;min-height:48px;margin-bottom:16px}.portal .notice{background:#edf4ee;color:#265b47}.portal-card form{max-width:none}#loginBox{max-width:600px}#recover{max-width:720px;background:#edf1eb}#recover h2{font-size:20px}.portal-grid .portal-card{margin:0}.history-item{padding:20px;border:1px solid var(--line);border-radius:14px;margin-block:12px;background:#f8faf7}.history-item h3{font-size:14px}.portal textarea{resize:vertical}.support-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;align-items:start}.support-layout .portal-card{margin:0}.support-contact{background:#193a33;color:#fff}.support-contact p{color:#dce6df}.support-contact .button{background:#fff;color:#193a33}.support-contact .eyebrow{color:#f7b1a2}.legal{max-width:820px}.legal p{margin-block:16px}.legal h2{margin-top:32px}
dialog{border-radius:24px;padding:36px;max-height:calc(100dvh - 32px);box-shadow:0 30px 100px #10232255}.dialog-close{width:44px;height:44px;left:10px;top:10px;border-radius:50%;background:#e9eee7}.notice:empty{display:none}.notice{line-height:1.9}.toast{max-width:calc(100% - 32px);text-align:center}.method{border-radius:14px}.card-number{direction:ltr;overflow-wrap:anywhere}.portal-actions{gap:10px}button[aria-busy=true]{cursor:progress}button[aria-busy=true]:after{content:'';width:14px;height:14px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;display:inline-block;margin-inline-start:8px;animation:zifa-spin .7s linear infinite}@keyframes zifa-spin{to{transform:rotate(360deg)}}
.download-page{max-width:1248px}.download-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding:16px 0 48px}.download-hero h1{font-size:clamp(36px,4.5vw,60px)}.download-hero h1 em{color:var(--coral);font-style:normal}.download-hero p{margin-block:20px;font-size:17px}.download-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.download-badges span{border:1px solid var(--line);padding:5px 12px;border-radius:30px;font-size:12px;color:var(--muted)}.download-summary{background:#193a33;border-radius:28px;color:#fff;padding:30px;box-shadow:0 20px 50px #193a3318}.download-summary>img{width:60px;height:60px;margin-bottom:16px}.download-summary h2{font-size:24px;line-height:1.7}.download-summary p{color:#d4e2d9;font-size:14px;margin:12px 0 24px}.download-summary .button{width:100%}.download-summary small{display:block;color:#d5e4dc;margin-top:14px;text-align:center}.download-summary .capability{display:flex;justify-content:space-between;border-top:1px solid #ffffff24;padding:14px 0;font-size:14px}.guide-nav{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:#e9eee7;border-radius:18px;margin:8px 0 28px}.guide-nav a{padding:8px 16px;min-height:44px;border-radius:10px;text-decoration:none!important;font-size:14px}.guide-nav a:hover{background:#fff}.guide-step{display:grid;grid-template-columns:64px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;margin:20px 0}.guide-number{width:48px;height:48px;background:#f7ece5;border-radius:15px;display:grid;place-items:center;color:var(--coral);font-size:22px}.guide-step h2{font-size:25px;margin-bottom:12px}.guide-step ol{padding-inline-start:22px;margin:20px 0}.guide-step li{padding:6px 0;color:var(--muted)}.guide-step code{display:inline-block;font-size:14px;background:#edf2eb;padding:2px 7px;border-radius:6px}.guide-step .callout{padding:18px;background:#eff4ed;border-inline-start:3px solid #416b55;border-radius:12px;margin-top:18px;font-size:14px}.guide-step .callout p{font-size:14px}.copy-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.copy-row button{border:1px solid var(--line);border-radius:10px;padding:9px 14px;background:#fff;min-height:44px}.guide-faq{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.guide-faq details{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.guide-faq summary{font-weight:500;cursor:pointer;min-height:44px}.guide-faq p{font-size:14px;margin-top:12px}.download-page .section-heading{margin-top:48px}.micro-label{font-size:12px;color:var(--muted);display:block;margin:12px 0}.mobile-nav{display:none}
@media(max-width:1050px){.pricing{grid-template-columns:1fr}.plans{max-width:none}.hero{gap:4%}.hero h1{font-size:42px}.hero-copy>p{font-size:15px}.header nav{gap:18px}.download-hero{gap:32px}.hero-actions{gap:8px}.hero-actions .button{font-size:14px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header{flex-wrap:wrap;gap:12px;padding:16px 5%}.header nav{order:3;width:100%;margin:0;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;font-size:13px}.header>.button{margin-inline-start:auto}.header .brand-logo{width:40px;height:40px}.header nav a{min-height:40px}.hero{padding:32px 5% 76px;gap:36px}.hero h1{font-size:clamp(34px,7vw,47px);letter-spacing:-1px}.hero-copy>p{font-size:16px}.hero-note{font-size:12px}.hero-visual{max-width:560px}.film{aspect-ratio:1.35;border-radius:22px}.floating-caption{left:8px;bottom:5px;max-width:90%;padding:10px 14px}.floating-caption b{font-size:12px}.floating-caption div span{font-size:11px}.film-title>span{font-size:25px}.demo-switch{bottom:-53px}.demo-switch button{font-size:11px;padding:8px}.promise-strip,.section,.final-cta,.footer{width:90%}.promise-strip{margin-top:15px;padding:22px;gap:20px}.promise-strip>p{grid-column:1/-1}.promise-strip>div{padding-right:0}.promise-strip>div>span{position:static;display:block}.promise-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.promise-strip small{font-size:11px}.promise-strip b{font-size:13px}.section{padding-block:52px}.steps{gap:16px}.steps article{padding:24px}.feature-grid{grid-template-columns:1fr}.feature-grid article:first-child{grid-column:auto}.plan{padding:28px}.faq-list{padding:20px}.final-cta{padding:32px 24px}.final-cta h2{font-size:28px}.portal{width:90%;margin-top:28px}.portal-card{padding:24px}.portal-grid,.support-layout{grid-template-columns:1fr}.download-hero{grid-template-columns:1fr;gap:24px;padding-bottom:24px}.download-hero h1{font-size:42px}.download-summary{padding:24px}.guide-step{grid-template-columns:1fr;padding:24px;gap:16px}.guide-step h2{font-size:23px}.guide-nav a{padding:8px 10px}.guide-faq{grid-template-columns:1fr}.guide-step .button{width:100%}.footer{gap:12px 20px}.footer>span{width:100%}.portal p,.legal p{font-size:15px}dialog{padding:32px 20px;max-width:calc(100% - 20px)}.support-layout .portal-card{margin:0}.section-heading h2{font-size:29px}}
@media(max-width:380px){.hero h1,.download-hero h1{font-size:34px}.hero-actions .button{width:100%}.promise-strip{grid-template-columns:1fr}.promise-strip>div>span{display:none}.film-title>span{font-size:20px}.captions span{font-size:13px}.film-title{top:18px;left:18px}.floating-caption{bottom:3px}.floating-caption .mini-mark{display:none}.header nav{gap:8px;font-size:12px}.portal-card,.guide-step{padding:20px}.brand>span:last-child:not(.mark){display:none}}
@media(prefers-reduced-motion:no-preference){.hero-copy,.download-hero>div{animation:zifa-enter .45s ease-out both}.hero-visual,.download-summary{animation:zifa-enter .6s ease-out both}@keyframes zifa-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.button,button,a,summary{transition:background .18s,color .18s,border-color .18s,box-shadow .18s}.portal-card,.plan{transition:box-shadow .2s}.plan:hover{box-shadow:0 14px 32px #193a3310}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.support-intro{margin:16px 0 28px}.plan[aria-busy=true] .price{min-height:88px;background:#ffffff16;border-radius:12px;animation:zifa-loading-price 1.3s ease-in-out infinite}@keyframes zifa-loading-price{50%{opacity:.5}}

#recover>summary{font-size:18px;font-weight:500;cursor:pointer;min-height:44px;line-height:1.8}#recover[open]>summary{margin-bottom:16px}#profile #subscription,#profile #usage{display:inline-block;vertical-align:top;width:calc(50% - 10px);min-height:100px;padding:20px;border-radius:16px;background:#edf3e8;color:#234c38;margin:16px 0 20px 10px;font-size:16px;line-height:2}.table-hint{display:none}@media(max-width:700px){#profile #subscription,#profile #usage{display:block;width:100%;min-height:auto;margin:14px 0;font-size:15px}}
