/* ==========================================================================
   Classroom Course — নির্দিষ্ট পাতার অংশ
   ========================================================================== */

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-block: clamp(var(--s6), 6vw, var(--s8)) clamp(var(--s6), 5vw, var(--s8)); overflow: hidden; }
/* একটাই নরম আভা, উপরে মাঝখানে — রঙিন gradient নয় */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: -22rem; transform: translateX(-50%);
  width: min(70rem, 130%); height: 42rem;
  background: radial-gradient(50% 50% at 50% 50%, var(--brand-dim), transparent 70%);
  opacity: .9;
}
.hero > * { position: relative; z-index: 1; }

.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.hero-center h1 { max-width: 17ch; }
.hero-center h1 .nb { white-space: nowrap; }
.hero-center h1 em { font-style: normal; color: var(--brand-2); }
[data-theme="dark"] .hero-center h1 em { color: var(--brand); }
.hero-sub { font-size: var(--t-md); color: var(--text-2); max-width: 54ch; line-height: 1.68; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: .3125rem .875rem .3125rem .625rem;
  font-size: var(--t-xs); font-weight: 550;
  color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-full); box-shadow: var(--sh-1);
}
.eyebrow .dot { color: var(--ok); }

/* টিক চিহ্ন দেওয়া ছোট তালিকা — হিরোর নিচে */
.tick-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s5); }
.tick { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-sm); color: var(--text-2); font-weight: 500; }
.tick svg { width: 1rem; height: 1rem; flex: none; color: var(--brand-2); }
[data-theme="dark"] .tick svg { color: var(--brand); }

/* ---------------------------------------------------------------- ব্রাউজার mockup */
/* আঁকা ছবি নয় — আসল পণ্যটা যেমন দেখায় তেমনই */
.shot { position: relative; margin-top: var(--s7); }

.browser {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.browser-dots { display: flex; gap: .375rem; flex: none; }
.browser-dots i { width: .5625rem; height: .5625rem; border-radius: 50%; background: var(--line-2); }
.browser-url {
  margin-inline: auto;
  padding: .25rem 1rem;
  font-size: var(--t-xs); color: var(--text-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-full);
  max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-body { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); min-height: 23rem; }
@media (max-width: 820px) { .browser-body { grid-template-columns: 1fr; } }

.shot-side { border-right: 1px solid var(--line); padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
@media (max-width: 820px) { .shot-side { display: none; } }
.shot-nav {
  display: flex; align-items: center; gap: var(--s3);
  padding: .5rem var(--s3); border-radius: var(--r-md);
  font-size: var(--t-sm); font-weight: 500; color: var(--text-2);
}
.shot-nav.is-on { background: var(--brand-dim); color: var(--brand-2); font-weight: 600; }
[data-theme="dark"] .shot-nav.is-on { color: var(--brand); }
.shot-nav svg { width: 1rem; height: 1rem; flex: none; opacity: .7; }
.shot-nav.is-on svg { opacity: 1; }

.shot-main { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); background: var(--bg); }
.shot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 560px) { .shot-stats { grid-template-columns: 1fr; } }
.shot-stat { padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.shot-stat .k { font-size: var(--t-xs); color: var(--text-3); }
.shot-stat .v { font-size: var(--t-lg); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: .15rem; }

.shot-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.shot-list-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line);
  font-size: var(--t-sm); font-weight: 600;
}
.shot-row {
  display: flex; align-items: center; gap: var(--s3);
  padding: .625rem var(--s4); border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
}
.shot-row:last-child { border-bottom: 0; }
.shot-row .nm { font-weight: 550; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-row .sub { color: var(--text-3); font-size: var(--t-xs); }
.shot-row .amt { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shot-row .st { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--t-xs); white-space: nowrap; min-width: 6.5rem; justify-content: flex-end; }
.shot-row .st.ok { color: var(--ok); }
.shot-row .st.wait { color: var(--warn); }
@media (max-width: 640px) { .shot-row .st { display: none; } }

/* ভাসমান বিজ্ঞপ্তি — mockup এর কোণে */
.shot-toast {
  /* browser frame এর কিনারায় বসে — ভেতরের stat কার্ড ঢেকে ফেলে না */
  position: absolute; right: -1rem; top: -1.25rem; z-index: 2;
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  max-width: 17rem;
  animation: pop-in .5s var(--ease-out) .5s backwards;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
@media (max-width: 820px) { .shot-toast { display: none; } }
.shot-toast .ico {
  width: 1.875rem; height: 1.875rem; flex: none;
  display: grid; place-items: center; border-radius: var(--r-sm);
  background: var(--brand-dim); color: var(--brand-2);
}
[data-theme="dark"] .shot-toast .ico { color: var(--brand); }
.shot-toast .ico svg { width: 1rem; height: 1rem; }
.shot-toast .t1 { display: block; font-size: var(--t-sm); font-weight: 600; line-height: 1.35; }
.shot-toast .t2 { display: block; font-size: var(--t-xs); color: var(--text-3); margin-top: .15rem; line-height: 1.45; }

/* ---------------------------------------------------------------- logo/brand সারি */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); }
.brand-chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: .4375rem .875rem;
  font-size: var(--t-sm); font-weight: 500; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  max-width: min(18rem, 100%);
}
/* কোনো কোনো প্রতিষ্ঠানের নাম খুব লম্বা ("ALL ACS PCMB + EBI + …") —
   নাম কেটে যাবে, কিন্তু সংখ্যাটা সবসময় দেখা যাবে */
