:root{--primary:#6b4df6;--primary-2:#8e74ff;--orange:#ff8f32;--ink:#171922;--muted:#667085;--line:#eceaf5;--bg:#fbfaff;--card:#fff;--shadow:0 18px 55px rgba(40,28,96,.10);--radius:26px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Dana,Vazirmatn,IRANSans,Tahoma,Arial,sans-serif;background:linear-gradient(180deg,#fbfaff 0,#fff 58%,#fbfbff 100%);color:var(--ink);overflow-x:hidden}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}svg{width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.container{width:min(1180px,calc(100% - 52px));margin-inline:auto}.section-pad{padding:50px 0}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(230,228,243,.82)}.nav{height:74px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{width:128px;height:auto;object-fit:contain}.desktop-menu{display:flex;align-items:center;justify-content:center;gap:18px;margin-inline:auto}.desktop-menu a,.mobile-drawer a{position:relative;font-weight:800;color:#2b2d36;font-size:15px;padding:12px 8px;transition:.2s}.desktop-menu a.active,.mobile-drawer a.active{color:var(--primary)}.desktop-menu a.active:after{content:"";position:absolute;height:3px;border-radius:6px;background:var(--primary);left:14px;right:14px;bottom:-17px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;padding:12px 20px;font-weight:900;border:1px solid transparent;transition:.2s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.primary{background:linear-gradient(135deg,var(--primary),#7658ff);color:#fff;box-shadow:0 14px 30px rgba(107,77,246,.24)}.ghost{background:#fff;color:#262832;border-color:#e8e5f3;box-shadow:0 10px 24px rgba(36,33,82,.06)}.light{background:#fff;color:var(--primary);box-shadow:0 14px 34px rgba(49,32,110,.18)}.btn.big{padding:14px 26px}.nav-start{padding:11px 18px}.hamburger{display:none;margin-right:auto;border:0;background:#fff;border-radius:13px;width:44px;height:40px;box-shadow:var(--shadow)}.hamburger span{display:block;width:18px;height:2px;background:#222;margin:4px auto;border-radius:2px}.mobile-drawer{display:none;position:fixed;left:16px;right:16px;top:72px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:12px;z-index:49}.mobile-drawer.open{display:grid}.drawer-cta{background:var(--primary);color:#fff!important;border-radius:14px;text-align:center;margin-top:4px}.hero{padding-top:34px;position:relative}.hero:before{content:"";position:absolute;inset:0 0 auto;height:680px;background:radial-gradient(circle at 30% 20%,rgba(107,77,246,.13),transparent 34%),radial-gradient(circle at 74% 30%,rgba(255,143,50,.10),transparent 26%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:minmax(430px,1fr) 330px 218px;align-items:center;gap:30px}.hero-content{max-width:610px}.pill{display:inline-flex;align-items:center;gap:8px;color:var(--primary);background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 17px;font-weight:900;font-size:14px;box-shadow:0 10px 26px rgba(70,55,128,.07)}.pill i{width:8px;height:8px;border-radius:50%;background:var(--primary)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,4.3vw,64px);line-height:1.22;margin:24px 0 16px;letter-spacing:-.03em}h1 strong{display:block;color:var(--primary)}.hero-content p{font-size:16px;line-height:2.05;color:var(--muted);max-width:570px}.hero-actions{display:flex;gap:14px;margin-top:25px}.phone-stage{min-height:480px;display:grid;place-items:center;position:relative;padding-block:20px}.blob{position:absolute;width:350px;height:350px;background:linear-gradient(135deg,rgba(107,77,246,.18),rgba(255,143,50,.14));border-radius:48% 52% 56% 44%;filter:blur(.1px)}.phone{position:relative;overflow:hidden;background:#111;border:10px solid #171a22;border-radius:42px;box-shadow:0 30px 80px rgba(16,19,30,.26)}.phone:before{content:"";position:absolute;top:9px;left:50%;translate:-50% 0;width:10px;height:10px;background:radial-gradient(circle at 35% 30%,#454b57,#0a0c11 68%);border-radius:50%;box-shadow:0 0 0 1.5px rgba(0,0,0,.45);z-index:2}.phone img{width:100%;height:100%;object-fit:cover;object-position:top}.hero-phone{width:278px;aspect-ratio:9/19;transform:rotate(-7deg)}.feature-rail{display:grid;gap:12px}.feature-rail div,.stats div,.category-row div,.glass-card,.mini-cards article,.book-grid article,.community-text{background:rgba(255,255,255,.88);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px}.feature-rail div{min-height:84px;padding:13px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.icon,.cat-icon{display:inline-grid;place-items:center;border-radius:15px;flex:0 0 auto}.icon{width:42px;height:42px}.icon svg,.cat-icon svg{width:22px;height:22px}.purple{color:#694bf4;background:#f0edff}.orange{color:#ff861e;background:#fff1e6}.green{color:#22b66e;background:#eafbF2}.blue{color:#357df3;background:#ebf3ff}.pink{color:#ff4fa2;background:#fff0f8}.feature-rail b{font-size:14px;margin:8px 0 2px}.feature-rail small,.stats small,.category-row small,.book-grid small{color:var(--muted);font-size:12px;line-height:1.55}.stats{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:26px;padding:18px 14px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.stats div{border:0;box-shadow:none;border-radius:0;text-align:center;padding:3px 12px}.stats div+div{border-right:1px solid var(--line)}.stats b{display:block;color:var(--primary);font-size:26px;line-height:1.1;margin-top:6px}.section-title{text-align:center;margin-bottom:30px}h2{font-size:clamp(30px,3vw,43px);line-height:1.35;letter-spacing:-.025em}.section-title p,.section-head p,.community-text p,.start-banner p,.footer p{color:var(--muted);line-height:1.9}.experience-grid{display:grid;grid-template-columns:1fr 270px 1fr;gap:22px;align-items:center}.glass-card,.mini-cards article{padding:22px;text-align:center}.glass-card{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center}.glass-card h3,.mini-cards h3{font-size:19px;margin:12px 0 8px}.glass-card p,.mini-cards p{font-size:14px;line-height:1.85;margin-bottom:0}.reader-phone{width:258px;aspect-ratio:9/19;margin:auto}.reader-phone img{object-fit:cover}.mini-cards{display:grid;gap:16px}.mini-cards article{min-height:150px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-head h2{margin-bottom:8px}.small-link{color:var(--primary);font-weight:900}.slider-shell{position:relative}.slide-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border:1px solid var(--line);background:#fff;color:var(--primary);border-radius:50%;box-shadow:0 12px 26px rgba(39,29,89,.12);font-size:28px;line-height:0;cursor:pointer}.slide-btn.prev{right:-18px}.slide-btn.next{left:-18px}.snap-row{scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}.snap-row::-webkit-scrollbar{display:none}.category-row{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}.category-row div{min-height:125px;padding:17px 10px;text-align:center;display:grid;place-items:center;scroll-snap-align:start}.cat-icon{width:48px;height:48px}.cat-icon.green{color:#20ad69;background:#eafbf2}.cat-icon.orange{color:#f97820;background:#fff0e6}.cat-icon.pink{color:#f34d9f;background:#fff0f8}.cat-icon.brown{color:#9b5d37;background:#fff2e8}.cat-icon.blue{color:#347df3;background:#ebf3ff}.category-row b{font-size:15px}.library-showcase{padding-top:42px}.book-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.book-grid article{padding:13px;text-align:center;scroll-snap-align:start}.book-grid img{width:100%;aspect-ratio:3/4.15;object-fit:cover;border-radius:15px;background:#f2f2f7}.book-grid b{display:block;font-size:16px;margin-top:10px}.community{display:grid;grid-template-columns:340px 1fr;gap:36px;align-items:center}.community-shot{display:flex;justify-content:center}.community-phone{width:300px;aspect-ratio:9/19;border-radius:38px;border-width:9px}.community-phone img{object-fit:cover;object-position:top}.community-text{padding:38px 44px;text-align:right}.community-text h2{font-size:clamp(32px,3.3vw,48px);margin-bottom:15px}.community-text p{font-size:16px;max-width:600px;margin-bottom:24px}.start-banner{margin-block:36px;padding:30px 38px;border-radius:30px;display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:28px;background:linear-gradient(135deg,#6d4df7 0%,#8157f5 46%,#ff9550 100%);color:#fff;box-shadow:0 28px 70px rgba(107,77,246,.20);overflow:hidden;position:relative}.start-banner:before{content:"";position:absolute;inset:auto -30px -50px auto;width:230px;height:230px;background:rgba(255,255,255,.12);border-radius:50%}.start-art{position:relative}.start-icon{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);border-radius:24px;padding:14px;backdrop-filter:blur(8px)}.start-icon img{width:150px;margin:auto}.spark{position:absolute;left:-12px;top:-10px;width:34px;height:34px;border-radius:50%;background:#fff3;box-shadow:60px 70px 0 #fff2}.start-banner h2{font-size:clamp(28px,3vw,42px);margin-bottom:10px}.start-banner p{color:#fff;opacity:.92;margin-bottom:0}.footer{margin-top:10px;padding:42px 0 20px;background:#061226;color:#fff}.footer-grid{display:grid;grid-template-columns:1.25fr .8fr .75fr 126px;gap:30px;align-items:start}.footer-logo img{width:154px}.footer p{font-size:13.5px;color:#c9d4e5;max-width:390px;margin:12px 0 16px}.footer-social{display:flex;gap:10px}.footer-social a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#14274a;color:#fff}.footer h4{font-size:16px;margin:0 0 12px}.footer-links a{display:block;color:#c9d4e5;font-size:13.5px;margin:9px 0}.trust-box{background:#fff;border-radius:18px;padding:10px;display:grid;place-items:center;box-shadow:0 12px 35px rgba(0,0,0,.20)}.trust-box img{width:86px;min-height:86px;object-fit:contain}.copyright{border-top:1px solid rgba(255,255,255,.10);margin-top:28px;padding-top:16px;text-align:center;color:#b9c5d6;font-size:13px}.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}.reveal.show{opacity:1;transform:none}.delay-1{transition-delay:.08s}.delay-2{transition-delay:.14s}
@media(max-width:1180px){.container{width:min(1000px,calc(100% - 42px))}.hero-grid{grid-template-columns:1fr 300px;grid-template-areas:"content phone" "rail rail"}.hero-content{grid-area:content}.phone-stage{grid-area:phone}.feature-rail{grid-area:rail;grid-template-columns:repeat(5,1fr)}.desktop-menu{gap:12px}.desktop-menu a{font-size:14px}.brand img{width:118px}.footer-grid{grid-template-columns:1.2fr 1fr 1fr 120px}.start-banner{grid-template-columns:160px 1fr}}
@media(max-width:900px){.desktop-menu,.nav-start{display:none}.hamburger{display:block}.nav{height:66px}.brand img{width:106px}.hero-grid{grid-template-columns:1fr;grid-template-areas:"content" "phone" "rail";text-align:center}.hero-content{margin:auto}.hero-content p{margin-inline:auto}.hero-actions{justify-content:center}.phone-stage{min-height:0;padding-block:14px}.hero-phone{width:220px}.feature-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 0 8px}.feature-rail::-webkit-scrollbar{display:none}.feature-rail div{min-width:180px;scroll-snap-align:center}.stats{grid-template-columns:repeat(4,1fr)}.experience-grid{grid-template-columns:1fr;max-width:560px;margin:auto}.glass-card{min-height:auto}.reader-phone{width:230px}.mini-cards{grid-template-columns:repeat(2,1fr)}.category-row{display:flex;overflow-x:auto;padding:3px 2px 8px}.category-row div{min-width:135px}.book-grid{display:flex;overflow-x:auto;padding:3px 2px 8px}.book-grid article{min-width:150px}.community{grid-template-columns:1fr;gap:22px}.community-text{order:1;text-align:center;padding:28px}.community-text p{margin-inline:auto}.community-shot{order:2}.community-phone{width:270px}.start-banner{grid-template-columns:1fr;text-align:center;padding:28px}.start-icon{width:max-content;margin:auto}.footer-grid{grid-template-columns:1fr 1fr;gap:24px}.trust-box{width:116px}.slide-btn{display:none}}
@media(max-width:640px){body{background:#fff}.container{width:min(100% - 28px,440px)}.section-pad{padding:34px 0}.nav{height:62px}.brand img{width:94px}.mobile-drawer{top:66px}.hero{padding-top:22px}.hero:before{height:520px}.hero-grid{gap:14px;text-align:right}.pill{font-size:12px;padding:7px 12px}h1{font-size:30px;line-height:1.38;margin:17px 0 10px}.hero-content p,p{font-size:14px;line-height:1.9}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btn.big{padding:13px 12px}.phone-stage{min-height:0;padding-block:10px}.hero-phone{width:200px}.blob{width:245px;height:245px}.feature-rail{margin-inline:-2px}.feature-rail div{min-width:168px;min-height:96px;padding:13px 10px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;background:transparent;border:0;box-shadow:none;padding:0;margin-top:18px}.stats div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 6px;box-shadow:0 10px 24px rgba(40,28,96,.06)}.stats div+div{border-right:1px solid var(--line)}.stats b{font-size:22px}.section-title{text-align:right;margin-bottom:20px}h2{font-size:25px;line-height:1.45}.section-title p,.section-head p{font-size:13.5px}.experience-grid{gap:14px}.glass-card{text-align:right;align-items:flex-start;padding:18px;border-radius:20px}.reader-phone{width:215px}.mini-cards{grid-template-columns:1fr;gap:12px}.mini-cards article{min-height:auto;text-align:right;padding:17px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:8px}.mini-cards article h3{margin:0}.mini-cards article p{grid-column:1/-1;margin:4px 0 0}.section-head{display:block}.small-link{display:inline-block;margin-top:8px}.category-row div{min-width:122px;min-height:112px;padding:13px 8px}.cat-icon{width:42px;height:42px}.category-row b{font-size:13.5px}.book-grid article{min-width:138px;padding:11px}.book-grid b{font-size:14px}.community-text{padding:22px 18px;text-align:right}.community-text h2{font-size:25px}.community-text p{font-size:14px}.community-phone{width:238px;border-width:8px;border-radius:32px}.start-banner{margin-block:18px;padding:22px 16px;border-radius:24px;gap:15px}.start-icon img{width:118px}.start-banner h2{font-size:24px}.start-banner p{font-size:14px}.footer{padding:30px 0 16px}.footer-grid{grid-template-columns:1fr;text-align:center;gap:18px}.footer-logo img{margin:auto;width:132px}.footer p{margin:10px auto 12px;font-size:13px}.footer-social{justify-content:center}.footer-links{padding-top:6px}.footer-links a{margin:7px 0}.trust-box{width:108px;margin:auto;padding:8px}.trust-box img{width:78px;min-height:78px}.copyright{margin-top:18px;padding-top:12px;font-size:12px}.reveal{opacity:1;transform:none}}

/* v7 refinements: compact CTA/footer, cleaner mobile sliders, no layout overlaps */
.site-header{box-shadow:0 8px 26px rgba(36,28,76,.04)}
.nav{gap:20px}.desktop-menu{gap:24px}.brand img{width:132px;max-height:52px;object-fit:contain}.nav-start{margin-right:auto}
.glass-card,.mini-cards article,.category-row div,.book-grid article,.community-text{box-shadow:0 18px 45px rgba(42,28,96,.07)}
.feature-rail div,.glass-card,.mini-cards article,.category-row div,.book-grid article{justify-items:center;text-align:center}
.experience-grid{gap:18px}.glass-card{min-height:168px}.mini-cards article{min-height:132px}.community-text{padding:34px 38px}.community-phone{overflow:hidden;background:#fff}.community-phone img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.start-banner{grid-template-columns:1.1fr 360px;min-height:315px;padding:34px 48px;margin-block:42px;background:linear-gradient(135deg,#6d4df7 0%,#7555f5 48%,#ff9550 100%)}
.start-copy{position:relative;z-index:2}.start-copy .btn{margin-top:18px}.cta-kicker{display:inline-flex;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);font-size:13px;font-weight:900;margin-bottom:12px}.start-preview{position:relative;height:260px;display:flex;align-items:flex-end;justify-content:center}.start-phone{width:150px;aspect-ratio:9/19;border-width:8px;border-radius:30px;box-shadow:0 24px 56px rgba(0,0,0,.20);transform:rotate(-4deg);overflow:hidden}.start-phone img{width:100%;height:100%;object-fit:cover;object-position:top center}.start-mark{position:absolute;right:5px;bottom:22px;width:150px;filter:drop-shadow(0 20px 30px rgba(0,0,0,.18));opacity:.95}.start-icon,.spark{display:none!important}
.footer{padding:34px 0 18px}.footer-grid{grid-template-columns:1.25fr .72fr .72fr 116px;gap:24px}.footer-logo img{width:142px;max-height:70px;object-fit:contain}.footer p{margin:10px 0 14px}.footer-links a{margin:7px 0}.trust-box{padding:8px;border-radius:16px}.trust-box img{width:82px;min-height:82px}.copyright{margin-top:22px;padding-top:14px}
.snap-row{overscroll-behavior-inline:contain}.slider-shell:before,.slider-shell:after{content:"";position:absolute;top:0;bottom:0;width:34px;z-index:2;pointer-events:none}.slider-shell:before{right:0;background:linear-gradient(90deg,rgba(255,255,255,0),#fff)}.slider-shell:after{left:0;background:linear-gradient(-90deg,rgba(255,255,255,0),#fff)}
@media(max-width:1180px){.desktop-menu{gap:17px}.nav{gap:14px}.brand img{width:116px}.start-banner{grid-template-columns:1fr 280px}}
@media(max-width:900px){.brand img{width:104px}.start-banner{grid-template-columns:1fr;min-height:auto;text-align:center}.start-preview{height:210px;order:-1}.start-mark{right:calc(50% - 155px);width:116px}.start-phone{width:125px}.footer-grid{grid-template-columns:1.25fr .8fr .8fr;align-items:start}.trust-box{grid-column:1/-1;justify-self:center}}
@media(max-width:640px){.container{width:min(100% - 24px,430px)}.section-pad{padding:30px 0}.nav{height:60px;padding-inline:0}.brand img{width:90px;max-height:42px}.hamburger{width:40px;height:40px}.mobile-drawer{top:60px;left:12px;right:12px}.hero-grid{text-align:center}.hero-content{text-align:center}.hero-actions{grid-template-columns:1fr}.feature-rail div{min-width:158px;min-height:88px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats div{padding:10px 6px}.stats b{font-size:20px}.experience-grid{max-width:390px}.glass-card{align-items:center;text-align:center;min-height:auto;padding:16px}.reader-phone{width:196px}.mini-cards article{grid-template-columns:1fr;text-align:center;place-items:center;padding:15px}.mini-cards article p{font-size:13.5px}.category-row,.book-grid{display:flex;overflow-x:auto;gap:10px;padding:2px 2px 10px;scroll-padding-inline:2px}.category-row div{min-width:116px;min-height:104px;border-radius:16px}.book-grid article{min-width:128px;border-radius:16px}.slide-btn{display:flex;width:32px;height:32px;font-size:22px}.slide-btn.prev{right:-6px}.slide-btn.next{left:-6px}.community{gap:14px}.community-text{padding:20px 16px;text-align:center}.community-shot{display:flex}.community-phone{width:210px;max-height:430px;border-width:7px;border-radius:28px}.start-banner{padding:20px 16px;border-radius:22px;margin-block:18px;gap:10px}.start-banner h2{font-size:23px}.start-preview{height:170px}.start-phone{width:104px;border-width:6px;border-radius:24px}.start-mark{width:98px;right:calc(50% - 125px);bottom:18px}.footer{padding:24px 0 14px}.footer-grid{grid-template-columns:1fr 1fr;gap:14px;text-align:right}.footer-brand{grid-column:1/-1;text-align:center}.footer-logo img{width:112px;margin:auto}.footer p{max-width:310px;margin:8px auto 10px;font-size:12.5px;line-height:1.75}.footer-social{justify-content:center}.footer-social a{width:34px;height:34px}.footer h4{font-size:14px;margin-bottom:8px}.footer-links a{font-size:12.5px;margin:6px 0}.trust-box{grid-column:1/-1;width:94px;margin:2px auto 0}.trust-box img{width:70px;min-height:70px}.copyright{margin-top:12px;padding-top:10px;font-size:11.5px}.slider-shell:before,.slider-shell:after{width:20px}}

/* v8: brand-themed section separation (purple+orange from the logo) + mobile fixes */

/* softer, less-stark background on mobile so the layout doesn't read as a wall of white */
@media(max-width:640px){body{background:linear-gradient(180deg,#f4f1ff 0,#fbfaff 46%,#f4f1ff 100%)}}

/* alternating full-bleed tinted bands so each section reads as a distinct block */
.categories-section,.community{position:relative;z-index:0}
.categories-section:before,.community:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;transform:translateX(-50%);width:100vw;background:linear-gradient(180deg,#f5f2ff,#f2ecff)}
/* keep the category slider edge-fade matching its tinted band (not white) */
.categories-section .slider-shell:before{background:linear-gradient(90deg,rgba(244,240,255,0),#f4f0ff)}
.categories-section .slider-shell:after{background:linear-gradient(-90deg,rgba(244,240,255,0),#f4f0ff)}

/* brand accent bar under section headings for clearer visual hierarchy */
.section-title>h2,.section-head h2,.community-text>h2{position:relative}
.section-title>h2:after,.section-head h2:after,.community-text>h2:after{content:"";display:block;height:4px;width:52px;border-radius:6px;margin-top:14px;background:linear-gradient(90deg,var(--primary),var(--orange))}
.section-title>h2:after{margin-inline:auto}
.section-head h2:after,.community-text>h2:after{margin-inline:0}
@media(max-width:900px){.community-text>h2:after{margin-inline:auto}}
@media(max-width:640px){.section-title>h2:after{margin-inline:0}}

/* fix 1 — overlapping slider arrows removed on mobile; native swipe + edge-fade remain */
@media(max-width:640px){.slide-btn{display:none}}

/* fix 2 — community phone: let aspect-ratio drive height (max-height was squashing/cropping it) */
@media(max-width:640px){.community-phone{max-height:none}}

/* fix 3 — start banner: brand mark sits above a fully-visible phone; nothing clipped */
@media(max-width:900px){
 .start-preview{height:auto;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding-top:2px}
 .start-mark{position:static;order:-1;right:auto;bottom:auto;width:138px;margin:0 auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.18))}
 .start-phone{transform:rotate(-3deg)}
}
@media(max-width:640px){.start-mark{width:118px}.start-phone{width:130px}}

/* v9: start banner — upright phone popping out of the card, logo badge over the screen, richer typography */
.start-banner{overflow:visible;background:
  radial-gradient(130px 130px at 88% 116%,rgba(255,255,255,.20),transparent 70%),
  radial-gradient(180px 180px at 10% -22%,rgba(255,255,255,.16),transparent 72%),
  linear-gradient(135deg,#6d4df7 0%,#7555f5 48%,#ff9550 100%)}
.start-banner:before{display:none}

/* typography polish on the copy */
.start-copy .cta-kicker{letter-spacing:.02em}
.start-banner h2{font-weight:900;letter-spacing:-.02em;line-height:1.34;text-shadow:0 6px 20px rgba(22,8,60,.20)}
.start-banner h2 .hl{position:relative;white-space:nowrap}
.start-banner h2 .hl:after{content:"";position:absolute;left:-3px;right:-3px;bottom:.05em;height:.36em;z-index:-1;border-radius:6px;background:linear-gradient(90deg,#ffd277,#ff9d52)}
.start-banner p{opacity:.96;line-height:2.05}

/* logo turned into a clean white brand badge that lands on the phone screen */
.start-mark{background:#fff;border-radius:15px;padding:9px 13px;box-shadow:0 16px 32px rgba(15,6,45,.34);opacity:1;filter:none}

/* DESKTOP/TABLET ≥901px: upright phone pops out of the top edge */
@media(min-width:901px){
  .start-banner{margin-block:140px 42px}
  .start-preview{position:relative;align-self:stretch}
  .start-phone{position:absolute;left:50%;bottom:16px;right:auto;transform:translateX(-50%);width:196px;border-width:9px;border-radius:34px}
  .start-mark{position:absolute;left:50%;bottom:92px;right:auto;transform:translateX(-50%);width:150px;z-index:3}
}

/* MOBILE ≤900px: upright phone pops out of the top, logo badge on the screen */
@media(max-width:900px){
  .start-banner{display:flex;flex-direction:column;align-items:center;margin-top:104px}
  .start-preview{position:relative;order:-1;height:auto;margin-top:-96px;display:block;padding:0;z-index:2}
  .start-phone{transform:none;width:154px;margin:0 auto}
  .start-mark{position:absolute;left:50%;bottom:48px;right:auto;transform:translateX(-50%);width:130px;z-index:3;margin:0;order:0}
}
@media(max-width:640px){
  .start-banner{margin-top:92px;padding-top:18px}
  .start-phone{width:142px}
  .start-mark{width:118px;bottom:44px}
}

/* v10: publishers list + brand gradient border on white cards */

/* publishers */
.publishers{margin-top:34px}
.pub-title{text-align:center;font-size:17px;font-weight:800;color:var(--muted);margin:0 0 16px;position:relative}
.pub-title:after{content:"";display:block;width:46px;height:3px;border-radius:6px;margin:10px auto 0;background:linear-gradient(90deg,var(--primary),var(--orange))}
.publisher-row{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.publisher-card{display:grid;place-items:center;padding:18px 30px;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(42,28,96,.07);min-width:200px;min-height:124px}
.publisher-card img{height:86px;width:auto;max-width:170px;object-fit:contain;mix-blend-mode:multiply}

/* brand gradient border on the white cards (uses a masked ring so it follows the radius and ignores bg overrides) */
.glass-card,.mini-cards article,.feature-rail div,.category-row div,.book-grid article,.community-text,.publisher-card,.stats{position:relative;border-color:transparent}
.glass-card:before,.mini-cards article:before,.feature-rail div:before,.category-row div:before,.book-grid article:before,.community-text:before,.publisher-card:before,.stats:before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1.4px;
  background:linear-gradient(135deg,var(--primary) 0%,#a274ff 45%,var(--orange) 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:.55;pointer-events:none}
@media(max-width:640px){
  .stats:before{display:none}
  .stats div{position:relative;border-color:transparent}
  .stats div:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.4px;background:linear-gradient(135deg,var(--primary),#a274ff 45%,var(--orange));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.55;pointer-events:none}
}

/* v11: fuller mobile start banner + compact footer with enamad beside the link columns */

/* MOBILE start banner: reduce the empty gap, let the phone pop out less, add a brand glow behind it */
@media(max-width:900px){
  .start-banner{margin-top:64px}
  .start-preview{margin-top:-58px}
  .start-preview:before{content:"";position:absolute;z-index:0;left:50%;top:2px;transform:translateX(-50%);width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(125,92,255,.34),rgba(255,143,80,.18) 52%,transparent 70%);filter:blur(4px);pointer-events:none}
  .start-phone{position:relative;z-index:1}
}
@media(max-width:640px){
  .start-banner{margin-top:54px;padding-top:20px}
  .start-preview{margin-top:-52px}
  .start-preview:before{width:250px;height:250px}
}

/* MOBILE footer: cluster the two link columns and bring the enamad badge beside them */
@media(max-width:640px){
  .footer-grid{grid-template-columns:auto auto auto;justify-content:center;align-items:start;gap:14px 22px;text-align:right}
  .footer-brand{grid-column:1/-1;justify-self:center;text-align:center;margin-bottom:4px}
  .footer-links{min-width:0}
  .footer-links a{margin:6px 0}
  .trust-box{grid-column:auto;grid-row:2;width:88px;margin:0;align-self:center;justify-self:center}
  .trust-box img{width:66px;min-height:66px}
  .copyright{grid-column:1/-1}
}

/* v12: publisher join section + form */
.join-section{position:relative;z-index:0}
.join-section:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;transform:translateX(-50%);width:100vw;background:linear-gradient(135deg,#f1ecff 0%,#fbf8ff 52%,#fff3e9 100%)}
.join-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:36px;align-items:start}
.join-benefits{display:grid;grid-template-columns:1fr 1fr;gap:22px 24px}
.benefit{display:flex;gap:13px;align-items:flex-start}
.benefit .icon{flex:0 0 auto}
.benefit b{display:block;font-size:16px;margin-bottom:5px}
.benefit small{display:block;color:var(--muted);font-size:13.5px;line-height:1.85}
.join-form{position:relative;background:#fff;border-radius:24px;padding:26px 24px;box-shadow:0 24px 60px rgba(42,28,96,.12)}
.join-form:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.4px;background:linear-gradient(135deg,var(--primary),#a274ff 45%,var(--orange));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.6;pointer-events:none}
.join-form h3{font-size:20px;margin:0 0 4px}
.join-form .form-sub{color:var(--muted);font-size:13px;margin:0 0 18px;line-height:1.7}
.field{margin-bottom:13px}
.field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px;color:#33353f}
.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px 14px;font-family:inherit;font-size:14px;background:#fbfaff;color:var(--ink);transition:border-color .18s,box-shadow .18s,background .18s}
.field textarea{resize:vertical;min-height:80px}
.field input::placeholder,.field textarea::placeholder{color:#aab0bd}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px rgba(107,77,246,.13)}
.field input[type=tel],.field input[type=email]{direction:ltr;text-align:right}
.field input.invalid,.field textarea.invalid{border-color:#e8728a;box-shadow:0 0 0 3px rgba(226,61,91,.10)}
.join-form .btn{width:100%;margin-top:8px}
.form-msg{margin:14px 0 0;font-size:13.5px;font-weight:800;text-align:center;line-height:1.7}
.form-msg.ok{color:#13a256}
.form-msg.err{color:#e23d5b}
@media(max-width:900px){.join-grid{grid-template-columns:1fr;gap:26px;max-width:600px;margin-inline:auto}.join-form{order:2}}
@media(max-width:640px){.join-benefits{grid-template-columns:1fr;gap:16px}.join-form{padding:20px 16px}.benefit b{font-size:15px}.benefit small{font-size:13px}}

/* v13: richer heading typography, mobile hero alignment, prettier publisher benefits */

/* emphasized gradient word inside headings */
.t-grad{background:linear-gradient(115deg,var(--primary) 6%,#9a6bff 46%,var(--orange) 94%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:900}
h1,h2{font-weight:900}
h2{letter-spacing:-.03em}
.section-title h2,.section-head h2,.community-text h2{line-height:1.3}

/* hero headline: tighter, with a gradient emphasis block */
.hero-content h1{letter-spacing:-.04em;line-height:1.16}
.hero-content h1 strong{display:block;font-size:1.1em;margin-top:.12em;background:linear-gradient(115deg,var(--primary),#8a63ff 44%,var(--orange));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* MOBILE: the hero headline reads better right-aligned than centered */
@media(max-width:640px){
  .hero-grid,.hero-content{text-align:right}
  .hero-content{margin-inline:0;max-width:none}
  .hero-content p{margin-inline:0}
  .pill{margin-inline:0}
  .hero-content h1{font-size:31px;line-height:1.32}
}

/* prettier publisher benefits — cards with gradient ring + hover lift */
.join-benefits{gap:16px 18px}
.benefit{background:#fff;border-radius:18px;padding:18px;box-shadow:0 12px 30px rgba(42,28,96,.06);position:relative;transition:transform .22s ease,box-shadow .22s ease}
.benefit:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(42,28,96,.13)}
.benefit:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.3px;background:linear-gradient(135deg,var(--primary),#a274ff 45%,var(--orange));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;pointer-events:none}
.benefit .icon{width:46px;height:46px;border-radius:14px}
.benefit .icon svg{width:23px;height:23px}
.benefit b{font-size:15.5px}

/* v14: self-hosted Vazirmatn font, scroll-hiding mobile header, one-line hero lead, mobile header CTA */

@font-face{font-family:'Vazirmatn';src:url('assets/fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
body{font-family:'Vazirmatn',Dana,IRANSans,Tahoma,Arial,sans-serif}
button,input,textarea,select{font-family:inherit}

/* header reveals on scroll-up, hides on scroll-down (mobile) */
.site-header{transition:transform .32s ease,box-shadow .3s ease}
@media(max-width:900px){.site-header.nav-hidden{transform:translateY(-100%)}}

/* CTA on the top bar next to the menu toggle (mobile only) */
.header-cta{display:none}
@media(max-width:900px){
  .header-cta{display:inline-flex;margin-right:auto;padding:9px 15px;font-size:13px;gap:6px;white-space:nowrap}
  .header-cta svg{width:1.05em;height:1.05em}
}
@media(max-width:640px){.header-cta{padding:8px 11px;font-size:11.5px;border-radius:12px;gap:5px}.brand img{width:82px}}
@media(max-width:340px){.header-cta{font-size:0;padding:9px 11px;gap:0}.header-cta svg{width:18px;height:18px}}

/* hero lead on a single line in mobile, with a bold gradient focus word below */
@media(max-width:640px){
  .hero-content h1{font-size:clamp(17px,5vw,24px);line-height:1.35;margin-bottom:12px}
  .h1-lead{white-space:nowrap}
  .hero-content h1 strong{font-size:1.7em;margin-top:.16em;line-height:1.1}
}
