/* =========================================================
   Saira Sardar Digital Academy — stylesheet
   Brand colors are defined once in :root
   ========================================================= */
:root {
  --brand: #5a2be0;
  --brand-600: #4a1fc4;
  --brand-700: #3b1a9b;
  --brand-50: #f3efff;
  --brand-100: #e6ddff;
  --accent: #ffb020;
  --accent-600: #e79a05;
  --ink: #16151d;
  --ink-2: #3d3b4a;
  --muted: #6b6878;
  --line: #e6e4ee;
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --dark: #15112b;
  --green: #0f9d63;
  --red: #d8344a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(22, 21, 29, .06), 0 2px 8px rgba(22, 21, 29, .05);
  --shadow: 0 10px 30px -10px rgba(40, 20, 110, .25);
  --shadow-lg: 0 30px 60px -20px rgba(40, 20, 110, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* let the sticky header stick relative to the whole page, not its wrapper */
#site-header, #site-footer { display: contents; }
img, svg { display: block; max-width: 100%; }
.ic { display: inline-block; vertical-align: middle; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); margin-top: 32px; display: block; }
.center { text-align: center; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-50); padding: 6px 12px; border-radius: 99px; margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(90, 43, 224, .6); }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-600); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: #25d366; color: #073b1e; }
.btn-wa:hover { background: #1fbe5b; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- announcement + header ---------- */
.announce { background: var(--dark); color: #d9d4f5; font-size: .88rem; padding: 8px 0; text-align: center; }
.announce a { color: var(--accent); font-weight: 700; margin-left: 6px; white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--brand), #b03ce0); box-shadow: 0 6px 16px -6px rgba(90,43,224,.7);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.05rem; font-weight: 800; }
.logo-text small { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.logo-light .logo-text small { color: #b8b2d6; }

.nav-explore { position: relative; }
.explore-btn { background: none; border: 0; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 4px; padding: 8px 6px; color: var(--ink-2); }
.explore-btn:hover { color: var(--brand); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 0; display: none; grid-template-columns: 1fr 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; width: 520px;
}
.nav-explore:hover .mega, .nav-explore.open .mega { display: grid; }
.nav-explore::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.mega a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.mega a:hover { background: var(--brand-50); color: var(--brand); }

.header-search {
  flex: 1; min-width: 150px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: var(--bg-soft);
  border-radius: 99px; padding: 0 16px; height: 46px; color: var(--muted); min-width: 0; transition: border-color .2s, background .2s;
}
.header-search:focus-within { border-color: var(--brand); background: #fff; }
.header-search input { border: 0; background: transparent; outline: none; width: 100%; font-size: .95rem; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav .nav-cta { color: #fff; margin-left: 8px; padding: 10px 18px; }
.nav .nav-cta:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }

@media (max-width: 1180px) {
  .nav-explore { display: none; }
  .header-inner { gap: 12px; }
  .nav a { padding: 8px 8px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .menu-btn { display: block; }
  .header-search { order: 3; flex-basis: 100%; height: 42px; }
  .nav {
    display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin: 8px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #efe7ff 0%, transparent 60%), radial-gradient(800px 400px at -10% 110%, #fff3db 0%, transparent 60%); padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(120deg, var(--brand), #c03be0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-search { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); max-width: 560px; margin: 26px 0 18px; }
.hero-search input { flex: 1; border: 0; outline: none; padding: 0 14px; font-size: 1rem; min-width: 0; background: transparent; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.hero-tags a { background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; color: var(--ink-2); font-weight: 600; }
.hero-tags a:hover { border-color: var(--brand); color: var(--brand); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px 0 0; }
.hero-col { display: grid; gap: 18px; align-content: start; }
.hero-col:nth-child(2) { margin-top: 48px; }
.hero-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.hero-col:nth-child(2) .hero-card { animation-delay: -3s; }
.hero-card .thumb { aspect-ratio: 16/10; }
.hero-card .thumb { padding: 14px; }
.hero-card .thumb-title { font-size: 1.05rem; }
.hero-card .thumb-icon { width: 44px; height: 44px; border-radius: 12px; }
.hero-card-body { padding: 10px 14px 12px; font-size: .85rem; }
.hero-card-body b { display: block; }
.hero-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.hero-chip {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 8px 8px;
  box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600;
}
.hero-chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hero-chip.k1 .dot { background: var(--green); }
.hero-chip.k2 .dot { background: var(--accent); color: var(--dark); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero { padding: 44px 0 56px; }
}

/* ---------- stats ---------- */
.stats { background: var(--dark); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid b { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stats-grid span { color: #c9c3e6; font-size: .92rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.cat-card .cat-ic { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.cat-card b { display: block; }
.cat-card small { color: var(--muted); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 99px; cursor: pointer; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.tab:hover { border-color: var(--ink-2); }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
@media (max-width: 640px) { .course-grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; }
.course-card { display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card:hover .card-title { color: var(--brand); }
.card-media { position: relative; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 1.02rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.card-facts { font-size: .83rem; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.price { font-size: 1.15rem; font-weight: 800; }
.old { color: var(--muted); font-size: .9rem; }
.off { font-size: .78rem; font-weight: 700; color: var(--green); background: #e5f7ee; padding: 2px 8px; border-radius: 99px; }

.badge { position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-bestseller { background: #fceca6; color: #5a4300; }
.badge-toprated { background: #ffe0e5; color: #8a1328; }
.badge-new { background: #d6f5e6; color: #0a5c39; }
.badge-hot { background: #ffe1c7; color: #8a3a00; }
.badge-popular { background: var(--brand-100); color: var(--brand-700); }

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.rating b { color: #a15c00; }
.stars { display: inline-flex; letter-spacing: 1px; }
.star { position: relative; color: #e2d9c7; font-size: .95rem; line-height: 1; }
.star::before { content: "★"; position: absolute; inset: 0; width: var(--f); overflow: hidden; color: #f09a00; }
.new-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 3px 10px; border-radius: 99px; width: fit-content; }

/* generated thumbnail */
.thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; background: linear-gradient(135deg, var(--a), var(--b)); isolation: isolate;
}
.thumb::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.5) 1px, transparent 0); background-size: 16px 16px;
}
.thumb-ring { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255,255,255,.14); right: -50px; top: -60px; z-index: -1; }
.thumb-row { display: flex; align-items: flex-end; gap: 12px; }
.thumb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.thumb-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.thumb-icon svg { width: 60%; height: 60%; }
.thumb-title { font-weight: 800; font-size: 1.25rem; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.15); overflow-wrap: anywhere; }
.thumb-brand { font-size: .7rem; font-weight: 700; letter-spacing: .14em; opacity: .85; margin-top: 4px; }
.thumb.lg .thumb-title { font-size: 1.6rem; }
.thumb.lg .thumb-icon { width: 68px; height: 68px; }

/* ---------- features / why us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* each feature card gets its own colour pair via --a / --b */
.feature {
  --a: var(--brand); --b: #c03be0;
  position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--a) 11%, #fff) 0%, #fff 62%);
  border: 1px solid color-mix(in srgb, var(--a) 22%, var(--line));
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature::before {
  content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; right: -55px; top: -55px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a), var(--b)); opacity: .13; transition: transform .4s, opacity .3s;
}
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--a), var(--b)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -20px color-mix(in srgb, var(--a) 55%, transparent); border-color: color-mix(in srgb, var(--a) 40%, var(--line)); }
.feature:hover::before { transform: scale(1.25); opacity: .2; }
.feature:hover::after { transform: scaleX(1); }
.feature .f-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--a) 70%, transparent); transform: rotate(-4deg);
}
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.feature .f-num { position: absolute; right: 22px; bottom: 10px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--a); opacity: .08; z-index: -1; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { border-radius: var(--radius); padding: 28px; color: #fff; position: relative; overflow: hidden; }
.mode:nth-child(1) { background: linear-gradient(145deg, #5a2be0, #3b1a9b); }
.mode:nth-child(2) { background: linear-gradient(145deg, #1f1a3d, #15112b); }
.mode:nth-child(3) { background: linear-gradient(145deg, #c9530d, #e79a05); }
.mode .m-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); margin-bottom: 18px; }
.mode p { opacity: .85; margin: 0; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--dark); font-weight: 800; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.t-card blockquote { margin: 0; color: var(--ink-2); }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), #c03be0); flex-shrink: 0; }
.t-person small { display: block; color: var(--muted); }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }

/* founder */
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.founder-photo {
  aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(160deg, var(--brand), #c03be0 60%, var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 5rem; font-weight: 800; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.founder ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.founder li { display: flex; gap: 10px; align-items: flex-start; }
.founder li .ic { color: var(--green); margin-top: 3px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 30px; } .founder-photo { max-width: 320px; } }

/* accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0;
  padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 1rem;
}
.acc-head:hover { background: var(--bg-soft); }
.acc-head .ic { transition: transform .25s; color: var(--muted); }
.acc-item.open > .acc-head .ic { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 20px 18px; color: var(--ink-2); }
.acc-item.open > .acc-body { display: block; }
.faq-wrap { max-width: 820px; margin: 0 auto; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-700), var(--brand) 55%, #9a35d8); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); right: -120px; bottom: -180px; }
.cta-band p { color: #e3dcff; }
.cta-band .consult-form { background: #fff; color: var(--ink); padding: 24px; border-radius: var(--radius); position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 30px 20px; } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: #fff; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

/* ---------- popup ---------- */
.popup { position: fixed; inset: 0; z-index: 100; background: rgba(21,17,43,.55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.popup.show { opacity: 1; }
.popup-card { background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 440px; position: relative; box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px); overflow: auto; transform: translateY(12px); transition: transform .25s; }
.popup.show .popup-card { transform: none; }
.popup-close { position: absolute; top: 14px; right: 14px; background: var(--bg-soft); border: 0; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }


/* ---------- footer ---------- */
.footer { background: var(--dark); color: #c9c3e6; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer a.logo { display: flex; padding: 0; }
.footer p { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.footer p .ic { margin-top: 4px; color: var(--accent); }
.footer p a { display: inline; padding: 0; }
.footer-brand p { display: block; margin-top: 16px; max-width: 340px; }
.footer-brand .logo-text b { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.socials a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px 16px; font-size: .88rem; text-align: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(90,43,224,.55), transparent 70%); right: -80px; top: -160px; }
.page-hero p { color: #c9c3e6; max-width: 640px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .88rem; color: #b8b2d6; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: #d6ceff; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- courses listing ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 10px; }
.filters h4:first-of-type { margin-top: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.check .count { margin-left: auto; color: var(--muted); font-size: .82rem; }
.listing-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.listing-top select { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- course detail ---------- */
.cd-hero { background: var(--dark); color: #fff; padding: 40px 0 44px; }
.cd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.cd-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cd-sub { font-size: 1.12rem; color: #ddd8f5; }
.cd-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .92rem; color: #d6d0f0; align-items: center; margin-top: 12px; }
.cd-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cd-hero .rating b { color: var(--accent); }
.cd-hero .new-tag { background: rgba(255,255,255,.12); color: #fff; }

.buy-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.buy-wrap { position: relative; }
.buy-sticky { position: sticky; top: 96px; margin-top: -290px; }
.buy-sticky.compact .media-wrap, .buy-sticky.compact .includes, .buy-sticky.compact .includes-title { display: none; }
.buy-body { padding: 22px; }
.buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.buy-price .price { font-size: 2rem; }
.buy-save { color: var(--red); font-size: .88rem; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.buy-body .btn { margin-bottom: 10px; }
.buy-body small { display: block; text-align: center; color: var(--muted); margin-bottom: 16px; }
.includes-title { display: block; margin-bottom: 10px; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.includes li { display: flex; gap: 10px; align-items: center; }
.includes .ic { color: var(--brand); }
.mode-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mode-pill { font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); }

.cd-main { padding: 40px 0 72px; }
.cd-content { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.learn-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.learn-list li { display: flex; gap: 10px; font-size: .95rem; }
.learn-list .ic { color: var(--green); margin-top: 3px; }
@media (max-width: 640px) { .learn-list { grid-template-columns: 1fr; } }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips span { border: 1px solid var(--line); padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: .9rem; background: var(--bg-soft); }

.curr-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: .92rem; color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 700; cursor: pointer; padding: 0; }
.curr .acc-head { background: var(--bg-soft); }
.curr .acc-head:hover { background: #efedf6; }
.curr .acc-head small { font-weight: 500; color: var(--muted); margin-left: auto; margin-right: 8px; white-space: nowrap; }
.curr .acc-head span { display: flex; align-items: center; gap: 10px; }
.curr .acc-body { padding: 6px 20px 10px; }
.lesson { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: .94rem; }
.lesson + .lesson { border-top: 1px dashed var(--line); }
.lesson .ic { color: var(--muted); }
.lesson em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .85rem; white-space: nowrap; }

.bullets { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.instructor { display: flex; gap: 20px; align-items: flex-start; }
.instructor .avatar { width: 88px; height: 88px; font-size: 1.8rem; }
.review-summary { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.review-summary .big { font-size: 3rem; font-weight: 800; color: #a15c00; line-height: 1; }
.review-list { display: grid; gap: 16px; }
.review { border-top: 1px solid var(--line); padding-top: 16px; display: flex; gap: 14px; }
.review p { margin: 6px 0 0; color: var(--ink-2); }

@media (max-width: 960px) {
  .cd-grid { grid-template-columns: minmax(0, 1fr); }
  .buy-sticky { position: static; margin-top: 0; }
  .buy-wrap.desktop { display: none; }
}
.mobile-only { display: none; }
@media (max-width: 960px) { .mobile-only { display: block; } }
.cd-hero-thumb { display: none; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
@media (max-width: 960px) { .cd-hero-thumb { display: block; } }

/* ---------- enroll ---------- */
.enroll-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.enroll-grid > * { min-width: 0; }
.account-box b { word-break: break-word; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.panel + .panel { margin-top: 22px; }
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel h3 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.pick-list { display: grid; gap: 10px; }
.pick {
  display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s;
}
.pick:hover { border-color: var(--brand-100); }
.pick input { width: 20px; height: 20px; accent-color: var(--brand); flex-shrink: 0; }
.pick:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pick .mini { width: 64px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.pick .mini .thumb { padding: 0; justify-content: center; }
.pick .mini .thumb-text, .pick .mini .thumb-ring { display: none; }
.pick .mini .thumb-row { justify-content: center; }
.pick .mini .thumb-icon { width: 28px; height: 28px; border-radius: 8px; }
.pick-info { flex: 1; min-width: 0; }
.pick-info b { display: block; font-size: .95rem; }
.pick-info small { color: var(--muted); }
.pick-price { font-weight: 800; white-space: nowrap; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pay-methods label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; font-weight: 700; font-size: .92rem; }
.pay-methods input { position: absolute; opacity: 0; pointer-events: none; }
.pay-methods label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.pay-methods label:has(input:focus-visible) { outline: 3px solid var(--accent); }
@media (max-width: 480px) { .pay-methods { grid-template-columns: 1fr; } }
.account-box { background: var(--bg-soft); border: 1px dashed #cfc8ea; border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-box b { font-size: 1.1rem; display: block; }
.copy-btn { background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 12px; font-weight: 700; cursor: pointer; font-size: .85rem; }
.copy-btn:hover { border-color: var(--brand); color: var(--brand); }
.summary { position: sticky; top: 96px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.2rem; }
.sum-line.disc { color: var(--green); font-weight: 600; }
.sum-line > span:last-child { white-space: nowrap; }
.coupon { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; text-transform: uppercase; }
.msg { font-size: .85rem; margin: 0 0 8px; min-height: 1.2em; }
.msg.ok { color: var(--green); } .msg.err { color: var(--red); }
.notice { display: flex; gap: 12px; background: #fff8e8; border: 1px solid #f7deaa; border-radius: 12px; padding: 14px; font-size: .9rem; color: #6b4a00; }
.notice .ic { color: var(--accent-600); margin-top: 2px; }
.success { text-align: center; padding: 48px 26px; }
.success .tick { width: 76px; height: 76px; border-radius: 50%; background: #e5f7ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
@media (max-width: 960px) { .enroll-grid { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
@media (max-width: 480px) { .panel { padding: 20px 16px; } .pick { gap: 12px; padding: 12px; } .pick .mini { display: none; } }

/* ---------- contact / about ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.info-item .f-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.info-item b { display: block; }
.info-item > div { min-width: 0; overflow-wrap: anywhere; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { white-space: normal; }
.info-item a:hover { color: var(--brand); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values div { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
.values b { display: block; margin-bottom: 4px; }
.values p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }

/* reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- wishlist ---------- */
.course-card-wrap { position: relative; display: flex; }
.course-card-wrap > .course-card { flex: 1; min-width: 0; }
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .15s, color .2s;
}
.wish-btn:hover { transform: scale(1.08); color: var(--red); }
.wish-btn.on { color: var(--red); }
.wish-btn.on svg, .wish-inline.on svg { fill: currentColor; }
.saved-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink-2); flex-shrink: 0; }
.saved-link:hover { background: var(--bg-soft); color: var(--red); }
.saved-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.saved-count[hidden] { display: none; }
.card-next { font-size: .82rem; margin: 0; color: var(--brand-700); }
@media (max-width: 900px) { .saved-link { margin-left: auto; } .saved-link + .menu-btn { margin-left: 0; } }

/* ---------- batches ---------- */
.batch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* batch cards use the course colours (--a / --b set inline) */
.batch {
  --a: var(--brand); --b: #c03be0;
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 18px; padding: 20px 20px 20px 24px; border-radius: 18px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--a) 12%, #fff) 0%, #fff 55%, color-mix(in srgb, var(--b) 8%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--a) 25%, var(--line));
  transition: transform .25s, box-shadow .25s;
}
.batch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--a), var(--b)); }
.batch:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--a) 60%, transparent); }
.batch-ic { position: absolute; z-index: -1; right: 150px; bottom: -18px; color: var(--a); opacity: .08; transform: rotate(-12deg); pointer-events: none; }
.batch-date {
  width: 66px; flex-shrink: 0; text-align: center; border-radius: 14px; padding: 10px 0; line-height: 1.1; color: #fff;
  background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--a) 70%, transparent);
}
.batch .mode-pill { background: color-mix(in srgb, var(--a) 14%, #fff); color: color-mix(in srgb, var(--a) 75%, #000); }
.batch-title:hover { color: var(--a) !important; }
.batch-date b { display: block; font-size: 1.6rem; font-weight: 800; }
.batch-date span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.batch-info { flex: 1; min-width: 0; }
.batch-info p { margin: 2px 0; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.batch-info p.b-time { flex-wrap: nowrap; align-items: flex-start; }
.batch-info p.b-time .ic { margin-top: 3px; }
.batch-title { font-weight: 800; font-size: 1.02rem; }
.batch-title:hover { color: var(--brand); }
.starts { font-weight: 700; color: var(--ink-2); }
.seats { margin-top: 8px; }
.seats-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.seats-bar { background: color-mix(in srgb, var(--a, var(--brand)) 14%, #eee); }
.seats-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--a, var(--brand)), var(--b, #c03be0)); border-radius: 99px; }
.seats small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.seats small.low { color: var(--red); }
.batch .btn { padding: 10px 16px; font-size: .9rem; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--a) 80%, transparent); border: 0; }
.batch .btn:hover { filter: brightness(1.08); }
@media (max-width: 960px) { .batch-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .batch { flex-wrap: wrap; gap: 14px; }
  .batch .btn { width: 100%; }
}
.buy-batch { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; font-size: .86rem; margin-bottom: 14px; }
.buy-batch b { color: var(--brand-700); }

/* ---------- course detail extras ---------- */
.preview-btn {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,17,43,.25); border: 0; cursor: pointer; color: #fff; width: 100%;
}
.preview-btn span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; }
.preview-btn i { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.preview-btn i::before { content: ""; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.media-wrap { position: relative; }
.buy-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.buy-actions button, .buy-actions a { flex: 1; }
.btn-sm { padding: 8px 12px; font-size: .86rem; border-radius: 8px; }
.btn-soft { background: var(--bg-soft); border-color: var(--line); color: var(--ink-2); }
.btn-soft:hover { border-color: var(--ink-2); }
.wish-inline.on { color: var(--red); border-color: #f4c1c9; background: #fff1f3; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }

.video-frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:hover h3 { color: var(--brand); }
.post-card .thumb { aspect-ratio: 16/8; }
.post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { margin: 0; transition: color .2s; }
.post-body p { color: var(--muted); margin: 0; font-size: .94rem; }
.post-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.post-meta .cat { font-weight: 700; color: var(--brand); }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article p, .article li { font-size: 1.08rem; color: var(--ink-2); line-height: 1.75; }
.article ul { padding-left: 22px; }
.article-cta { margin-top: 40px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta b { display: block; font-size: 1.1rem; }

/* ---------- verify ---------- */
.verify-box { max-width: 640px; margin: 0 auto; }
.verify-form { display: flex; gap: 10px; }
.verify-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px; text-transform: uppercase; outline: none; }
.verify-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.cert-result { margin-top: 24px; }
.cert { border-radius: var(--radius); border: 2px solid var(--green); background: #f3fbf7; padding: 26px; position: relative; }
.cert.bad { border-color: var(--red); background: #fff5f6; }
.cert-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green); margin-bottom: 14px; }
.cert.bad .cert-status { color: var(--red); }
.cert dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.cert dt { color: var(--muted); font-weight: 600; }
.cert dd { margin: 0; font-weight: 700; }
@media (max-width: 480px) { .verify-form { flex-direction: column; } .cert dl { grid-template-columns: 1fr; gap: 2px; } .cert dd { margin-bottom: 8px; } }

/* back to top */
.to-top {
  position: fixed; right: 27px; bottom: 90px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s;
}
.to-top svg { transform: rotate(180deg); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 640px) { .to-top { display: none; } }

/* 404 */
.notfound { text-align: center; padding: 100px 0; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--brand), #c03be0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= v2 additions ================= */
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
.tab { display: inline-flex; align-items: center; gap: 7px; }
.announce .eb { color: #fff; font-weight: 700; margin-left: 4px; }
.hero-quiz { margin: 16px 0 0; font-size: .95rem; color: var(--muted); }
.hero-quiz a { color: var(--brand); font-weight: 700; }
.hero-quiz a:hover { text-decoration: underline; }
.pick-price s { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; text-align: right; }
.eb-note { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--red); font-weight: 700; margin: 8px 0 0; }

/* validation */
.field-err { display: none; color: var(--red); font-size: .8rem; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field.has-error .field-err { display: block; }
.fine { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-done { text-align: center; padding: 16px 0; }
.form-done .tick { width: 64px; height: 64px; border-radius: 50%; background: #e5f7ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }

/* modal variants */
.popup-card h3 { font-size: 1.45rem; margin-top: 8px; padding-right: 36px; }
.popup-card.wide { max-width: 900px; padding: 0; background: #000; overflow: hidden; }
.popup-card.wide .popup-close { z-index: 2; background: rgba(255,255,255,.9); }
.popup-card .video-frame { border-radius: 0; box-shadow: none; }
@media (max-width: 480px) { .popup-card { padding: 22px 18px; } }

/* quiz */
.q-progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 4px 0 18px; }
.q-progress span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .3s; }
.q-options { display: grid; gap: 10px; margin-top: 14px; }
.q-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 16px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.q-opt .ic { color: var(--muted); transition: transform .15s; }
.q-opt:hover { border-color: var(--brand); background: var(--brand-50); }
.q-opt:hover .ic { transform: translateX(3px); color: var(--brand); }
.q-back { margin-top: 16px; }
.q-result { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 12px 0 18px; }
.q-result .thumb { aspect-ratio: 16/6; }
.q-result-body { padding: 14px 16px; }
.q-result-body p { margin: 0 0 8px; font-size: .94rem; color: var(--ink-2); }
.q-actions { display: grid; gap: 10px; }
.q-alt { margin: 14px 0 0; font-size: .92rem; }
.q-alt a { color: var(--brand); font-weight: 700; }

/* free demo band */
.demo-band { background: var(--dark); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 44px; align-items: center; position: relative; overflow: hidden; }
.demo-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(90,43,224,.6), transparent 65%); left: -160px; bottom: -240px; }
.demo-band > * { position: relative; }
.demo-band h2 { color: #fff; }
.demo-band p { color: #cfc8ea; font-size: 1.05rem; }
.eyebrow-dark { background: rgba(255,255,255,.1); color: var(--accent); }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.tick-list .ic { color: var(--accent); }
.demo-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; }
.demo-card h3 { font-size: 1.3rem; }
.demo-band .demo-card p { color: var(--muted); font-size: .84rem; }
@media (max-width: 960px) { .demo-band { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; gap: 28px; } }
.demo-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 20px 22px; }
.demo-inline b { display: block; font-size: 1.05rem; }
.demo-inline span { color: var(--ink-2); font-size: .92rem; }

/* founder intro video */
.photo-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s; }
.photo-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.photo-play svg { fill: currentColor; margin-left: 4px; }

/* WhatsApp quick-question widget */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.wa-float {
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37,211,102,.6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-panel { position: absolute; right: 0; bottom: 72px; width: 320px; max-width: calc(100vw - 40px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
.wa-widget.open .wa-panel { display: block; animation: waIn .2s ease; }
@keyframes waIn { from { opacity: 0; transform: translateY(8px); } }
.wa-head { background: #075e54; color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.wa-head small { display: block; opacity: .8; font-size: .78rem; }
.wa-av { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #075e54; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.wa-body { background: #efe7dc; padding: 14px; display: grid; gap: 8px; }
.wa-bubble { background: #fff; border-radius: 4px 12px 12px 12px; padding: 10px 12px; font-size: .9rem; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-q { text-align: left; background: #fff; border: 1.5px solid #25d366; color: #075e54; border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: .86rem; cursor: pointer; }
.wa-q:hover { background: #e7fbef; }
.wa-q.wa-other { border-style: dashed; }

/* mobile sticky action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; gap: 8px; padding: 8px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px -8px rgba(22,21,29,.35);
    transform: translateY(150%); transition: transform .3s;
  }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; padding: 12px 8px; font-size: .92rem; }
  .mbar .mbar-wa { flex: 0 0 50px; padding: 0; }
  .wa-widget { display: none; }
  .footer { padding-bottom: 80px; }
}

/* student work */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
a.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-img { aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-img .thumb { height: 100%; aspect-ratio: auto; }
.work-body { padding: 14px 16px; }
.work-body b { display: block; }
.work-body small { color: var(--muted); }

/* refer */
.refer-band { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #fff4de, #ffe7f0); border: 1px solid #f6d8a8; border-radius: var(--radius); padding: 22px 26px; transition: box-shadow .2s; }
.refer-band:hover { box-shadow: var(--shadow); }
.refer-band > span:nth-child(2) { flex: 1; min-width: 220px; }
.refer-band b { display: block; font-size: 1.15rem; }
.refer-band span span { color: var(--ink-2); font-size: .95rem; }
.refer-ic { width: 54px; height: 54px; border-radius: 14px; background: #fff; color: var(--accent-600); display: grid; place-items: center; flex-shrink: 0; }
.refer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.refer-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ref-box { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: var(--bg-soft); border: 1px dashed #cfc8ea; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.ref-box small { width: 100%; color: var(--muted); font-weight: 600; }
.ref-box b { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .95rem; }
.ref-box .copy-btn { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 960px) { .refer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .refer-steps { grid-template-columns: minmax(0, 1fr); } }

/* timetable */
.tt-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.tt-bar .tabs { flex: 1 1 100%; min-width: 0; padding-bottom: 0; flex-wrap: wrap; overflow: visible; }
.tt-tz { font-size: .9rem; }
.tt-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.tt-day { background: var(--bg-soft); border-radius: var(--radius); padding: 12px; min-height: 180px; }
.tt-day h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; text-align: center; }
.tt-slot { display: block; border-radius: 10px; padding: 10px; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); font-size: .8rem; line-height: 1.35; transition: transform .15s; }
.tt-slot:hover { transform: translateY(-2px); }
.tt-slot b { display: block; font-size: .88rem; margin-bottom: 2px; }
.tt-slot span, .tt-slot small { display: block; }
.tt-slot .tt-local { font-weight: 700; background: rgba(0,0,0,.15); border-radius: 6px; padding: 2px 6px; margin: 4px 0; }
.tt-slot small { opacity: .85; }
.tt-empty { color: var(--muted); font-size: .82rem; text-align: center; margin: 20px 0 0; }
@media (max-width: 1000px) {
  .tt-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tt-day { min-height: 0; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .tt-day h3 { text-align: left; margin: 10px 0 0; grid-row: span 9; }
  .tt-slot { margin: 0; }
  .tt-empty { text-align: left; margin: 10px 0 0; }
}

/* print (course syllabus) */
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; display: block; }
  .announce, .header, .footer, .wa-widget, .mbar, .to-top, .toast, .popup, .no-print, .buy-wrap, .mobile-only, .cd-hero-thumb, .link-btn { display: none !important; }
  .print-only { display: block; }
  .print-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 16px; font-size: 11pt; }
  .print-foot { border-top: 1px solid #999; margin-top: 16px; padding-top: 8px; font-size: 10pt; }
  .cd-hero { background: none !important; color: #000; padding: 0; }
  .cd-hero h1 { font-size: 22pt; color: #000; }
  .cd-sub, .cd-meta, .cd-meta span { color: #333 !important; }
  .cd-grid { display: block; }
  .cd-main { padding: 12px 0; }
  .cd-content { gap: 14px; }
  .box { border: 0; padding: 0; }
  .acc-item .acc-body { display: block !important; }
  .acc-head .ic { display: none; }
  .acc, .acc-item { border-color: #ccc; break-inside: avoid; }
  .tool-chips span { background: none; }
  a { color: #000; text-decoration: none; }
}

/* ================= images ================= */
/* course illustration inside generated thumbnails */
.thumb-art { position: absolute; z-index: -1; right: 19%; top: 8%; width: 44%; height: 54%; object-fit: contain; object-position: right top; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.12)); }
.thumb.lg .thumb-art { right: 6%; top: 6%; width: 48%; height: 50%; }
.card-media .thumb-art { right: 18%; }
.pick .mini .thumb-art, .hero-card .thumb-art { display: none; }

.photo-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
.wa-av.photo-avatar { border: 2px solid #fff; background: #fff; }

/* hero: Saira photo with floating info cards */
.hero-visual { position: relative; height: 560px; max-width: 480px; width: 100%; justify-self: center; }
.hv-blob { position: absolute; inset: 40px 30px 30px 40px; border-radius: 46% 54% 42% 58% / 50% 44% 56% 50%; background: linear-gradient(140deg, var(--brand), #c03be0 55%, var(--accent)); transform: rotate(-6deg); }
.hv-blob::after { content: ""; position: absolute; inset: -18px; border-radius: inherit; border: 2px dashed rgba(90,43,224,.35); }
.hv-photo { position: absolute; left: 70px; right: 60px; top: 10px; bottom: 40px; border-radius: 200px 200px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #ff7a45; }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hv-name { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: #fff; border-radius: 14px; padding: 10px 18px; text-align: center; box-shadow: var(--shadow); white-space: nowrap; }
.hv-name b { display: block; font-size: 1rem; }
.hv-name span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.hv-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; animation: float 6s ease-in-out infinite; }
.hv-card b { display: block; font-size: .9rem; }
.hv-card small { display: block; color: var(--muted); font-size: .76rem; }
.hv-card .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hv-live { left: 0; top: 70px; }
.hv-live .dot { background: var(--green); }
.hv-cert { right: 0; top: 300px; animation-delay: -3s; }
.hv-cert .dot { background: var(--accent); color: var(--dark); }
.hv-batch { right: -10px; top: 120px; animation-delay: -1.5s; }
.hv-batch:hover { box-shadow: var(--shadow-lg); }
.hv-date { width: 44px; border-radius: 10px; text-align: center; color: #fff; background: linear-gradient(145deg, var(--a), var(--b)); padding: 4px 0; font-size: .7rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.hv-date b { font-size: 1.2rem; color: #fff; }
.hv-seats { color: var(--red) !important; font-weight: 700; }
@media (max-width: 960px) { .hero-visual { display: none; } }

/* founder photo */
.founder-photo.has-img { background: #ff7a45; }
.founder-photo img { object-position: center top; }

/* how live classes work: zoom mock-up + steps */
.live-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.modes.modes-stack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.modes-stack .mode { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 20px 22px; }
.modes-stack .mode .m-ic { grid-row: span 2; margin: 0; }
.modes-stack .mode h3 { margin: 2px 0 4px; }
@media (max-width: 960px) { .live-wrap { grid-template-columns: minmax(0, 1fr); } }

.zoom-mock { position: relative; background: #1b1830; border-radius: 18px; padding: 12px; box-shadow: var(--shadow-lg); color: #fff; margin: 0 18px 30px 0; }
.zm-bar { display: flex; align-items: center; gap: 10px; font-size: .85rem; padding: 2px 4px 12px; }
.zm-dots { display: flex; gap: 5px; }
.zm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.zm-dots i:nth-child(2) { background: #febc2e; } .zm-dots i:nth-child(3) { background: #28c840; }
.zm-live { margin-left: auto; background: var(--red); border-radius: 6px; padding: 2px 8px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.zm-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16/8; }
.zm-teacher { grid-row: span 2; position: relative; border-radius: 12px; overflow: hidden; outline: 3px solid #28c840; outline-offset: -3px; background: #ff7a45; }
.zm-teacher img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.zm-name { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,.6); border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 600; }
.zm-student { border-radius: 12px; background: #2a2645; display: grid; place-items: center; }
.zm-student span { width: 40px; height: 40px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.zm-tools { display: flex; justify-content: center; gap: 10px; padding-top: 12px; font-size: .78rem; }
.zm-tools span { display: inline-flex; align-items: center; gap: 5px; background: #2a2645; border-radius: 8px; padding: 6px 10px; }
.zm-tools .zm-share { background: var(--green); font-weight: 700; }
.zm-chat { position: absolute; right: -18px; bottom: -22px; max-width: 220px; background: #fff; color: var(--ink); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: .82rem; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.zm-chat b { display: block; color: var(--brand); font-size: .76rem; }
.zm-hand { position: absolute; left: -14px; top: 54px; background: var(--accent); color: var(--dark); border-radius: 99px; padding: 6px 12px; font-size: .78rem; font-weight: 800; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; animation-delay: -3s; }
@media (max-width: 560px) {
  .zoom-mock { margin: 0 0 30px; }
  .zm-chat { right: 6px; } .zm-hand { left: 6px; top: 44px; }
  .zm-student span { width: 30px; height: 30px; font-size: .7rem; }
  .zm-tools span:not(.zm-share) { display: none; }
}

/* demo card host line */
.demo-host { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.demo-host b { display: block; font-size: .95rem; }
.demo-host small { color: var(--muted); }

/* course page */
.instructor-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; background: #ff7a45; border: 3px solid var(--brand-100); }
.hero-instructor { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 5px 16px 5px 5px; color: #e4defa; font-size: .92rem; }
.hero-instructor:hover { background: rgba(255,255,255,.14); }
.hero-instructor b { color: #fff; }
.cert-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: center; }
.cert-block p { color: var(--ink-2); }
@media (max-width: 760px) { .cert-block { grid-template-columns: minmax(0, 1fr); } }

/* certificate mock-up */
.cert-mock { background: linear-gradient(135deg, #f6f1ff, #fff7ea); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.cm-inner { border: 2px solid #d9cdf7; outline: 1px solid #d9cdf7; outline-offset: 4px; border-radius: 8px; padding: 22px 20px 16px; text-align: center; background: #fff; position: relative; }
.cm-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: .82rem; color: var(--brand-700); }
.cm-top .logo-mark { width: 28px; height: 28px; border-radius: 8px; font-size: .7rem; box-shadow: none; }
.cm-kicker { display: block; margin: 12px 0 6px; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-600); }
.cm-line { margin: 0; font-size: .75rem; color: var(--muted); }
.cm-name { display: block; font-size: 1.45rem; margin: 2px 0 6px; font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--ink); }
.cm-course { display: block; font-size: .86rem; margin: 2px 0 14px; color: var(--brand-700); line-height: 1.3; }
.cm-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: end; font-size: .62rem; color: var(--muted); text-align: left; }
.cm-foot span:last-child { text-align: right; }
.cm-sign { display: block; white-space: nowrap; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 3px; }
.cm-seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle, var(--accent) 55%, var(--accent-600)); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.verify-sample .cert-mock { max-width: 520px; margin: 18px auto 0; }
.cert-mock { max-width: 100%; min-width: 0; }
.cm-foot span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cert-mock { transform: none; } .cm-inner { padding: 18px 12px 12px; } .cm-name { font-size: 1.2rem; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: .9rem; font-weight: 600; opacity: 0; transition: .25s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
