:root{
  --navy:#14215c; --blue:#1d4ed8; --blue2:#2563eb; --orange:#f97316; --red:#e11d2e;
  --green:#16a34a; --yellow:#facc15; --ink:#1f2937; --muted:#6b7280; --line:#e5e7eb;
  --bg:#f3f6fb; --card:#fff; --soft:#eef4ff;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:#dfe6f1}
body{font-family:'Poppins','Noto Sans Devanagari',system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
input,textarea,select{font:inherit}

.app{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;position:relative;padding-bottom:84px;box-shadow:0 0 40px rgba(0,0,0,.08)}

/* Header */
.top{display:flex;align-items:center;gap:6px;padding:10px 12px 8px;position:sticky;top:0;background:#fff;z-index:20;border-bottom:1px solid #f0f2f6}
.icon-btn{width:38px;height:38px;display:grid;place-items:center;color:var(--navy);border-radius:10px}
.icon-btn svg{width:26px;height:26px;stroke-width:2.4}
.brand{flex:1;display:flex;align-items:center;gap:4px;cursor:pointer;min-width:0}
.logo{width:48px;height:42px;stroke:none;flex-shrink:0}
.brand-name{font-weight:800;font-size:21px;line-height:1;letter-spacing:-.3px}
.b1{color:var(--navy)} .b2{color:var(--orange)}
.brand-tag{font-size:9.5px;font-weight:600;color:var(--navy);letter-spacing:.4px;margin-top:2px}
.brand-hi{font-size:10.5px;font-weight:600;color:#111;margin-top:1px;white-space:nowrap}
.top-actions{display:flex;align-items:center;gap:2px}
.cart-btn{position:relative}
.badge{position:absolute;top:1px;right:0;background:var(--orange);color:#fff;font-size:10px;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.avatar-btn{width:36px;height:36px;border-radius:50%;background:#e8eefc;color:var(--navy);display:grid;place-items:center}
.avatar-btn svg{width:20px;height:20px;stroke:none}

/* Hero */
.hero{margin:10px 12px 0;border-radius:18px 18px 0 0;background:linear-gradient(120deg,#eef0e2 0%,#dbeafc 45%,#d5ebfd 100%);padding:14px 14px 20px;position:relative;overflow:hidden;min-height:300px}
.pill{display:inline-block;background:#fff4d6;color:#3b2f0b;font-size:10.5px;font-weight:600;padding:4px 10px;border-radius:20px}
.hero h1{font-size:24px;line-height:1.18;color:var(--navy);font-weight:800;margin-top:8px;max-width:74%;position:relative;z-index:2}
.hero .checks{max-width:58%}
.hero h1 .r{color:var(--red)}
.hand{font-family:'Kalam',cursive;font-size:24px;color:var(--navy);position:relative;display:inline-block;margin-top:2px}
.hand:after{content:"";position:absolute;left:0;right:-10px;bottom:0;height:3px;border-radius:3px;background:var(--red);transform:rotate(-2deg)}
.checks{list-style:none;margin-top:10px;position:relative;z-index:2}
.checks li{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;margin:5px 0}
.checks li:before{content:"✓";width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.hero-art{position:absolute;right:0;bottom:0;width:62%;height:auto;z-index:1;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 32%),linear-gradient(to bottom,transparent 0,#000 7%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 32%),linear-gradient(to bottom,transparent 0,#000 7%);mask-composite:intersect}
.slogan{position:absolute;right:14px;top:34px;font-family:'Kalam',cursive;color:var(--navy);font-size:15px;line-height:1.05;transform:rotate(-8deg);text-align:center;z-index:2}
.slogan b{display:block;color:var(--navy)} .slogan span{display:block;height:3px;background:var(--orange);border-radius:3px;margin-top:3px}

/* Price bar */
.price-bar{margin:-8px 12px 0;background:#fff;border-radius:16px;box-shadow:0 6px 20px rgba(20,33,92,.12);padding:12px;display:flex;align-items:center;gap:8px;position:relative;z-index:3}
.old{font-size:18px;font-weight:700;text-decoration:line-through;text-decoration-color:var(--red);color:var(--navy)}
.old-sub{font-size:9.5px;font-weight:600;max-width:90px}
.big{white-space:nowrap;font-size:30px;font-weight:800;color:var(--green);letter-spacing:-1px;line-height:1}
.big small{font-size:14px;color:var(--navy);font-weight:700;letter-spacing:0}
.burst{width:58px;height:58px;flex-shrink:0;background:var(--red);color:#fff;display:grid;place-content:center;text-align:center;clip-path:polygon(50% 0,61% 10%,75% 5%,79% 20%,95% 25%,90% 39%,100% 50%,90% 61%,95% 75%,79% 80%,75% 95%,61% 90%,50% 100%,39% 90%,25% 95%,21% 80%,5% 75%,10% 61%,0 50%,10% 39%,5% 25%,21% 20%,25% 5%,39% 10%)}
.burst b{font-size:16px;line-height:1} .burst i{font-style:normal;font-size:7px}
.buy-col{margin-left:auto;text-align:center;flex-shrink:0}
.btn-orange{background:linear-gradient(90deg,#f97316,#ea580c);color:#fff;font-weight:700;font-size:15px;padding:10px 18px;border-radius:24px;box-shadow:0 4px 12px rgba(234,88,12,.35);white-space:nowrap}
.secure{font-size:9.5px;color:var(--muted);margin-top:4px}

/* Categories */
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 12px 4px}
.cat{background:var(--soft);border-radius:12px;padding:10px 2px 8px;text-align:center;font-size:10.5px;font-weight:600;line-height:1.25;color:#1f2a44}
.cat .ic{width:34px;height:34px;margin:0 auto 5px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--blue2)}
.cat .ic svg{width:20px;height:20px}

/* Section */
.sec{padding:14px 12px 4px}
.sec-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.sec-head h2{font-size:16px;font-weight:700;color:var(--navy)}
.see-all{margin-left:auto;color:var(--blue2);font-size:12px;font-weight:600}
.online-pill{background:#e7f8ec;color:#14532d;font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:14px;display:flex;align-items:center;gap:5px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block}

.hscroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}

/* Experts */
.expert{flex:0 0 42%;scroll-snap-align:start;border:1px solid var(--line);border-radius:12px;padding:6px;background:#fff}
.expert .ph{height:78px;border-radius:8px;position:relative;display:grid;place-items:center;font-size:28px;font-weight:700;color:#fff}
.expert .on{position:absolute;top:5px;right:5px;background:#fff;color:#14532d;font-size:9px;padding:1px 6px;border-radius:10px;display:flex;align-items:center;gap:3px}
.expert .on .dot{width:6px;height:6px}
.expert h3{font-size:13px;margin-top:6px;font-weight:700}
.expert p{font-size:10.5px;color:#4b5563;margin-bottom:6px}
.btn-blue{width:100%;background:var(--blue);color:#fff;font-size:11.5px;font-weight:600;border-radius:6px;padding:6px;display:flex;align-items:center;justify-content:center;gap:5px}
.btn-blue svg{width:15px;height:15px;fill:#fff;stroke:none}

/* Courses */
.course{flex:0 0 46%;scroll-snap-align:start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;position:relative}
.course .ch{display:flex;gap:7px;align-items:center;min-height:40px}
.course .ci{width:34px;height:34px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px}
.course .ci svg{width:18px;height:18px;stroke-width:2.6}
.course h3{font-size:11.5px;font-weight:600;line-height:1.3}
.course .meta{font-size:10.5px;color:var(--muted);margin:8px 0 4px}
.course .pr{font-size:17px;font-weight:800}
.course .pr s{font-size:10px;color:var(--muted);font-weight:500;margin-left:3px}
.off{position:absolute;right:6px;top:66px;width:38px;height:38px;border-radius:50%;background:var(--red);color:#fff;font-size:10px;font-weight:800;line-height:1;display:grid;place-content:center;text-align:center;border:2px dashed #fff;outline:2px solid var(--red)}
.off i{font-style:normal;font-size:8px}
.btn-yellow{width:100%;margin-top:8px;background:var(--yellow);color:#111;font-weight:700;font-size:13px;border-radius:6px;padding:7px;display:flex;align-items:center;justify-content:center;gap:5px}
.btn-yellow svg{width:16px;height:16px}
.btn-yellow.owned{background:#dcfce7;color:#14532d}

/* Testimonials */
.testi{flex:0 0 86%;scroll-snap-align:start;border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;gap:10px;align-items:center;background:#fff}
.testi .av{width:58px;height:58px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:22px;color:#fff}
.testi q{font-size:12px;line-height:1.5;color:#374151;display:block}
.testi .by{font-size:12px;font-weight:700;margin-top:4px}
.stars{color:#f5b301;letter-spacing:1px;margin-left:6px}

/* Bottom nav */
.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 4px calc(8px + env(safe-area-inset-bottom));z-index:30}
.bottom button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#1f2937;padding:6px 0;border-radius:14px}
.bottom button svg{width:24px;height:24px}
.bottom button.active{color:var(--blue2);background:#eaf1ff}
.bottom button.active .fill{fill:var(--blue2)}

/* Pages */
.page{padding:14px 12px}
.page h2{font-size:18px;color:var(--navy);margin-bottom:12px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid2 .course{flex:auto}
.empty{text-align:center;color:var(--muted);padding:40px 10px;font-size:14px}
.card{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px;background:#fff}
.row{display:flex;justify-content:space-between;align-items:center;gap:8px}

/* Forms */
.field{margin-bottom:10px}
.field label{display:block;font-size:12px;font-weight:600;margin-bottom:4px}
.field input,.field textarea,.field select{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}
.field input:focus,.field textarea:focus{border-color:var(--blue2);box-shadow:0 0 0 3px #dbeafe}
.btn-primary{width:100%;background:var(--blue);color:#fff;font-weight:700;border-radius:10px;padding:11px;font-size:15px}
.link{color:var(--blue2);font-weight:600}
.err{color:var(--red);font-size:12.5px;min-height:16px;margin-bottom:6px}

/* Modal / Drawer / Toast */
.modal{position:fixed;inset:0;background:rgba(15,23,42,.5);display:none;align-items:flex-end;justify-content:center;z-index:50}
.modal.show{display:flex}
.sheet{background:#fff;width:100%;max-width:480px;border-radius:20px 20px 0 0;padding:20px 16px 24px;max-height:88vh;overflow:auto;position:relative;animation:up .22s ease}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.sheet h3{font-size:18px;color:var(--navy);margin-bottom:12px;padding-right:30px}
.close{position:absolute;right:12px;top:10px;font-size:26px;color:var(--muted);width:34px;height:34px}
.drawer{position:fixed;inset:0;background:rgba(15,23,42,.45);display:none;z-index:60}
.drawer.show{display:block}
.drawer-panel{width:260px;height:100%;background:#fff;padding:18px 0;animation:slide .2s ease}
@keyframes slide{from{transform:translateX(-40px);opacity:0}}
.drawer-head{font-weight:800;color:var(--navy);font-size:18px;padding:0 18px 12px;border-bottom:1px solid var(--line)}
.drawer a{display:block;padding:13px 18px;font-weight:500;cursor:pointer;color:inherit;text-decoration:none}
.drawer a:hover{background:var(--soft)}
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(20px);background:#111827;color:#fff;padding:10px 16px;border-radius:10px;font-size:13px;opacity:0;pointer-events:none;transition:.25s;z-index:70;max-width:90%}
.toast.show{opacity:1;transform:translateX(-50%)}

@media (max-width:370px){
  .hero h1{font-size:20px} .big{font-size:28px} .btn-orange{padding:9px 12px;font-size:13px}
  .cat{font-size:9.5px}
}

.logo-img{mix-blend-mode:multiply;height:62px;width:auto;display:block;margin:0 auto}
.brand{justify-content:center}
.hero h1{max-width:66%}
