/* ilmCode Academy public site. Light, fast (no framework), Bangla-first. Bump ?v= in layouts/site when changed. */
:root {
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e6e8f0;
  --bg: #ffffff;
  --soft: #f6f5fc;
  --violet: #7c3aed;
  --brand1: #6366f1;
  --brand2: #8b5cf6;
  --brand3: #c026d3;
  --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 50%, #c026d3 100%);
  --gold: #f59e0b;
  --ok: #059669;
  --ok-bg: #ecfdf5;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 28px rgba(15, 23, 42, .08);
  --f-bn: "SolaimanLipi", "Nirmala UI", system-ui, sans-serif;
  --f-en: "SolaimanLipi", "Nirmala UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-bn); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.en { font-family: var(--f-en); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .45); outline-offset: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 1.25em; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(124, 58, 237, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(124, 58, 237, .38); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9cde0; }
.btn-lg { min-height: 54px; font-size: 1.05rem; padding: 0 1.6em; }
.btn-block { width: 100%; }
.btn-wa { background: #16a34a; color: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.site-header .logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--text); font-weight: 500; }
.nav a.on, .nav a:hover { color: var(--violet); text-decoration: none; }
.head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.head-actions .btn { min-height: 40px; padding: 0 1em; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 820px) {
  .nav, .head-actions { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav, .site-header.open .head-actions {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; background: #fff; padding: 12px 16px; margin: 0;
  }
  .site-header.open .nav { top: 66px; border-bottom: 1px solid var(--line); gap: 4px; }
  .site-header.open .nav a { padding: 10px 0; }
  .site-header.open .head-actions { top: 250px; box-shadow: var(--shadow); align-items: stretch; }
}

/* flash */
.flash { margin: 16px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.err { background: var(--danger-bg); color: var(--danger); }

/* hero */
.hero { padding-block: 56px 48px; background:
  radial-gradient(900px 380px at 85% -10%, rgba(192, 38, 211, .10), transparent 60%),
  radial-gradient(700px 360px at 0% 0%, rgba(99, 102, 241, .12), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.hero .eyebrow b { color: var(--violet); }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; transform: rotate(-1.2deg); }
.hero-card img { border-radius: 10px; }
.hero-card p { margin: 10px 4px 2px; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-card { transform: none; } }

.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.stats div b { display: block; font-family: var(--f-en); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.stats div span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding-block: 56px; }
.section.alt { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }

/* course cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .thumb { aspect-ratio: 16 / 9; background: var(--soft); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .badge { position: absolute; top: 10px; left: 10px; }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.08rem; }
.card h3 a { color: var(--ink); }
.card .meta { display: flex; gap: 14px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.card .meta span { display: inline-flex; gap: 5px; align-items: center; }
.card .meta svg { width: 15px; height: 15px; }
.card .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--f-en); font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.price del { color: var(--muted); font-weight: 500; font-size: .9rem; margin-left: 6px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--ink); color: #fff; }
.badge.off { background: #dc2626; }
.badge.soft { background: #ede9fe; color: var(--violet); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--f-en); font-weight: 700; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* verify strip */
.verify-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; background: var(--ink); color: #cbd5e1; border-radius: 20px; padding: 34px; }
.verify-strip h2 { color: #fff; }
.verify-form { display: flex; gap: 10px; }
.verify-form input { flex: 1; min-width: 0; }
@media (max-width: 760px) { .verify-strip { grid-template-columns: minmax(0, 1fr); padding: 24px; } .verify-form { flex-direction: column; } }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #d5d9e6; border-radius: 10px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand2); outline: 3px solid rgba(139, 92, 246, .18); }
.field .err { color: var(--danger); font-size: .88rem; }
.field .hint { color: var(--muted); font-size: .85rem; }

/* auth box */
.auth { max-width: 440px; margin: 48px auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.auth h1 { font-size: 1.6rem; }
.auth .alt-link { text-align: center; margin: 16px 0 0; color: var(--muted); }

/* course page */
.course-hero { background: var(--ink); color: #cbd5e1; padding-block: 40px; }
.course-hero h1 { color: #fff; }
.course-hero .crumbs { font-size: .9rem; margin-bottom: 12px; }
.course-hero .crumbs a { color: #a5b4fc; }
.course-hero .sub { font-size: 1.1rem; max-width: 40em; }
.course-hero .facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .95rem; }
.course-hero .facts span { display: inline-flex; gap: 6px; align-items: center; }
.course-hero .facts svg { width: 18px; height: 18px; color: #a5b4fc; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.buy-box { position: sticky; top: 86px; margin-top: -180px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.buy-box .video { aspect-ratio: 16 / 9; background: #000; position: relative; }
.buy-box .inner { padding: 20px; }
.buy-box .price { font-size: 2rem; }
.buy-box ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.buy-box li { display: flex; gap: 8px; align-items: center; }
.buy-box li svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@media (max-width: 960px) { .course-layout { grid-template-columns: minmax(0, 1fr); } .buy-box { position: static; margin-top: 0; } }
.block { margin-bottom: 34px; }
.outcomes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); list-style: none; margin: 0; }
.outcomes li { display: flex; gap: 10px; }
.outcomes svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 640px) { .outcomes { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* curriculum accordion */
.curriculum details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.curriculum summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; list-style: none; }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary small { color: var(--muted); font-weight: 400; white-space: nowrap; }
.curriculum ol { list-style: none; margin: 0; padding: 0 16px 10px; }
.curriculum li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.curriculum li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.curriculum li .r { margin-left: auto; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.curriculum li .free { color: var(--ok); font-weight: 600; }

/* instructor */
.instructor { display: flex; gap: 18px; align-items: flex-start; }
.instructor .ph { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* youtube lite embed (loads the player only on click: fast pages for ad traffic) */
.yt { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; width: 100%; }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.3.3 34 .3 34 .3s-21.3 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.5 8.5 0 0 0 6 6C12.7 47.7 34 47.7 34 47.7s21.3 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* mobile sticky enrol bar */
.sticky-buy { display: none; }
@media (max-width: 960px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
  .sticky-buy .price { font-size: 1.3rem; }
  body.has-sticky { padding-bottom: 76px; }
}

/* certificate verify */
.verify-card { max-width: 640px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.verify-card .state { padding: 18px 24px; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.1rem; }
.verify-card .state svg { width: 28px; height: 28px; }
.verify-card .state.valid { background: var(--ok-bg); color: var(--ok); }
.verify-card .state.invalid { background: var(--danger-bg); color: var(--danger); }
.verify-card dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; padding: 22px 24px; margin: 0; }
.verify-card dt { color: var(--muted); }
.verify-card dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .verify-card dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .verify-card dd { margin-bottom: 10px; } }

/* student area */
.my-head { padding-block: 28px; border-bottom: 1px solid var(--line); background: var(--soft); }
.my-list { display: grid; gap: 14px; }
.my-item { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.my-item img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); }
@media (max-width: 640px) { .my-item { grid-template-columns: minmax(0, 1fr); } }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* footer */
.site-footer { background: #0b1020; color: #94a3b8; padding-block: 0 26px; margin-top: 70px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 34px; padding-top: 38px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 4px 0 14px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
/* Last call-to-action card, half over the top edge of the footer */
.f-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--grad); color: #fff; border-radius: 20px; padding: 24px 28px; transform: translateY(-34px); margin-bottom: -34px; box-shadow: 0 14px 36px rgba(99, 102, 241, .35); }
.f-cta h3 { margin: 0 0 4px; font-size: 1.35rem; color: #fff; }
.f-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.f-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.f-cta .btn-primary { background: #fff; color: var(--violet); box-shadow: none; }
.f-cta .f-wa { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.f-cta .f-wa svg { width: 18px; height: 18px; }
.f-brand img { height: 36px; width: auto; margin-bottom: 12px; }
.f-brand p { margin: 0 0 12px; }
.f-trust li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.f-trust svg { width: 16px; height: 16px; flex: none; margin-top: .25em; color: #34d399; }
.f-links a { display: inline-flex; align-items: center; gap: 6px; }
.f-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand2); opacity: .7; }
.f-contact a, .f-contact li > span:first-child { display: flex; }
.f-contact a, .f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact small { display: block; color: #64748b; font-size: .75rem; line-height: 1.2; }
.fi { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #1e293b; display: grid; place-items: center; color: #c4b5fd; }
.fi svg { width: 18px; height: 18px; }
.fi.wa { background: rgba(37, 211, 102, .14); color: #25d366; }
.f-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid #1e293b; font-size: .85rem; }
.f-pay > span:first-child { margin-right: 4px; }
.f-pay-logo { height: 30px; min-width: 48px; padding: 3px 8px; border-radius: 7px; background: #fff; display: grid; place-items: center; }
.f-pay-logo img { max-height: 22px; max-width: 46px; object-fit: contain; }
.site-footer .copy { border-top: 1px solid #1e293b; margin-top: 18px; padding-top: 16px; font-size: .82rem; display: flex; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px 14px; }
  .fi { width: 30px; height: 30px; } .f-contact a, .f-contact li { gap: 8px; font-size: .88rem; }
  .f-cta { padding: 20px; text-align: center; justify-content: center; }
  .f-cta-btns { width: 100%; } .f-cta-btns .btn { flex: 1 1 140px; justify-content: center; }
  .site-footer .copy { flex-direction: column; }
  .site-footer { padding-bottom: 90px; } /* room for the mobile order bar */
}

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--ink); }
.pagination .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--text); background: #fff; }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- one-page landing (owner 2026-11-10) ---------- */
.center { text-align: center; }
.narrow { max-width: 820px; }
.section.tight { padding-block: 36px; }
.lp-hero { padding-block: 40px 48px; background:
  radial-gradient(900px 380px at 90% -10%, rgba(192, 38, 211, .10), transparent 60%),
  radial-gradient(700px 360px at 0% 0%, rgba(99, 102, 241, .12), transparent 60%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lp-hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.lp-hero .eyebrow b { color: var(--violet); }
.lp-hero .lead { font-size: 1.1rem; color: var(--muted); }
.lp-facts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.lp-facts li { display: inline-flex; gap: 7px; align-items: center; font-weight: 500; }
.lp-facts svg { width: 18px; height: 18px; color: var(--violet); }
.lp-price { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.lp-price .price { font-size: 2.2rem; }
.lp-price del { color: var(--muted); font-family: var(--f-en); font-size: 1.1rem; }
.lp-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lp-video { aspect-ratio: 16 / 9; position: relative; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.lp-video img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } .lp-video { order: -1; } .lp-hero { padding-top: 20px; } }

.countdown { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-top: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 10px; padding: 8px 12px; }
.countdown span { width: 100%; font-size: .85rem; font-weight: 600; }
.countdown b { font-family: var(--f-en); font-size: 1.3rem; color: #c2410c; min-width: 1.6ch; text-align: right; }
.countdown small { margin-right: 6px; }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.pick { display: grid; gap: 6px; border: 2px solid var(--line); border-radius: 14px; padding: 10px; color: var(--ink); background: #fff; }
.pick:hover { text-decoration: none; border-color: #c4b5fd; }
.pick.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.pick img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.pick .t { font-weight: 600; line-height: 1.35; }
.pick .price { font-size: 1.05rem; }

.problems { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.problems li { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.problems svg { width: 22px; height: 22px; color: var(--danger); flex: none; margin-top: 2px; }
.solution { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 12px; padding: 14px; margin: 0; }
.solution svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

.cert-show { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.cert-show img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .cert-show { grid-template-columns: minmax(0, 1fr); } }
.card-plain { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }

.order-sec { background: linear-gradient(180deg, #fff 0%, #f3f0ff 100%); }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; max-width: 560px; margin: 0 auto; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.field legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin-bottom: 8px; }
.opt:has(input:checked) { border-color: var(--violet); background: #f5f3ff; }
.opt input { width: 20px; height: 20px; accent-color: #7c3aed; flex: none; }
.opt .t { flex: 1; font-weight: 600; color: var(--ink); line-height: 1.35; }
.opt .price { font-size: 1.05rem; }
.check-line { display: flex; gap: 10px; align-items: center; margin: -4px 0 14px; font-weight: 500; }
.check-line input { width: 18px; height: 18px; accent-color: #7c3aed; }
.total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding: 14px 0; margin-top: 4px; font-weight: 600; }
.total .price { font-size: 1.5rem; }

/* order / payment page */
.pay-card { max-width: 600px; margin: 32px auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.pay-card .head { padding: 20px 24px; background: var(--soft); border-bottom: 1px solid var(--line); }
.pay-card .head h1 { font-size: 1.35rem; margin: 0; }
.pay-card .body { padding: 22px 24px; }
.pay-steps { counter-reset: p; list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.pay-steps li { counter-increment: p; display: flex; gap: 12px; }
.pay-steps li::before { content: counter(p); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--f-en); }
.copy-row { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 10px; padding: 8px 8px 8px 14px; margin-top: 6px; }
.copy-row b { font-family: var(--f-en); font-size: 1.2rem; color: var(--ink); flex: 1; }
.copy-row button { min-height: 36px; }
.waiting { text-align: center; padding: 10px 0; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #ede9fe; border-top-color: var(--violet); margin: 0 auto 12px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done-icon { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 8px; }
.kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 14px; margin: 16px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); }

/* landing v2: course cards + "আমি নিতে চাই" (owner 2026-11-10) */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.trust li { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: .95rem; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@media (max-width: 420px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.path { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.path.hl { border-color: #c4b5fd; background: #faf8ff; }
.path p { margin: 0; color: var(--muted); }
.path-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ede9fe; color: var(--violet); margin-bottom: 10px; }
.path-ic svg { width: 22px; height: 22px; }
@media (max-width: 680px) { .paths { grid-template-columns: minmax(0, 1fr); } }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.ccard { background: #fff; border: 2px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 90px; }
.ccard.picked { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.ccard-top { padding: 20px 20px 4px; display: grid; gap: 8px; }
.ccard-top img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 4px; }
.ccard h3 { font-size: 1.12rem; margin: 0; }
.ccard .muted { margin: 0; font-size: .95rem; }
.ccard .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .88rem; }
.ccard .meta span { display: inline-flex; gap: 5px; align-items: center; }
.ccard .meta svg { width: 15px; height: 15px; }
.mini-ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 5px; font-size: .93rem; }
.mini-ticks li { display: flex; gap: 8px; }
.mini-ticks svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 4px; }
.more { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; }
.more > summary { cursor: pointer; color: var(--violet); font-weight: 600; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: " ▾"; }
.more[open] > summary::after { content: " ▴"; }
.more p { font-size: .93rem; color: var(--text); margin: 10px 0; }
.more .curriculum details { margin-bottom: 6px; }
.more .curriculum summary { padding: 10px 12px; font-size: .93rem; }
.more .curriculum li { font-size: .9rem; }
.ccard-foot { margin-top: auto; padding: 14px 20px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ccard-foot .price { font-size: 1.5rem; }
.ccard-foot .price del { font-size: .95rem; }
.ccard-foot .btn { margin-top: 4px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
.hero-card img { border-radius: 10px; }
.hero-card p { margin: 10px 4px 2px; font-size: .9rem; color: var(--muted); }

/* header: logo + Login + ভর্তি হন only, same on phones (no menu) */
.site-header .head-actions { display: flex; position: static; margin-left: auto; gap: 14px; align-items: center; box-shadow: none; padding: 0; }
.site-header .login-link { color: var(--ink); font-weight: 600; }
.site-header .login-link:hover { color: var(--violet); text-decoration: none; }
@media (max-width: 820px) {
  .site-header .head-actions { display: flex; }
  .site-header .logo img { height: 32px; }
  .site-header .head-actions .btn { min-height: 38px; padding: 0 .9em; }
}

/* order form v2: two columns on PC (owner 2026-11-10) */
.order-sec { background: linear-gradient(180deg, #ffffff 0%, #f1edff 100%); }
.order-title h2 { margin-bottom: 4px; }
.order-title p { margin: 0 0 26px; }
.order-err { max-width: 1000px; margin: 0 auto 16px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; max-width: 1080px; margin: 0 auto; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.step-h { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; margin: 0 0 12px; }
.step-h span { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.order-panel .step-h:not(:first-child) { margin-top: 22px; }

.course-opts { display: grid; gap: 10px; }
.copt { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.copt:hover { border-color: #c4b5fd; }
.copt:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); background: #fbfaff; }
.copt input { width: 20px; height: 20px; accent-color: #7c3aed; flex: none; }
.copt-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.copt-body .t { font-weight: 600; color: var(--ink); line-height: 1.35; }
.copt-body .m { font-size: .85rem; color: var(--muted); }
.copt-price { text-align: right; display: grid; line-height: 1.2; }
.copt-price b { font-family: var(--f-en); font-size: 1.15rem; color: var(--ink); }
.copt-price del { font-family: var(--f-en); font-size: .82rem; color: var(--muted); }

.order-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px; position: sticky; top: 86px; }
@media (max-width: 900px) { .order-panel { position: static; padding: 20px; } }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.pay-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.popt { --c: #7c3aed; display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px; padding: 11px 12px; cursor: pointer; background: #fff; }
.popt input { position: absolute; opacity: 0; pointer-events: none; }
.popt .dot { width: 34px; height: 34px; border-radius: 9px; background: var(--c); flex: none; position: relative; }
.popt .dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; opacity: .9; }
.popt b { display: block; color: var(--ink); line-height: 1.2; }
.popt small { color: var(--muted); font-size: .78rem; }
.popt:has(input:checked) { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.popt:has(input:focus-visible) { outline: 3px solid rgba(124, 58, 237, .4); outline-offset: 2px; }
.popt-bkash { --c: #e2136e; } .popt-nagad { --c: #f6921e; } .popt-rocket { --c: #8c3494; } .popt-upay { --c: #0f4fa8; }
.popt-sslcommerz { --c: #1e88e5; } .popt-bank { --c: #475569; }

.summary { margin: 20px 0 14px; background: var(--soft); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.summary-course { font-weight: 600; color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #d8d4ee; padding-top: 8px; }
.summary-total b { font-family: var(--f-en); font-size: 1.6rem; color: var(--ink); }
.secure { display: flex; gap: 8px; align-items: flex-start; justify-content: center; font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.secure svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
[hidden] { display: none !important; }
.field > label { line-height: 1.5; }
.field-row { align-items: start; }

/* payment choice like the owner's shop: logo tiles, the chosen one opens its instructions (2026-11-10) */
.pay-list { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; position: relative; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt.is-on { border-color: var(--violet); background: #fbfaff; }
.pay-opt:has(input:focus-visible) { outline: 3px solid rgba(124, 58, 237, .4); outline-offset: 2px; }
.pay-logo { width: 54px; height: 36px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--line); display: grid; place-items: center; flex: none; overflow: hidden; }
.pay-logo img { max-width: 44px; max-height: 26px; object-fit: contain; }
.pay-logo svg { width: 20px; height: 20px; color: var(--muted); }
.pay-text { flex: 1; min-width: 0; line-height: 1.3; }
.pay-text b { display: block; color: var(--ink); }
.pay-text small { color: var(--muted); font-size: .82rem; }
.pay-tick { width: 22px; height: 22px; color: var(--violet); opacity: 0; flex: none; }
.pay-opt.is-on .pay-tick { opacity: 1; }
.pay-panel { border: 1px dashed #c4b5fd; background: #faf8ff; border-radius: 12px; padding: 14px; margin: -2px 0 6px; }
.pay-step { margin: 0 0 8px; font-size: .95rem; color: var(--ink); }
.pay-amount { color: var(--violet); font-family: var(--f-en); }
.pay-num { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 14px; margin-bottom: 12px; }
.pay-num span { flex: 1; font-family: var(--f-en); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: .02em; }
.pay-copy { border: 0; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.pay-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
.pay-fields input { width: 100%; min-height: 46px; border: 1px solid #d5d9e6; border-radius: 10px; padding: 8px 12px; font: inherit; background: #fff; }
.pay-fields input:focus { border-color: var(--brand2); outline: 3px solid rgba(139, 92, 246, .18); }
@media (max-width: 480px) { .pay-fields { grid-template-columns: minmax(0, 1fr); } }
.pay-note { margin: 0; font-size: .85rem; color: var(--muted); }

/* help under the order form (owner 2026-11-10) */
.order-help { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); text-align: center; }
.order-help p { margin: 0 0 10px; font-size: .92rem; color: var(--text); }

/* "how the course starts" timeline + WhatsApp sample (owner 2026-11-10) */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .start-grid { grid-template-columns: minmax(0, 1fr); } }
.timeline { list-style: none; counter-reset: t; padding: 0; margin: 18px 0 24px; display: grid; gap: 0; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 20px 50px; display: grid; gap: 3px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; }
.timeline li::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: #e4ddfb; }
.timeline li:last-child::after { display: none; }
.timeline b { color: var(--ink); font-size: 1.05rem; }
.timeline span { color: var(--muted); }
.timeline em { font-style: normal; display: inline-block; margin-left: 4px; font-size: .8rem; font-weight: 600; color: var(--violet); background: #ede9fe; border-radius: 99px; padding: 0 8px; }
.wa-mock { max-width: 360px; width: 100%; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 8px solid #111827; box-shadow: var(--shadow); background: #e5ddd5; }
.wa-top { display: flex; gap: 10px; align-items: center; background: #075e54; color: #fff; padding: 12px 14px; }
.wa-top small { display: block; opacity: .8; font-size: .75rem; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.wa-av img { width: 28px; height: 28px; }
.wa-body { padding: 18px 12px 26px; min-height: 280px; background: #ece5dd; }
.wa-bubble { position: relative; background: #fff; border-radius: 0 10px 10px 10px; padding: 10px 12px 22px; font-size: .9rem; line-height: 1.55; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-link { color: #027eb5; word-break: break-all; }
.wa-time { position: absolute; right: 10px; bottom: 4px; font-size: .7rem; color: #667781; }
.pay-fields input::placeholder { text-transform: none; }

/* landing: verify / result / AI cards (2026-11-10) */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feat h3 { margin: 4px 0 0; font-size: 1.12rem; }
.feat p { margin: 0 0 8px; color: var(--muted); flex: 1; }
.feat .btn { align-self: flex-start; }
.feat-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #ede9fe; color: var(--violet); }
.feat-ic svg { width: 24px; height: 24px; }
.feat-ic img { width: 30px; height: 30px; }
.feat.hl { border-color: #c4b5fd; box-shadow: 0 12px 30px rgba(124, 58, 237, .12); }
@media (max-width: 860px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } }

/* coupon box in the order forms */
.coupon-box { margin: 14px 0 4px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; border: 1px dashed #c4b5fd; border-radius: 10px; padding: 10px 12px; font: inherit; background: #faf8ff; }
.coupon-row .btn { flex: none; }
.coupon-msg { display: block; min-height: 1.2em; margin-top: 4px; font-size: .88rem; }
.coupon-msg.ok { color: var(--ok); font-weight: 600; }
.coupon-msg.bad { color: var(--danger); }

/* Landing order section for a signed-in student (owner 2026-11-11): welcome card instead of the order form. */
.order-logged { max-width: 620px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; }
.ol-who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ol-av { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.5rem; font-weight: 700; }
.ol-who small, .ol-have small { display: block; color: var(--muted); font-size: .85rem; }
.ol-who b { display: block; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.ol-roll { display: inline-block; margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--violet); background: #f3efff; border-radius: 999px; padding: 2px 10px; }
.ol-have { padding: 16px 0 4px; }
.ol-have ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ol-have li { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; font-size: .92rem; color: var(--ink); }
.ol-have em { font-style: normal; color: var(--ok); font-size: .8rem; margin-left: 4px; }
.ol-points { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 8px; }
.ol-points li { position: relative; padding-left: 28px; color: var(--text); }
.ol-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ol-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ol-btns .btn { flex: 1 1 200px; justify-content: center; }
@media (max-width: 560px) { .order-logged { padding: 20px 16px; border-radius: 16px; } }

/* Payment methods as compact tiles (owner 2026-11-11: the list was too tall) + copyable number and amount. */
.pay-list { gap: 10px; }
.pay-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
@media (max-width: 480px) { .pay-panel { padding: 12px 10px; } .pay-num { padding-left: 10px; } .pay-num span { font-size: 1.1rem; } }
.pay-tiles .pay-opt { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px 8px; text-align: center; }
.pay-tiles .pay-logo { width: 100%; max-width: 64px; height: 38px; }
.pay-name { font-size: .85rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pay-tiles .pay-tick { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; }
.pay-panel { margin: 0; }
.pay-copyrows { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-copyrows .pay-num { margin: 0; }
.pay-num small { flex: none; width: 42px; color: var(--muted); font-size: .8rem; }
.pay-num .pay-amount { color: var(--violet); }
.pay-copy.done { background: var(--ok); }
.site-footer.f-slim { margin-top: 0; padding-block: 0 20px; }
.site-footer.f-slim::before { display: none; }
.site-footer.f-slim .copy { border-top: 0; margin-top: 0; padding-top: 18px; }
@media (max-width: 560px) { .site-footer.f-slim { padding-bottom: 90px; } }
.f-none { height: 0; }
@media (max-width: 560px) { .f-none { height: 76px; } }

/* Login / forgot / reset (owner 2026-11-11) */
.auth-x { text-align: left; position: relative; padding-top: 34px; }
.auth-x h1 { margin: 10px 0 4px; }
.auth-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(124, 58, 237, .3); }
.auth-ico svg { width: 26px; height: 26px; }
.lbl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lbl-row a { font-size: .88rem; font-weight: 600; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 8px; cursor: pointer; }
.pw-eye svg { width: 20px; height: 20px; }
.auth-ok { background: var(--ok-bg); border: 1px solid #a7f3d0; border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.auth-ok b { color: var(--ok); }
.auth-ok p { margin: 6px 0 0; }
.auth-help { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--ink); font-size: .92rem; }
.auth-help svg { width: 22px; height: 22px; color: #16a34a; flex: none; }
.auth-help b { color: #15803d; }
@media (max-width: 480px) { .auth { margin: 24px auto; padding: 24px 18px; } }

/* Order / thank-you page (owner 2026-11-11): progress tracker, summary, next steps */
.ord-track { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 0; padding: 0; }
.ord-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); text-align: center; }
.ord-track li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.ord-track li:first-child::before { display: none; }
.ord-track li.done::before, .ord-track li.now::before { background: var(--brand2); }
.ord-track span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 700; color: var(--muted); }
.ord-track li.done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.ord-track li.now span { border-color: var(--brand2); color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.ord-track li.done, .ord-track li.now { color: var(--ink); font-weight: 600; }
.ord-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 18px; padding: 12px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.ord-sum dt { font-size: .75rem; color: var(--muted); }
.ord-sum dd { margin: 0; font-weight: 700; color: var(--ink); font-size: .92rem; word-break: break-word; }
.ord-next { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ord-next li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.ord-next svg { width: 20px; height: 20px; flex: none; color: var(--violet); margin-top: 2px; }

/* Thank-you page look (owner 2026-11-11: nicer + more useful) */
.ord-card { margin-top: 24px; position: relative; }
.ord-card .head { background: linear-gradient(140deg, #4f46e5 0%, #7c3aed 55%, #c026d3 100%); color: #fff; border-bottom: 0; padding: 26px 24px 20px; }
.ord-card .head h1 { color: #fff; font-size: 1.4rem; }
.ord-card .head .muted { color: rgba(255, 255, 255, .85); }
.ord-card .ord-track li { color: rgba(255, 255, 255, .75); }
.ord-card .ord-track li.done, .ord-card .ord-track li.now { color: #fff; }
.ord-card .ord-track li::before { background: rgba(255, 255, 255, .3); }
.ord-card .ord-track li.done::before, .ord-card .ord-track li.now::before { background: #fff; }
.ord-card .ord-track span { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); color: #fff; }
.ord-card .ord-track li.done span { background: #10b981; border-color: #fff; }
.ord-card .ord-track li.now span { background: #fff; color: var(--violet); border-color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); }
.ord-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.ord-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ordPulse 1.4s ease-in-out infinite; }
@keyframes ordPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.ord-copy { justify-content: center; gap: 8px; }
.ord-copy svg { width: 18px; height: 18px; }
#ordConfetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
#ordConfetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: ordFall 2.6s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes ordFall { to { top: 105%; opacity: .2; transform: translateX(40px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { #ordConfetti { display: none; } .ord-live .dot { animation: none; } }
@media (max-width: 480px) { .ord-card { margin-top: 12px; } .ord-card .head { padding: 22px 16px 18px; } }
.code-inp { font-size: 1.5rem !important; letter-spacing: 10px; text-align: center; font-family: var(--f-en); }
.auth-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.linkish { border: 0; background: none; padding: 0; color: var(--violet); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.ord-pw { font-size: 1.15rem; letter-spacing: 1px; color: var(--violet); }

/* Free lesson page (owner 2026-11-12) */
.free-lesson .reading { font-size: 1.05rem; line-height: 1.85; color: #1f2937; max-width: 72ch; }
.free-lesson .reading h1, .reading h2, .reading h3 { margin: 1.4em 0 .5em; }
.free-lesson .reading h2 { font-size: 1.25rem; padding-bottom: 6px; border-bottom: 2px solid #ede9fe; }
.free-lesson .reading h3 { font-size: 1.08rem; }
.free-lesson .reading p { margin: 0 0 1em; }
.free-lesson .reading ul, .reading ol { padding-left: 1.4em; margin: 0 0 1em; }
.free-lesson .reading li { margin-bottom: .35em; }
.free-lesson .reading strong { color: var(--ink); }
.free-lesson .reading code { background: #f1f0fb; padding: 1px 6px; border-radius: 6px; font-size: .92em; font-family: Consolas, monospace; }
.free-lesson .reading pre { background: #0f172a; color: #e2e8f0; padding: 14px 16px; border-radius: 12px; overflow-x: auto; }
.free-lesson .reading pre code { background: none; color: inherit; padding: 0; }
.free-lesson .reading blockquote { margin: 0 0 1em; padding: 10px 16px; border-left: 4px solid var(--violet); background: #faf8ff; border-radius: 0 10px 10px 0; }
.free-lesson .reading img { border-radius: 10px; margin: 8px 0; }
.free-lesson .reading table { border-collapse: collapse; width: 100%; margin: 0 0 1em; display: block; overflow-x: auto; }
.free-lesson .reading th, .reading td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.free-link { display: block; text-align: center; margin-top: 10px; font-weight: 700; font-size: .95rem; }
.free-lesson { max-width: 820px; padding-block: 24px 40px; }
.fl-head h1 { margin: 8px 0 4px; font-size: 1.6rem; line-height: 1.35; }
.fl-badge { display: inline-block; background: var(--ok-bg); color: var(--ok); border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: .85rem; }
.fl-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-top: 16px; box-shadow: var(--shadow); }
.fl-card h2 { margin-top: 0; font-size: 1.2rem; }
.free-lesson .lesson-video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.free-lesson .lesson-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fl-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: var(--grad); color: #fff; }
.fl-cta p { margin: 4px 0 0; color: rgba(255,255,255,.9); }
.fl-cta del { opacity: .75; margin-left: 4px; }
.fl-cta .btn-primary { background: #fff; color: var(--violet); box-shadow: none; flex: 0 0 auto; }
.fl-sec { margin-bottom: 12px; }
.fl-sec ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.fl-sec li { display: flex; gap: 8px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.fl-sec li.open { color: var(--ink); font-weight: 700; }
.fl-sec li em { font-style: normal; font-size: .78rem; color: var(--ok); margin-left: auto; }
@media (max-width: 560px) { .fl-cta .btn { width: 100%; justify-content: center; } .fl-card { padding: 16px; } }
