/* CreatorHub - one stylesheet for the public site, creator dashboard and admin panel.
   Colours come from Admin > Settings (CSS variables --p, --a ...). */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Bengali",sans-serif;color:#0f172a;background:#f8fafc;line-height:1.55;font-size:15px}
img{max-width:100%;display:block}
a{color:var(--p);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .5em;letter-spacing:-.01em}
p{margin:0 0 1em}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--p-soft2);outline-offset:2px}
.container{width:100%;max-width:1160px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px}
.muted{color:#64748b}.small{font-size:13px}.tiny{font-size:12px}
.center{text-align:center}.right{text-align:right}
.mt0{margin-top:0}.mt1{margin-top:8px}.mt2{margin-top:16px}.mt3{margin-top:24px}.mt4{margin-top:40px}.mb0{margin-bottom:0}.mb1{margin-bottom:8px}.mb2{margin-bottom:16px}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.grow{flex:1}
.hide{display:none!important}
.break{word-break:break-word;overflow-wrap:anywhere}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:12px;border:1px solid transparent;font-weight:600;font-size:15px;cursor:pointer;text-decoration:none!important;transition:background .15s,transform .05s,box-shadow .15s;white-space:nowrap;line-height:1.2}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--p);color:#fff;box-shadow:0 6px 16px -6px var(--p)}
.btn-primary:hover{background:var(--p-dark)}
.btn-light{background:#fff;color:#0f172a;border-color:#e2e8f0}
.btn-light:hover{background:#f1f5f9}
.btn-soft{background:var(--p-soft);color:var(--p-dark)}
.btn-soft:hover{background:var(--p-soft2)}
.btn-danger{background:#fee2e2;color:#b91c1c}.btn-danger:hover{background:#fecaca}
.btn-green{background:#16a34a;color:#fff}.btn-green:hover{background:#15803d}
.btn-sm{padding:7px 12px;font-size:13px;border-radius:9px}
.btn-lg{padding:14px 24px;font-size:16px;border-radius:14px}
.btn-block{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.link-btn{background:none;border:0;padding:0;color:var(--p);cursor:pointer;font-weight:600}

/* forms */
label.lbl,.lbl{display:block;font-weight:600;font-size:14px;margin:0 0 6px;color:#1e293b}
.field{width:100%;padding:11px 13px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;font-size:15px;transition:border .15s,box-shadow .15s}
.field:focus{outline:none;border-color:var(--p);box-shadow:0 0 0 3px var(--p-soft)}
textarea.field{min-height:110px;resize:vertical}
select.field{appearance:auto}
input[type=color].field{padding:4px;height:44px;width:90px}
input[type=file].field{padding:8px}
.fg{margin-bottom:16px}
.help{font-size:13px;color:#64748b;margin-top:5px}
.err{font-size:13px;color:#dc2626;margin-top:5px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;cursor:pointer}
.check input{margin-top:3px;width:18px;height:18px;accent-color:var(--p);flex-shrink:0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.input-prefix{display:flex;align-items:stretch}
.input-prefix span{display:flex;align-items:center;padding:0 12px;background:#f1f5f9;border:1px solid #cbd5e1;border-right:0;border-radius:11px 0 0 11px;color:#64748b;font-size:14px;white-space:nowrap}
.input-prefix .field{border-radius:0 11px 11px 0;min-width:0}

/* alerts & badges */
.alert{padding:12px 16px;border-radius:12px;margin-bottom:16px;font-size:14px;display:flex;gap:10px;align-items:flex-start}
.alert-success{background:#dcfce7;color:#166534}.alert-error{background:#fee2e2;color:#991b1b}.alert-info{background:var(--p-soft);color:var(--p-dark)}.alert-warn{background:#fef3c7;color:#92400e}
.badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.badge-green{background:#dcfce7;color:#166534}.badge-amber{background:#fef3c7;color:#92400e}.badge-red{background:#fee2e2;color:#991b1b}.badge-gray{background:#f1f5f9;color:#475569}.badge-blue{background:#dbeafe;color:#1e40af}.badge-p{background:var(--p-soft);color:var(--p-dark)}
.testbar{background:repeating-linear-gradient(45deg,#f59e0b,#f59e0b 12px,#fbbf24 12px,#fbbf24 24px);color:#451a03;text-align:center;font-weight:700;font-size:13px;padding:6px 12px}

/* cards */
.card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:22px}
.card-flat{background:#fff;border:1px solid #e2e8f0;border-radius:14px}
.card h2,.card h3{margin-top:0}
.section-title{font-size:18px;font-weight:700;margin:0 0 14px}

/* ---------- public header/footer ---------- */
.site-header{background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:40}
.site-header .container{display:flex;align-items:center;gap:16px;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:#0f172a!important;text-decoration:none!important}
.brand img{height:36px;width:auto;max-width:180px;object-fit:contain}
.brand .dot{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--p),var(--a));display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px}
.nav{margin-left:auto;display:flex;gap:6px;align-items:center}
.nav a.navlink{color:#334155;font-weight:500;padding:8px 10px;border-radius:9px}
.nav a.navlink:hover{background:#f1f5f9;text-decoration:none}
.site-footer{background:#0f172a;color:#cbd5e1;margin-top:60px;padding:40px 0 28px;font-size:14px}
.site-footer a{color:#e2e8f0}
.footer-grid{display:flex;gap:30px;justify-content:space-between;flex-wrap:wrap}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 20px}
.footer-bottom{border-top:1px solid #1e293b;margin-top:26px;padding-top:18px;color:#94a3b8;font-size:13px}

/* ---------- home ---------- */
.hero{padding:70px 0 50px;background:radial-gradient(1000px 400px at 80% -10%,var(--p-soft2),transparent),radial-gradient(800px 400px at -10% 10%,var(--a-soft),transparent)}
.hero .container{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero h1{font-size:52px;font-weight:800;letter-spacing:-.03em;margin-bottom:18px}
.hero p.lead{font-size:19px;color:#475569;max-width:560px}
.hero-art{background:#fff;border-radius:24px;box-shadow:0 30px 60px -20px rgba(15,23,42,.25);padding:18px;border:1px solid #e2e8f0}
.hero-art img{border-radius:16px}
.mock-profile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 6px}
.mock-profile .av{width:76px;height:76px;border-radius:50%;background:linear-gradient(135deg,var(--p),var(--a));margin-bottom:10px}
.mock-item{display:flex;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:10px;margin-top:10px;text-align:left;width:100%}
.mock-item i{width:46px;height:46px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:20px;background:var(--p-soft)}
.mock-item b{display:block;font-size:14px}.mock-item small{color:#64748b}
.mock-item .pr{margin-left:auto;font-weight:700;color:var(--p)}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:24px}
.feature .ic{width:48px;height:48px;border-radius:14px;background:var(--p-soft);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:14px}
.feature h3{font-size:18px}.feature p{color:#64748b;margin:0}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:s}
.step{padding:22px;border-radius:18px;background:#fff;border:1px dashed #cbd5e1}
.step::before{counter-increment:s;content:counter(s);display:inline-flex;width:34px;height:34px;border-radius:50%;background:var(--p);color:#fff;font-weight:700;align-items:center;justify-content:center;margin-bottom:12px}
.cta-band{background:linear-gradient(135deg,var(--p),var(--p-dark));color:#fff;border-radius:24px;padding:44px;text-align:center}
.cta-band h2{font-size:32px}
.creator-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.creator-chip{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;color:inherit}
.creator-chip:hover{text-decoration:none;border-color:var(--p-soft2)}
.creator-chip img{width:52px;height:52px;border-radius:50%;object-fit:cover}

/* ---------- creator profile ---------- */
.profile-cover{height:200px;background:linear-gradient(135deg,var(--p),var(--a));background-size:cover;background-position:center}
.profile-head{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:-62px}
.profile-head .avatar{width:124px;height:124px;border-radius:50%;border:5px solid #fff;object-fit:cover;background:#fff;box-shadow:0 10px 25px -10px rgba(0,0,0,.3)}
.profile-head h1{font-size:28px;margin:12px 0 4px}
.profile-bio{max-width:640px;margin:10px auto 0;color:#334155}
.socials{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.socials a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#334155;font-size:13px;font-weight:500}
.socials a:hover{text-decoration:none;border-color:var(--p)}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pcard{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;color:inherit;transition:transform .15s,box-shadow .15s}
.pcard:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 18px 30px -18px rgba(15,23,42,.35)}
.pcard .cover{aspect-ratio:16/9;object-fit:cover;width:100%;background:#f1f5f9}
.pcard .body{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.pcard h3{font-size:17px;margin:0}
.pcard .meta{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:8px}
.price{font-weight:800;font-size:18px;color:#0f172a}
.price s{color:#94a3b8;font-weight:500;font-size:14px;margin-left:6px}

/* ---------- product page (content left, sticky buy card right) ---------- */
.product-wrap{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:32px;align-items:start;padding-top:28px}
.product-main .cover{width:100%;border-radius:18px;aspect-ratio:16/9;object-fit:cover;background:#e2e8f0}
.product-main h1{font-size:32px;margin:20px 0 8px}
.by{display:flex;align-items:center;gap:10px;color:#475569;font-size:14px}
.by img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.desc{font-size:16px;color:#1e293b}
.desc ul{padding-left:20px}
.info-table{width:100%;border-collapse:collapse;font-size:14px}
.info-table td{padding:10px 0;border-bottom:1px solid #f1f5f9}
.info-table td:last-child{text-align:right;font-weight:600}
.buy-card{position:sticky;top:84px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:22px;box-shadow:0 20px 40px -24px rgba(15,23,42,.3)}
.buy-card .price-big{font-size:30px;font-weight:800}
.sum-row{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;color:#475569}
.sum-row.total{border-top:1px solid #e2e8f0;margin-top:6px;padding-top:12px;font-weight:700;color:#0f172a;font-size:16px}
.pay-box{margin-top:6px}
.whop-mount{min-height:420px;border-radius:14px}
.test-box{border:2px dashed #f59e0b;background:#fffbeb;border-radius:14px;padding:16px}
.test-box h4{color:#92400e;margin-bottom:6px}
.secure-note{display:flex;gap:8px;align-items:center;justify-content:center;color:#64748b;font-size:12px;margin-top:12px}
.module-list{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}
.module-list .m{padding:12px 16px;background:#f8fafc;font-weight:600;border-top:1px solid #e2e8f0}
.module-list .m:first-child{border-top:0}
.module-list .l{padding:10px 16px 10px 30px;border-top:1px solid #f1f5f9;font-size:14px;display:flex;justify-content:space-between;gap:10px}
.mobile-buybar{display:none}
.event-facts{display:grid;gap:10px;margin:16px 0}
.event-facts div{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.event-facts span.i{width:34px;height:34px;border-radius:10px;background:var(--p-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ---------- access page / ticket / lesson ---------- */
.success-head{text-align:center;padding:30px 0 10px}
.success-head .tick{width:72px;height:72px;border-radius:50%;background:#dcfce7;color:#16a34a;font-size:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.file-row{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:10px;background:#fff}
.file-row .fi{width:44px;height:44px;border-radius:10px;background:var(--p-soft);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.ticket{border-radius:20px;overflow:hidden;background:#fff;border:1px solid #e2e8f0;box-shadow:0 20px 40px -24px rgba(15,23,42,.3)}
.ticket .top{background:linear-gradient(135deg,var(--p),var(--p-dark));color:#fff;padding:22px}
.ticket .bottom{padding:22px;border-top:2px dashed #e2e8f0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
.ticket .code{font-family:ui-monospace,monospace;font-size:28px;font-weight:800;letter-spacing:.12em;color:#0f172a}
.lesson-wrap{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding-top:24px}
.lesson-nav a{display:block;padding:8px 10px;border-radius:9px;color:#334155;font-size:14px}
.lesson-nav a.on{background:var(--p-soft);color:var(--p-dark);font-weight:600}
.video{position:relative;padding-top:56.25%;border-radius:16px;overflow:hidden;background:#000}
.video iframe,.video video{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- auth ---------- */
.auth-wrap{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;padding:40px 16px}
.auth-card{width:100%;max-width:440px}
.auth-card h1{font-size:26px}

/* ---------- dashboard & admin shell ---------- */
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}
.sidebar{background:#fff;border-right:1px solid #e2e8f0;padding:18px 14px;position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column}
.sidebar.dark{background:#0f172a;border-color:#0f172a}
.sidebar .brand{padding:4px 8px 18px}
.sidebar.dark .brand{color:#fff!important}
.side-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#334155;font-weight:500;font-size:14.5px;margin-bottom:2px}
.side-nav a:hover{background:#f1f5f9;text-decoration:none}
.side-nav a.on{background:var(--p-soft);color:var(--p-dark);font-weight:600}
.sidebar.dark .side-nav a{color:#cbd5e1}
.sidebar.dark .side-nav a:hover{background:#1e293b}
.sidebar.dark .side-nav a.on{background:var(--p);color:#fff}
.side-nav .sep{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:16px 12px 6px}
.side-nav .count{margin-left:auto;background:#ef4444;color:#fff;border-radius:999px;font-size:11px;padding:1px 7px}
.main{padding:26px 30px 60px;min-width:0}
.topbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}
.topbar h1{font-size:24px;margin:0}
.topbar .actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.mobile-top{display:none}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.stat{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px 18px}
.stat .k{font-size:13px;color:#64748b}
.stat .v{font-size:24px;font-weight:800;margin-top:4px}
.stat.p{background:linear-gradient(135deg,var(--p),var(--p-dark));color:#fff;border:0}
.stat.p .k{color:rgba(255,255,255,.8)}
.chart{display:flex;align-items:flex-end;gap:6px;height:150px;padding-top:10px}
.chart .bar{flex:1;background:var(--p-soft2);border-radius:6px 6px 0 0;position:relative;min-height:3px}
.chart .bar:hover{background:var(--p)}
.chart-labels{display:flex;gap:6px;font-size:11px;color:#94a3b8;margin-top:6px}
.chart-labels span{flex:1;text-align:center;overflow:hidden}
.table-wrap{overflow-x:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px}
table.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{text-align:left;font-weight:600;color:#64748b;font-size:12.5px;text-transform:uppercase;letter-spacing:.03em;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}
.tbl td{padding:12px 14px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl .thumb{width:54px;height:34px;border-radius:7px;object-fit:cover;background:#f1f5f9}
.empty{text-align:center;padding:40px 20px;color:#64748b}
.empty .big{font-size:40px;margin-bottom:6px}
.type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.type-card{display:block;background:#fff;border:2px solid #e2e8f0;border-radius:18px;padding:22px;color:inherit;transition:border .15s}
.type-card:hover{border-color:var(--p);text-decoration:none}
.type-card .ic{font-size:34px;margin-bottom:8px}
.tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0;margin-bottom:20px;overflow-x:auto}
.tabs a{padding:10px 14px;color:#475569;font-weight:500;border-bottom:2px solid transparent;white-space:nowrap}
.tabs a.on{color:var(--p);border-color:var(--p)}
.tabs a:hover{text-decoration:none}
.pagination{display:flex;gap:6px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.pagination a,.pagination span{padding:7px 12px;border-radius:9px;border:1px solid #e2e8f0;background:#fff;font-size:14px;color:#334155}
.pagination .on{background:var(--p);color:#fff;border-color:var(--p)}
.kv{display:grid;grid-template-columns:170px 1fr;gap:8px 14px;font-size:14px}
.kv dt{color:#64748b}.kv dd{margin:0;font-weight:500;word-break:break-word}
.inline-form{display:inline}
.mod{border:1px solid #e2e8f0;border-radius:14px;margin-bottom:14px;background:#fff}
.mod-h{display:flex;gap:8px;align-items:center;padding:12px 14px;background:#f8fafc;border-radius:14px 14px 0 0;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}
.mod-l{display:flex;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap}
.copy{display:flex;gap:6px}
.copy input{flex:1;min-width:0}
details.box{border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;background:#fff}
details.box summary{cursor:pointer;font-weight:600}
.hint-steps{margin:0;padding-left:20px;font-size:14px;color:#334155}
.hint-steps li{margin-bottom:6px}

@media (max-width:1000px){
  .product-wrap{grid-template-columns:1fr}
  .buy-card{position:static}
  .hero .container{grid-template-columns:1fr}
  .hero h1{font-size:40px}
  .features,.steps,.creator-chips,.product-grid{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .lesson-wrap{grid-template-columns:1fr}
}
@media (max-width:820px){
  .shell{grid-template-columns:1fr}
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:270px;z-index:60;transform:translateX(-100%);transition:transform .2s;box-shadow:0 0 40px rgba(0,0,0,.2)}
  .sidebar.open{transform:none}
  .mobile-top{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:50}
  .mobile-top .brand{font-size:17px}
  .main{padding:18px 16px 60px}
  .scrim{position:fixed;inset:0;background:rgba(15,23,42,.4);z-index:55;display:none}
  .scrim.show{display:block}
}
@media (max-width:640px){
  body{font-size:15px}
  .container{padding:0 16px}
  .nav a.navlink.hide-sm{display:none}
  .hero{padding:40px 0 30px}
  .hero h1{font-size:32px}
  .hero p.lead{font-size:16px}
  .features,.steps,.creator-chips,.product-grid,.grid2,.grid3{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .stat .v{font-size:19px}
  .cta-band{padding:30px 20px}.cta-band h2{font-size:24px}
  .product-main h1{font-size:25px}
  .profile-cover{height:140px}
  .kv{grid-template-columns:1fr}
  .kv dt{margin-top:6px}
  .mobile-buybar{display:flex;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e2e8f0;padding:10px 16px;gap:12px;align-items:center;z-index:45;box-shadow:0 -10px 30px -15px rgba(0,0,0,.25)}
  .has-buybar .site-footer{padding-bottom:90px}
  .topbar h1{font-size:20px}
  .ticket .code{font-size:22px}
  .tbl th,.tbl td{padding:10px}
}

/* ---- product page extras ---- */
.testimonials{display:grid;gap:12px}
.testimonials blockquote{margin:0;padding:14px 16px;background:#f8fafc;border-left:4px solid var(--p);border-radius:10px}
.testimonials blockquote p{margin:0 0 6px}
.testimonials cite{font-style:normal;font-weight:600;font-size:14px;color:#475569}
details.faq{border-bottom:1px solid #eef2f7;padding:10px 0}
details.faq summary{cursor:pointer;font-weight:600}
details.faq p{margin:8px 0 0;color:#475569}
.bump-box{display:flex;gap:10px;align-items:flex-start;border:2px dashed var(--p);background:#faf5ff;border-radius:12px;padding:12px;margin:0 0 14px;cursor:pointer;font-size:14px}
.bump-box input{margin-top:3px;width:18px;height:18px}
/* ---- profile links ---- */
.link-list{display:grid;gap:10px;margin:18px 0}
.link-btn{display:block;text-align:center;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;font-weight:600;color:#0f172a;text-decoration:none;transition:transform .1s}
.link-btn:hover{transform:translateY(-1px);border-color:var(--p)}
.link-btn.featured{background:var(--p);color:#fff;border-color:var(--p)}
.profile-cta{margin-top:12px}
.product-card .feat{position:absolute;top:10px;left:10px}

/* =====================================================================
   Look & feel (v2): clean dashboard style - dark side menu, light grid
   background, white cards, black pill buttons, blue links/tabs, line icons.
   ===================================================================== */
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/nunito-sans-400.woff2) format("woff2")}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/nunito-sans-600.woff2) format("woff2")}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/nunito-sans-700.woff2) format("woff2")}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/nunito-sans-800.woff2) format("woff2")}
body{font-family:"Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Bengali",sans-serif;color:#111827;background:#f5f6f8;font-size:15px}
a{color:var(--a)}
h1{font-weight:800;letter-spacing:-.015em}
.ic{width:18px;height:18px;flex-shrink:0;vertical-align:-3px;display:inline-block}
.ic-sm{width:15px;height:15px}.ic-lg{width:22px;height:22px}.ic-xl{width:28px;height:28px}
.btn{border-radius:10px;font-weight:700;padding:10px 18px;gap:7px}
.btn-primary{background:var(--p);color:#fff;box-shadow:none}
.btn-primary:hover{background:var(--p);opacity:.88}
.btn-light{background:#fff;border-color:#e5e7eb;color:#111827}
.btn-light:hover{background:#f3f4f6}
.btn-soft{background:#f3f4f6;color:#111827;border-color:#e5e7eb}
.btn-soft:hover{background:#e5e7eb}
.btn-sm{border-radius:8px;padding:7px 12px}
.btn-lg{border-radius:12px}
.field{border-color:#e5e7eb;border-radius:10px;padding:11px 14px;background:#fff}
.field:focus{border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,.08)}
label.lbl,.lbl{font-weight:700;color:#111827;font-size:14px}
.card{border:1px solid #e8eaee;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.card-flat{border-color:#e8eaee}
.section-title{font-weight:800;font-size:17px;display:flex;align-items:center;gap:8px}
.alert{border-radius:12px;align-items:center}
.alert .ic{margin-top:0}
.alert-info{background:#eff6ff;color:#1e3a8a}
.badge{font-weight:700;display:inline-flex;align-items:center;gap:4px}
.badge-p{background:#f3f4f6;color:#111827}
.check input{accent-color:#111827}
.testbar{background:#111827;color:#fbbf24;font-weight:700;letter-spacing:.02em}

/* ---- dashboard shell ---- */
.shell{display:flex;min-height:100vh;background:#f5f6f8}
.sidebar{background:#0d0f14;color:#e5e7eb;width:250px;flex-shrink:0;padding:20px 14px;display:flex;flex-direction:column;gap:6px;position:sticky;top:0;height:100vh;overflow-y:auto;border-right:0}
.sidebar .brand{color:#fff!important;padding:4px 10px 18px;font-size:19px}
.sidebar .brand .dot{background:#fff;color:#0d0f14}
.side-nav{display:flex;flex-direction:column;gap:2px}
.side-nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;color:#d1d5db;font-weight:600;font-size:15px;text-decoration:none!important}
.side-nav a .ic{width:20px;height:20px;color:#e5e7eb}
.side-nav a:hover{background:#1a1d24;color:#fff}
.side-nav a.on{background:#262a33;color:#fff}
.side-nav .sep{color:#6b7280;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:18px 12px 6px}
.side-user{margin-top:auto;border-top:1px solid #1f232b;padding-top:12px}
.side-user .who{display:flex;align-items:center;gap:10px;padding:8px 10px;color:#fff}
.side-user img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#262a33}
.side-user .who small{display:block;color:#9ca3af;font-size:12px}
.side-user a,.side-user button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border-radius:10px;color:#d1d5db;background:none;border:0;font-weight:600;font-size:14px;cursor:pointer;text-decoration:none!important}
.side-user a:hover,.side-user button:hover{background:#1a1d24;color:#fff}
.main{flex:1;min-width:0;padding:28px 36px 60px;background-color:#f5f6f8;background-image:linear-gradient(#eceef2 1px,transparent 1px),linear-gradient(90deg,#eceef2 1px,transparent 1px);background-size:44px 44px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.topbar h1{font-size:24px;margin:0;display:flex;align-items:center;gap:10px}
.page-tabs{display:flex;gap:26px;border-bottom:1px solid #e5e7eb;margin:-6px 0 22px;overflow-x:auto}
.page-tabs a{padding:10px 2px;color:#4b5563;font-weight:700;font-size:15px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;text-decoration:none!important;display:flex;gap:7px;align-items:center}
.page-tabs a.on{color:#111827;border-bottom-color:var(--a)}
.page-tabs a:hover{color:#111827}
.mobile-top{background:#0d0f14;color:#fff}
.mobile-top .brand{color:#fff!important}
.tbl th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;font-weight:700;background:#fafafa}
.table-wrap{border-color:#e8eaee;border-radius:16px;background:#fff}
.stat{border-radius:16px}
.type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.type-card{background:#fff;border:1px solid #e8eaee;border-radius:16px;padding:20px;color:#111827!important;text-decoration:none!important;display:block;transition:box-shadow .15s,transform .1s}
.type-card:hover{box-shadow:0 8px 24px -12px rgba(16,24,40,.25);transform:translateY(-1px)}
.type-card .ic-tile{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:#fff}
.type-card h3{font-size:16px;font-weight:800;margin:0 0 4px}
.empty{color:#6b7280}
.empty .big{display:flex;justify-content:center;margin-bottom:10px;color:#9ca3af}
.empty .big .ic{width:40px;height:40px}
/* ---- public pages ---- */
.site-header{background:#fff;border-bottom:1px solid #eef0f3}
.site-footer{background:#0d0f14}
.pcard{border-radius:16px;border-color:#e8eaee}
.buy-card{border-radius:18px}
.price-big{font-weight:800}
@media (max-width:900px){.sidebar{position:fixed;left:0;top:0;bottom:0;width:270px;height:auto;z-index:60;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none}.mobile-top{display:flex;background:#0d0f14;border-bottom:0}.mobile-top .btn-light{background:#1a1d24;border-color:#262a33;color:#fff}.main{padding:18px 16px 60px}}
.sidebar.dark{background:#0d0f14}.sidebar.dark .side-nav a{color:#d1d5db}.sidebar.dark .side-nav a:hover{background:#1a1d24}.sidebar.dark .side-nav a.on{background:#262a33;color:#fff}
.shell{display:flex}
.ic-tile-sm{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.topbar h1 .ic{width:24px;height:24px}
.feature .ic{display:flex}

/* product builder: steps on the left, live preview on the right */
.editor-wrap{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:24px;align-items:start}
.editor-preview{position:sticky;top:20px;background:#111318;border-radius:18px;padding:16px;color:#e5e7eb}
.pv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.pv-switch{display:flex;background:#1f232b;border-radius:10px;padding:3px}
.pv-switch button{background:none;border:0;color:#9ca3af;padding:6px 10px;border-radius:8px;cursor:pointer}
.pv-switch button.on{background:#fff;color:#111}
.pv-frame{background:#fff;border-radius:14px;overflow:hidden;height:680px;margin:0 auto}
.pv-frame.mobile{width:340px}
.pv-frame iframe{border:0;width:100%;height:100%}
.pv-frame.desktop{width:100%}.pv-frame.desktop iframe{width:250%;height:250%;transform:scale(.4);transform-origin:0 0}
.pv-empty{height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#9ca3af;gap:10px}
.stepper{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.stepper button{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 14px 7px 7px;font-weight:700;color:#4b5563;cursor:pointer}
.stepper button span{width:24px;height:24px;border-radius:50%;background:#f3f4f6;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.stepper button.on{border-color:#111827;color:#111827}.stepper button.on span{background:#111827;color:#fff}
.bstep-head{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;margin:0 0 14px}
.js-steps .bstep{display:none}.js-steps .bstep.on{display:block}
.bstep+.bstep{margin-top:28px}.js-steps .bstep+.bstep{margin-top:0}
.bstep-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;border-top:1px solid #eef0f3;padding-top:16px}
.bstep-actions [data-prev],.bstep-actions [data-next]{display:none}.js-steps .bstep-actions [data-prev],.js-steps .bstep-actions [data-next]{display:inline-flex}
@media (max-width:1100px){.editor-wrap{grid-template-columns:1fr}.editor-preview{position:static}}
.in-preview .site-header,.in-preview .testbar,.in-preview .site-footer{display:none!important}
.stepper button{padding:6px 12px 6px 6px;font-size:14px}

.editor-wrap>*{min-width:0}
.topbar h1{flex-wrap:wrap}
@media (max-width:760px){.main [style*="grid-template-columns"]{grid-template-columns:1fr!important}.grid2,.grid3{grid-template-columns:1fr}.main .card{min-width:0}.table-wrap{overflow-x:auto}}