.brand-chip .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-chip .brand-chip-n { flex: none; }
.brand-chip:hover { color: var(--text); border-color: var(--brand-line); }
.brand-chip-n { font-size: var(--t-xs); font-weight: 650; color: var(--brand-2); }
[data-theme="dark"] .brand-chip-n { color: var(--brand); }

/* ---------------------------------------------------------------- বিভাগ */
.cat-card {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.cat-card:hover { border-color: var(--brand-line); transform: translateY(-2px); box-shadow: var(--sh-2); }
.cat-card h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -.016em; }
.cat-ico {
  width: 2.75rem; height: 2.75rem; flex: none;
  display: grid; place-items: center; border-radius: var(--r-md);
  background: var(--brand-dim); color: var(--brand-2);
}
[data-theme="dark"] .cat-ico { color: var(--brand); }
.cat-ico svg { width: 1.4rem; height: 1.4rem; }
.cat-arrow { width: 1.15rem; height: 1.15rem; flex: none; color: var(--text-3); transition: transform var(--dur) var(--ease); }
.cat-card:hover .cat-arrow { transform: translateX(3px); color: var(--brand-2); }

/* ---------------------------------------------------------------- ধাপ */
.steps { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; }
.step { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step h3 { font-size: var(--t-md); font-weight: 600; margin-bottom: var(--s2); letter-spacing: -.016em; }
.step p { font-size: var(--t-sm); }
.step-n {
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem; margin-bottom: var(--s4);
  font-size: var(--t-sm); font-weight: 700;
  color: var(--brand-2); background: var(--brand-dim);
  border-radius: var(--r-full);
}
[data-theme="dark"] .step-n { color: var(--brand); }

/* ---------------------------------------------------------------- ভরসা */
.trust { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.trust h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -.016em; }
.trust p { font-size: var(--t-sm); }
.trust-ico { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: var(--r-md); background: var(--brand-dim); color: var(--brand-2); }
[data-theme="dark"] .trust-ico { color: var(--brand); }
.trust-ico svg { width: 1.3rem; height: 1.3rem; }

/* ---------------------------------------------------------------- শেষ ডাক */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
  padding: clamp(var(--s5), 4vw, var(--s7));
  border-radius: var(--r-xl);
  border: 1px solid var(--brand-line);
  background: var(--brand-dim);
}

/* ---------------------------------------------------------------- তালিকার পাতা */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.filters { display: flex; flex-direction: column; gap: var(--s4); }
.filter-row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 18rem; min-width: 0; }
.search-box .input { padding-left: 2.6rem; border-radius: var(--r-full); }
.search-box svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.05rem; height: 1.05rem; color: var(--text-3); pointer-events: none; }
.result-count { font-size: var(--t-sm); color: var(--text-3); }

/* ---------------------------------------------------------------- কোর্সের বিস্তারিত */
.detail-grid { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }

.buy-box { position: sticky; top: 6rem; }
@media (max-width: 980px) { .buy-box { position: static; } }

.buy-price { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.buy-price .now { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.buy-price .was { font-size: var(--t-md); color: var(--text-3); text-decoration: line-through; }

.spec { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.spec:last-child { border-bottom: 0; }
.spec .k { color: var(--text-3); }
.spec .v { font-weight: 550; text-align: right; }

.feature-list { display: flex; flex-direction: column; gap: var(--s2); list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--t-sm); color: var(--text-2); }
.feature-list svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .18rem; color: var(--brand-2); }
[data-theme="dark"] .feature-list svg { color: var(--brand); }

.details-text { font-size: var(--t-base); line-height: var(--lh-body); color: var(--text-2); }
.details-text a { color: var(--brand-2); text-decoration: underline; text-underline-offset: .15em; }

/* কপি করার মতো নম্বর/কোড */
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s4); border-radius: var(--r-md);
  background: var(--surface-2); border: 1px dashed var(--line-2);
}
.copy-code { font-family: var(--font-mono); font-size: var(--t-base); font-weight: 650; letter-spacing: .04em; color: var(--text); }

/* ---------------------------------------------------------------- লগইন/সাইনআপ */
.auth-wrap { display: grid; place-items: center; min-height: calc(100svh - 7rem); padding: var(--s6) var(--s4); }
.auth-card { width: min(27rem, 100%); }
.auth-card .card { padding: clamp(var(--s5), 4vw, var(--s6)); }
.auth-head { text-align: center; margin-bottom: var(--s5); }
.auth-head h1 { font-size: var(--t-xl); letter-spacing: -.028em; margin-bottom: var(--s2); }
.auth-head p { color: var(--text-2); font-size: var(--t-sm); }
.auth-foot { text-align: center; margin-top: var(--s5); font-size: var(--t-sm); color: var(--text-2); }
.auth-sep { display: flex; align-items: center; gap: var(--s3); margin-block: var(--s4); color: var(--text-3); font-size: var(--t-xs); }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------- ত্রুটি */
.err-page { display: grid; place-items: center; min-height: calc(100svh - 7rem); padding: var(--s6) var(--s4); text-align: center; }
.err-code { font-size: clamp(3.5rem, 12vw, 6.5rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--brand-2); opacity: .3; }
.err-page h1 { font-size: var(--t-xl); }
.err-page p { color: var(--text-2); max-width: 42ch; margin-inline: auto; margin-top: var(--s3); }
