/* صفحه‌ی اول — پاستلی رنگین‌کمانی، مرحله‌ای و ساده */
.hm{--pink:#ffd6e0;--pink-d:#e8668b;--yellow:#fff1b8;--yellow-d:#c99700;--green:#d3f2d8;--green-d:#2f9e5b;--blue:#d2e8ff;--blue-d:#3a82d6;--lilac:#e5dcff;--lilac-d:#7a5bd0;--peach:#ffe0cc;--peach-d:#d9743a;
  min-height:100vh;background:linear-gradient(180deg,#fff7fb 0%,#f3f9ff 45%,#f4fff6 100%);color:#2b2d42;overflow-x:hidden}
.hm *{box-sizing:border-box}
.hm-nav{max-width:760px;margin:0 auto;padding:.9rem 1.1rem;display:flex;justify-content:space-between;align-items:center}
.hm-login{background:#fff;border:2px solid var(--lilac);color:var(--lilac-d);font-weight:800;padding:.45rem 1.1rem;border-radius:99px;text-decoration:none}
.hm-hero{position:relative;text-align:center;padding:1.2rem 1.1rem 1.4rem;max-width:760px;margin:0 auto}
.hm-hero h1{position:relative;font-size:clamp(1.8rem,7vw,2.8rem);line-height:1.5;font-weight:900;margin:.3rem 0 .4rem}
.hm-hero h1 span{background:linear-gradient(90deg,#e8668b,#f0a34a,#4cb86f,#3a82d6,#7a5bd0);-webkit-background-clip:text;background-clip:text;color:transparent}
.hm-hero p{position:relative;color:#5c6075;font-size:1.05rem;margin:0}
.hm-blobs i{position:absolute;border-radius:50%;opacity:.7;filter:blur(2px);animation:hmf 7s ease-in-out infinite}
.hm-blobs i:nth-child(1){width:70px;height:70px;background:var(--pink);top:0;right:6%}
.hm-blobs i:nth-child(2){width:46px;height:46px;background:var(--yellow);top:30%;left:5%;animation-delay:-2s}
.hm-blobs i:nth-child(3){width:58px;height:58px;background:var(--green);bottom:0;right:14%;animation-delay:-4s}
.hm-blobs i:nth-child(4){width:38px;height:38px;background:var(--blue);top:8%;left:22%;animation-delay:-1s}
.hm-blobs i:nth-child(5){width:32px;height:32px;background:var(--lilac);bottom:8%;left:12%;animation-delay:-3s}
@keyframes hmf{50%{transform:translateY(-12px)}}
@media (prefers-reduced-motion:reduce){.hm-blobs i{animation:none}}

.hm-wizard{max-width:560px;margin:0 auto;padding:1.2rem 1.1rem 1.4rem;background:#fff;border-radius:28px;box-shadow:0 10px 40px rgba(122,91,208,.12);position:relative;scroll-margin-top:12px}
@media (min-width:600px){.hm-wizard{padding:1.6rem}}
.hm-dots{display:flex;gap:.4rem;justify-content:center;list-style:none;margin:0 0 .9rem;padding:0}
.hm-dots li{width:34px;height:8px;border-radius:99px;background:#eee;transition:.3s}
.hm-dots li.on:nth-child(1){background:var(--pink-d)}.hm-dots li.on:nth-child(2){background:var(--yellow-d)}.hm-dots li.on:nth-child(3){background:var(--green-d)}
.hm-step{display:none;animation:hmin .35s ease}
.hm-step.on{display:block}
@keyframes hmin{from{opacity:0;transform:translateY(10px)}}
.hm-step h2{font-size:1.3rem;font-weight:900;margin:0 0 1rem;text-align:center;display:flex;align-items:center;justify-content:center;gap:.55rem}
.hm-step h2 .n{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lilac);color:var(--lilac-d);font-size:1rem}
.hm-back{background:none;border:0;color:#8a8fa8;font:inherit;font-weight:700;cursor:pointer;padding:.2rem .3rem;margin-bottom:.3rem}

.hm-levels{display:grid;gap:.75rem;grid-template-columns:1fr 1fr}
.hm-level{border:0;font:inherit;cursor:pointer;border-radius:22px;padding:1.1rem .6rem;display:flex;flex-direction:column;align-items:center;gap:.25rem;text-align:center;transition:transform .15s,box-shadow .15s;color:inherit;min-height:150px;justify-content:center}
.hm-level:hover,.hm-level:focus-visible{transform:translateY(-4px);box-shadow:0 8px 22px rgba(0,0,0,.1);outline:none}
.hm-level:active{transform:scale(.97)}
.hm-level .em{font-size:2.6rem;line-height:1}
.hm-level b{font-size:1.05rem;font-weight:900}
.hm-level small{font-size:.8rem;opacity:.75;line-height:1.5}

.hm-grades{display:grid;gap:.6rem;grid-template-columns:repeat(2,1fr)}
@media (min-width:480px){.hm-grades{grid-template-columns:repeat(3,1fr)}}
.hm-grades[hidden]{display:none}
.hm-grade{border:0;font:inherit;font-weight:800;font-size:1.05rem;cursor:pointer;border-radius:18px;padding:1rem .4rem;transition:transform .15s;color:inherit}
.hm-grade:hover,.hm-grade:focus-visible{transform:translateY(-3px);outline:none}

.hm-pick{text-align:center;color:#5c6075;margin:0 0 1rem}
.hm-pick b{color:var(--lilac-d)}
.hm-go{display:block;text-align:center;text-decoration:none;color:#fff;font-weight:900;font-size:1.2rem;padding:1rem;border-radius:20px;background:linear-gradient(90deg,#f08aa6,#f3b04e,#5cc37f,#5aa0e6);box-shadow:0 8px 20px rgba(90,160,230,.3);transition:transform .15s}
.hm-go:hover{transform:translateY(-2px)}
.hm-note{text-align:center;color:#8a8fa8;font-size:.85rem;margin:.8rem 0 0}

.c-pink{background:var(--pink);color:#7a2845}.c-yellow{background:var(--yellow);color:#6b5200}.c-green{background:var(--green);color:#1d5c37}
.c-blue{background:var(--blue);color:#1f4f85}.c-lilac{background:var(--lilac);color:#47308a}.c-peach{background:var(--peach);color:#7a3d14}

.hm-try{max-width:560px;margin:1rem auto 0;padding:0 1.1rem;text-align:center}
.hm-try-btn{display:block;background:#fff;border:2px dashed var(--lilac);border-radius:18px;color:var(--lilac-d);font-weight:800;text-decoration:none;padding:.85rem 1rem}
.hm-try-btn:hover{background:var(--lilac)}

.hm-how{max-width:560px;margin:1.4rem auto 0;padding:0 1.1rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}
.hm-how-i{border-radius:20px;padding:.9rem .4rem;text-align:center;display:flex;flex-direction:column;gap:.2rem}
.hm-how-i span{font-size:1.8rem}.hm-how-i b{font-size:.92rem}.hm-how-i small{font-size:.74rem;opacity:.75;line-height:1.5}
.hm-foot{display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center;color:#8a8fa8;font-size:.82rem;padding:1.6rem 1rem 2rem}
.hm-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.2rem}
.hm-foot a{color:inherit}
.hm-level:last-child:nth-child(odd){grid-column:1/-1;min-height:110px}
.hm-free{display:inline-block;background:var(--green);color:#1d5c37;font-weight:800;font-size:.9rem;padding:.3rem .9rem;border-radius:99px;margin-top:.6rem}
.hm-name{display:block;width:100%;font:inherit;font-size:1.15rem;text-align:center;padding:.9rem;border:3px solid var(--lilac);border-radius:18px;margin-bottom:.8rem;background:#fff}
.hm-name:focus{outline:none;border-color:var(--lilac-d)}
button.hm-go{width:100%;border:0;font-family:inherit;cursor:pointer}
.hm-note a{color:var(--lilac-d);font-weight:700}
.hm-flash{max-width:560px;margin:0 auto;padding:0 1.1rem}

/* کارت مقطع‌ها: هر کدام ظاهر و حس خودش را دارد */
.hm-level.lv-preschool{border-radius:30px;min-height:160px}.hm-level.lv-preschool .em{font-size:3rem}
.hm-level.lv-primary{border-radius:24px}
.hm-level.lv-middle{border-radius:16px;min-height:120px}.hm-level.lv-middle .em{font-size:2rem}
.hm-level.lv-konkur{border-radius:14px;min-height:96px;background:#1f3a5f;color:#fff;flex-direction:row;gap:.8rem;text-align:start;justify-content:flex-start;padding:1rem 1.2rem}
.hm-level.lv-konkur .em{font-size:1.8rem}.hm-level.lv-konkur small{opacity:.85}
.hm-level.lv-konkur b,.hm-level.lv-konkur small{display:block}
.c-navy{background:#1f3a5f;color:#fff}
.hm-who{max-width:560px;margin:1.4rem auto 0;padding:0 1.1rem;display:grid;gap:.7rem}
@media (min-width:600px){.hm-who{grid-template-columns:1fr 1fr}}
.hm-who-i{background:#fff;border:2px solid #ece6fb;border-radius:18px;padding:1rem 1.1rem}
.hm-who-i h3{margin:0 0 .3rem;font-size:1rem}.hm-who-i p{margin:0;font-size:.9rem;color:#5c6075;line-height:1.9}
.hm-who-i a{color:var(--lilac-d);font-weight:700}
.hm-level.lv-konkur{grid-column:1/-1}
