@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-arabic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-arabic-600-normal.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-arabic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-arabic-800-normal.woff2') format('woff2');font-weight:800;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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:Vazirmatn;src:url('fonts/vazirmatn-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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:Vazirmatn;src:url('fonts/vazirmatn-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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:Vazirmatn;src:url('fonts/vazirmatn-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}


:root{
    --bg1:#eefbff;
    --bg2:#d9f4ff;
    --card:#d9f0ff;
    --card2:#ccecff;
    --panel:#d5f0ff;
    --stage:#e4f7ff;
    --stage2:#d9f1ff;
    --text:#0b3650;
    --muted:#41677a;
    --blue:#8fe7ff;
    --blue2:#55c6f4;
    --green:#b9f5d4;
    --yellow:#fff5bf;
    --yellow-soft:#fff7cc;
    --yellow-text:#6a5200;
    --orange:#ffd6a6;
    --orange2:#ffbc75;
    --red:#ff7d8a;
    --line:rgba(55,145,185,.22);
    --shadow:0 18px 45px rgba(46,130,170,.17);
    --font-main:"Vazirmatn","IRANSansX","IRANSans","Tahoma","Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    min-height:100vh;
    padding:26px 12px 34px;
    direction:rtl;
    color:var(--text);
    font-family:var(--font-main);
    background:
      radial-gradient(circle at 16% 10%, rgba(143,231,255,.58), transparent 23%),
      radial-gradient(circle at 84% 10%, rgba(255,245,191,.46), transparent 20%),
      radial-gradient(circle at 20% 84%, rgba(185,245,212,.42), transparent 20%),
      radial-gradient(circle at 84% 82%, rgba(255,214,166,.34), transparent 18%),
      linear-gradient(180deg,var(--bg1),var(--bg2));
}
a{color:inherit}
.wrap{width:min(860px,100%);margin:0 auto}
.logo-only{display:flex;justify-content:center;align-items:center;margin:0 auto 18px}
.logo-wrap{
    width:110px;height:110px;border-radius:999px;overflow:hidden;background:#e7f8ff;
    border:1px solid rgba(70,175,220,.28);box-shadow:0 16px 34px rgba(52,142,182,.18), 0 0 0 10px rgba(255,255,255,.46);position:relative;
}
.logo-wrap video{width:100%;height:100%;object-fit:cover;display:block}
.logo-wrap:after{content:"";position:absolute;inset:-45%;background:linear-gradient(105deg, transparent 44%, rgba(255,255,255,.42) 50%, transparent 56%);transform:translateX(70%);animation:shine 4.2s ease-in-out infinite;pointer-events:none}
.card{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);border-radius:28px;padding:18px;box-shadow:var(--shadow);backdrop-filter:blur(8px);
}
.section-title{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:14px}
.section-title h2{font-size:20px;margin:0;color:#0b3650;font-weight:900}
.platform-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.tab{
    min-height:74px;border:none;border-radius:21px;padding:10px 8px;
    background:linear-gradient(180deg,#e8f9ff,#cfecff);color:#083750;font-size:15px;font-weight:950;cursor:pointer;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;direction:ltr;
    letter-spacing:.1px;line-height:1.1;
    transition:.2s ease;box-shadow:inset 0 0 0 1px rgba(65,165,210,.20), 0 8px 20px rgba(54,133,168,.10)
}
.tab img{width:35px;height:35px;object-fit:contain;flex:0 0 auto}
.tab:hover{transform:translateY(-2px);box-shadow:0 14px 24px rgba(54,133,168,.16), inset 0 0 0 1px rgba(76,190,240,.38)}
.tab.active{color:#07344d;background:linear-gradient(135deg,var(--blue),var(--blue2));box-shadow:0 14px 28px rgba(85,198,244,.30), inset 0 0 0 1px rgba(255,255,255,.48)}
.panel{background:linear-gradient(180deg,var(--panel),#ccecff);border:1px solid var(--line);border-radius:24px;padding:16px}
.panel-head{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-bottom:14px}
.device-title{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;text-align:right}
.device-title img{width:42px;height:42px;object-fit:contain;flex:0 0 42px}
.panel h3{margin:0;font-size:20px;color:#0b3650;text-align:right;font-weight:900}
.stage-list{display:grid;gap:12px}
.stage{
    display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:start;
    background:linear-gradient(180deg,var(--stage),var(--stage2));
    border:1px solid rgba(57,151,192,.20);border-radius:22px;padding:14px;
    box-shadow:0 10px 24px rgba(54,133,168,.11)
}
.stage-number{width:38px;height:38px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:950;color:#07344d;background:linear-gradient(135deg,#d8f7ff,#8fe7ff);font-size:18px;border:1px solid rgba(45,160,210,.22)}
.stage h4{margin:0 0 5px;font-size:16px;color:#0b3650;font-weight:900;font-family:var(--font-main)}
.stage p,.mini-step{font-family:var(--font-main)}
.stage p{margin:0;color:var(--muted);font-size:14px;line-height:1.95;font-weight:700}
.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.actions.single{margin-top:12px}
.btn{min-height:46px;border-radius:15px;padding:11px 14px;text-decoration:none;color:#07344d;font-weight:900;font-size:13.5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,var(--blue),var(--blue2));box-shadow:0 8px 18px rgba(54,133,168,.14);text-align:center;border:1px solid rgba(255,255,255,.45)}
.btn.secondary{background:linear-gradient(135deg,#d9f7ff,#88ddff)}
.btn.orange{background:linear-gradient(135deg,var(--orange),var(--orange2));color:#6b3a00;box-shadow:0 8px 18px rgba(255,188,117,.25);border:1px solid rgba(255,173,89,.32);min-height:38px;padding:8px 12px;font-size:12.5px;font-weight:900;border-radius:12px}
.btn.green{background:linear-gradient(135deg,var(--green),#8de9b9);color:#073d28}
.btn.gray{background:linear-gradient(135deg,#e8f3f8,#c6dbe7);color:#17384a}
.btn img{width:21px;height:21px;object-fit:contain}
.setup-box{margin-top:12px;padding:12px 12px;border-radius:15px;background:linear-gradient(180deg,#fff9d8,var(--yellow-soft));border:1px solid rgba(223,182,55,.38);color:var(--yellow-text)}
.setup-box p{margin:0;color:var(--yellow-text);font-size:13px;line-height:1.85;font-weight:800}
.setup-box .actions{margin-top:10px}
.mini-steps{display:grid;gap:7px;margin-top:9px}
.mini-step{padding:9px 12px 9px 10px;border-radius:15px;background:#edfaff;border:1px solid rgba(57,151,192,.18);font-size:13.5px;line-height:1.8;color:#264f63;font-weight:700}
.footer-note{margin-top:14px;color:#41677a;font-size:12px;line-height:1.8;text-align:center;opacity:.92;font-weight:800}

body.page-white{
    background:#ffffff;
}
body.page-white .card,
body.page-white .panel,
body.page-white .stage,
body.page-white .mini-step{
    background:#ffffff;
}
body.page-white .logo-wrap{
    background:#ffffff;
}
body.page-white .tab{
    background:linear-gradient(180deg,#ffffff,#f2fbff);
}
body.page-white .tab.active{
    background:linear-gradient(135deg,var(--blue),var(--blue2));
}
@keyframes shine{0%,55%{transform:translateX(70%) rotate(12deg)}100%{transform:translateX(-70%) rotate(12deg)}}
@media(max-width:650px){
    body{padding:18px 8px 28px}
    .logo-wrap{width:94px;height:94px}
    .card{border-radius:24px;padding:12px}
    .section-title h2{font-size:18px}
    .platform-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:14px}
    .tab{min-height:58px;border-radius:16px;padding:7px 3px;font-size:13px;font-weight:950;gap:4px}
    .tab img{width:25px;height:25px}
    .panel{padding:12px;border-radius:21px}
    .panel h3{font-size:18px}
    .stage{grid-template-columns:1fr;border-radius:19px;padding:12px}
    .stage-number{width:34px;height:34px;border-radius:13px}
    .actions{display:grid;grid-template-columns:1fr}
    .btn{width:100%}
    .btn.orange{width:auto;justify-self:start}
}
@media(max-width:380px){
    .platform-tabs{gap:5px}
    .tab{font-size:12.5px;min-height:55px;border-radius:15px}
    .tab img{width:23px;height:23px}
}

/* Three-step URL guide; the original animated logo is unchanged. */
.card{padding:14px}.stage-list{gap:9px}.stage{grid-template-columns:38px minmax(0,1fr);gap:11px;padding:11px 13px;align-items:start}.stage h1,.stage h2{margin:0;color:var(--text);font-size:14px;line-height:1.85;font-weight:800}.stage-number{flex-shrink:0}.actions.downloads{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:9px;direction:ltr}.downloads .btn{grid-column:span 2;min-height:40px;padding:8px 7px;font-size:13px;white-space:nowrap;direction:ltr;border-radius:13px}.downloads .btn:nth-child(n+4){grid-column:span 3}.downloads .btn img{width:22px;height:22px}.downloads .btn:hover{filter:brightness(1.04);transform:translateY(-1px)}.domain{display:block;text-align:center;direction:ltr;font-size:23px;font-weight:900;letter-spacing:.3px;margin:4px 0 0;color:#07597c;user-select:all}.options{display:grid;gap:3px;direction:ltr;font-size:13px;line-height:1.7;color:#165b58;margin-top:5px;font-weight:700}.options span::before{content:'✓';display:inline-block;margin-right:7px;color:#208260}a:focus-visible{outline:3px solid #007faa;outline-offset:3px}
@media(min-width:760px){.actions.downloads{grid-template-columns:repeat(5,minmax(0,1fr))}.downloads .btn,.downloads .btn:nth-child(n+4){grid-column:auto}}
@media(max-width:650px){body{padding-bottom:18px}.card{padding:10px}.stage{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:10px;border-radius:19px}.stage h1,.stage h2{font-size:13px;line-height:1.8}.stage-list{gap:8px}.downloads .btn{font-size:12px;min-height:36px;padding:6px 4px;gap:5px}.downloads .btn img{width:19px;height:19px}.actions.downloads{gap:6px;margin-top:7px}.domain{font-size:22px;margin-top:2px}.options{font-size:12px;gap:1px}}
@media(max-width:380px){.stage{padding:8px;gap:7px}.stage h1,.stage h2{font-size:12px}.stage-list{gap:6px}.downloads .btn{font-size:11px}.actions.downloads{gap:5px}.options{font-size:11px}.domain{font-size:21px}}
@media(max-width:380px){body{padding-bottom:12px}.card{padding:8px}}

/* Plain download links aligned left, with the original icons. */
.actions.downloads{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:8px;margin-top:10px;direction:ltr}
.download-link{display:inline-flex;align-items:center;gap:9px;min-height:27px;padding:2px 0;color:#086c9c;font-size:14px;font-weight:400;line-height:1.5;text-decoration:none;background:none;border:0;border-radius:0;box-shadow:none;direction:ltr}
.download-link img{width:21px;height:21px;object-fit:contain;flex-shrink:0}
.download-link span{text-decoration:underline;text-decoration-color:#086c9c66;text-underline-offset:5px;text-decoration-thickness:1px}
.download-link:hover{color:#004a76}.download-link:hover span{text-decoration-color:currentColor}
.stage h1,.stage h2,.stage-number,.options,.stage .import-note{font-weight:400}
.stage .import-note{margin:6px 0 0;font-size:13px;color:var(--text);line-height:1.8}
.domain{font-size:13px;font-weight:400;letter-spacing:0;margin-top:6px}
@media(max-width:650px){.stage h1,.stage h2{line-height:1.65}.actions.downloads{gap:7px;margin-top:8px}.download-link{font-size:13px;min-height:25px}.download-link img{width:20px;height:20px}.domain,.stage .import-note{font-size:12px}.stage .import-note{margin-top:4px;line-height:1.65}}
@media(max-width:380px){.domain{font-size:11px}}

/* Compact animated mark, aligned to the top right of the site. */
.logo-only{justify-content:flex-start}
.logo-wrap{width:88px;height:88px;border-radius:19px;flex-shrink:0;box-shadow:0 9px 24px rgba(52,142,182,.17)}
.site-version{margin-top:10px;text-align:center;font-size:10px;font-weight:400;line-height:1.5;color:#668594;letter-spacing:.4px}
@media(max-width:650px){.logo-wrap{width:75.2px;height:75.2px;border-radius:16px}.site-version{margin-top:8px}}

/* Smaller rounded-square logo centered above the guide. */
.logo-only{justify-content:center}
.logo-wrap{width:70.4px;height:70.4px;border-radius:15.2px}
@media(max-width:650px){.logo-wrap{width:60.16px;height:60.16px;border-radius:12.8px}}

/* Emphasize only values and client labels users need to recognize. */
.stage strong,.domain,.options{font-weight:700}

/* English phrases are one pixel smaller than the Persian text in their section. */
.stage{--guide-size:14px}
.stage bdi{font-size:calc(1em - 1px)}
.download-link,.domain,.options{font-size:calc(var(--guide-size) - 1px)}
@media(max-width:650px){.stage{--guide-size:13px}}
@media(max-width:380px){.stage{--guide-size:12px}}

/* One shared size for every English phrase on the page, at every viewport. */
:root{--english-size:11px}
.stage bdi,.download-link,.domain,.options,.site-version{font-size:var(--english-size)}

/* Readability: add 2px to Persian, English and step numbers together. */
:root{--english-size:13px}
.stage{--guide-size:16px}
.stage h1,.stage h2{font-size:16px}
.stage .import-note{font-size:15px}
.stage-number{font-size:20px}
@media(max-width:650px){.stage{--guide-size:15px}.stage h1,.stage h2{font-size:15px}.stage .import-note{font-size:14px}}
@media(max-width:380px){.stage{--guide-size:14px}.stage h1,.stage h2{font-size:14px}}

.inline-domain{font-weight:700;white-space:nowrap;user-select:all}
