/* Public website (red design): announcement bar, pink header, hero, cards, maroon footer, floating buttons. */
:root { --hero-art-bg: #fde4e7; --hero-art-blob: rgba(255,255,255,.55); --site-bg: #ffffff; }
:root[data-theme="dark"] { --hero-art-bg: #3a1219; --hero-art-blob: rgba(255,255,255,.06); --site-bg: var(--bg); }
body.site { background: var(--site-bg); font-size: 15px; }
body.nav-locked { overflow: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }
.row.wrap { max-width: none; margin: 0; padding-inline: 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.hide-sm { }
.btn.outline-btn { background: var(--card); border-color: var(--primary-soft-2); color: var(--primary); }
.btn.outline-btn:hover { background: var(--primary-soft); }
.hero .btn.outline-btn { color: var(--text); border-color: var(--border-strong); }
.btn.wa { background: #22c55e; border-color: #22c55e; color: #fff; }
.icon-tile.red { background: var(--primary-soft); color: var(--primary); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(200,16,46,.18); font-style: normal; flex: none; }

/* Announcement bar */
.announce { background: var(--primary); color: #fff; overflow: hidden; white-space: nowrap; height: 37px; display: flex; align-items: center; font-size: 13px; font-weight: 700; }
.announce .track { display: inline-flex; gap: 60px; padding-left: 100%; animation: marquee 32s linear infinite; }
.announce:hover .track { animation-play-state: paused; }
.announce a { color: #fff; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .announce .track { animation: none; padding-left: 24px; } }

/* Header */
:root { --header-bg-scrolled: rgba(253, 236, 238, .72); }
:root[data-theme="dark"] { --header-bg-scrolled: rgba(30, 11, 15, .72); }
html:has(body.site), body.site { overflow-x: clip; } /* safety net: nothing may push the page sideways on phones */
@media (max-width: 640px) { .hdr-cta .lbl { display: none; } .hdr-cta { padding: 0 11px; } }
@media (max-width: 480px) { .hdr-actions .hdr-cta { display: none; } } /* "My learning" stays in the ☰ menu on phones */
#header { display: contents; } /* lets the header stick to the whole page, not just its wrapper */
/* The blur lives on a background layer: a backdrop-filter on the header itself would trap the fixed phone menu inside the 76px header. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); transition: box-shadow .25s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--header-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(60, 10, 20, .08); }
.site-header.scrolled::before { background: var(--header-bg-scrolled); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 76px; }
.site-brand { padding: 0; font-size: 19px; font-weight: 700; color: var(--heading); white-space: nowrap; }
.site-brand em, .site-footer .site-brand em { font-style: normal; color: var(--primary); }
.site-brand .brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.site-brand .brand-mark::before { font-size: 19px; }
.site-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a, .dd-btn { padding: 9px 15px; border-radius: var(--pill); font-weight: 500; color: var(--text-2); font-size: 15px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.site-nav > a:hover, .dd-btn:hover { color: var(--primary); }
.site-nav > a.active, .dd-btn.active { background: var(--primary-soft-2); color: var(--primary); font-weight: 600; }
.dd-btn svg { width: 15px; height: 15px; transition: transform .15s; }
.dd { position: relative; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.dd.open .dd-menu { display: block; }
.dd-menu a, .dd-menu .dd-cta { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--text); }
.dd-menu a:hover { background: var(--bg-2); }
.dd-menu .ci { width: 28px; height: 28px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dd-menu .ci svg { width: 15px; height: 15px; }
.dd-cta { width: 100%; border: 0; background: var(--primary-soft); color: var(--primary) !important; font-weight: 600; cursor: pointer; margin-top: 6px; }
.dd-menu.mega { min-width: 560px; left: 50%; transform: translateX(-30%); padding: 14px; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; }
.dd-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); padding: 6px 10px; }
.mega-cols .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mega-foot { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; }
.mega-foot a { font-weight: 600; color: var(--primary); }
.spacer { flex: 1; }
.site-header .spacer { flex: 0 0 0; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.hdr-login { font-weight: 600; padding: 0 8px; color: var(--heading); }
.hdr-login:hover { color: var(--primary); }
.hdr-cta { box-shadow: var(--shadow-red); }
.menu-btn { display: none; }
.nav-mobile-head, .nav-extra, .nav-scrim { display: none; }
@media (max-width: 1140px) {
  /* Phone / tablet menu: a full-height panel sliding in from the right over a dark backdrop */
  .nav-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(30, 8, 12, .5); }
  .nav-scrim.open { display: block; }
  body.nav-locked .float-cta, body.nav-locked .support-panel { display: none; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(340px, 86vw); z-index: 91; margin: 0; gap: 0;
    display: none; flex-direction: column; align-items: stretch; background: var(--card); box-shadow: -12px 0 40px rgba(0, 0, 0, .25); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.open { display: flex; animation: navIn .2s ease-out; }
  @keyframes navIn { from { transform: translateX(40px); } to { transform: none; } }
  .nav-mobile-head { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--border); flex: none; }
  .site-nav > a, .site-nav .dd-btn { width: 100%; border-radius: 0; padding: 15px 20px; font-size: 16px; justify-content: space-between; border-bottom: 1px solid var(--border); flex: none; }
  .site-nav > a.active, .site-nav .dd-btn.active { background: var(--primary-soft); }
  .site-nav .dd { display: flex; flex-direction: column; flex: none; }
  .dd-menu, .dd-menu.mega { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 6px 12px 12px; background: var(--surface-2); }
  .mega-cols { grid-template-columns: minmax(0, 1fr); }
  .nav-extra { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: none; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none !important; }
  .hdr-actions { margin-left: auto; }
}@media (max-width: 480px) { .site-header .wrap { gap: 8px; } .site-brand { font-size: 16px; } .site-brand .brand-mark { width: 34px; height: 34px; } .hdr-actions { gap: 6px; margin-left: auto; } .hdr-actions .icon-btn { width: 36px; height: 36px; } .hdr-cta { padding: 0 12px; font-size: 13px; height: 36px; } }

/* Sections */
.sec { padding: 64px 0; }
.sec.tight { padding: 22px 0; }
.sec.page { padding: 44px 0 64px; }
.sec.tight-top { padding-top: 24px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-more { display: flex; justify-content: center; margin-top: 26px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head h2 { font-size: clamp(24px, 3vw, 30px); }
.page-head-site { margin-bottom: 24px; }
.page-head-site h1 { font-size: clamp(26px, 3.4vw, 34px); }
.page-head-site p { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--primary-soft) 0%, var(--site-bg) 100%); overflow: hidden; }
.hero .slides { display: grid; }
.hero .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero .slide.active { opacity: 1; visibility: visible; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 64px 74px; }
.hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.eyebrow svg { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--primary); }
.hero .lead { color: var(--text-2); font-size: 17px; max-width: 520px; line-height: 1.6; }
.hero .btn.primary { box-shadow: var(--shadow-red); }
.h-proof { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.h-proof > span { display: flex; flex-direction: column; line-height: 1.2; }
.h-proof strong { font-size: 18px; }
.h-proof small { color: var(--muted); font-size: 13px; }
.h-faces { flex-direction: row !important; }
.h-faces .avatar { box-shadow: 0 0 0 2px var(--card); margin-left: -8px; }
.h-faces .avatar:first-child { margin-left: 0; }
.h-rate > span { display: flex; align-items: center; gap: 6px; }
.hero-art { position: relative; padding: 30px 20px; }
.hero-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(200,16,46,.15)); }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.h-card { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.h-card strong { font-size: 17px; }
.h-card .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.h-card .icon-tile svg { width: 17px; height: 17px; }
.h-card-1 { top: 6px; left: 0; }
.h-card-2 { top: 54px; right: -6px; animation-delay: -1.5s; }
.h-card-3 { bottom: 70px; left: -14px; animation-delay: -3s; }
.h-card-4 { bottom: 4px; right: 10px; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .h-card { animation: none; } }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.sl-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: var(--primary-soft-2); cursor: pointer; transition: width .2s; }
.sl-dots button.active { width: 26px; background: var(--primary); }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.sl-nav.prev { left: 14px; } .sl-nav.next { right: 14px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 40px 60px; gap: 10px; }
  .hero-art { padding: 20px 6px; max-width: 520px; width: 100%; margin: 0 auto; }
  .sl-nav { display: none; }
}
@media (max-width: 480px) { .h-card { padding: 7px 10px; } .h-card strong { font-size: 14px; } .h-card .icon-tile { display: none; } .h-card-3 { left: 0; } .h-card-2 { right: 0; } }

/* Why us / offers / goals / categories */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); }
.why-card .icon-tile { margin-bottom: 8px; }
.why-card strong { font-size: 16px; }
.why-card p { color: var(--muted); font-size: 14px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.offer-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: linear-gradient(120deg, var(--surface-2), var(--primary-soft)); border: 1px solid var(--primary-soft-2); }
.o-kicker { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.offer-card strong { font-size: 16px; }
.code { border: 1.5px dashed var(--primary); color: var(--primary); background: var(--card); font-weight: 800; letter-spacing: .06em; padding: 4px 12px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.goal-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.goal-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.goal-card .num { font-weight: 800; color: var(--primary); font-size: 20px; }
.goal-card > svg { margin-left: auto; color: var(--primary); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.cat-card:hover { border-color: var(--primary); }

/* Segmented pills (All / Live / Recorded) */
.seg-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.seg-pills button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--border-strong); background: var(--card); color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.seg-pills button.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-red); }
.seg-pills button.active .live-dot { background: #fff; box-shadow: none; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; margin-bottom: 18px; }
@media (max-width: 760px) { .filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .filter-bar .input { grid-column: 1 / -1; } }

/* Course / product cards */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.c-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; height: 100%; }
.c-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.c-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--pink-grad-1), var(--pink-grad-2)); background-size: cover; background-position: center; overflow: hidden; display: grid; place-items: center; }
.c-thumb::before, .c-thumb::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); }
.c-thumb::before { width: 34%; aspect-ratio: 1; right: -6%; top: -16%; }
.c-thumb::after { width: 24%; aspect-ratio: 1; left: -6%; bottom: -14%; }
.c-thumb.has-img::before, .c-thumb.has-img::after { display: none; }
.c-thumb.has-img { background-size: contain; background-repeat: no-repeat; } /* one 16:9 frame everywhere – pictures are shown whole, never cropped */
.c-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.type-tag { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; color: #1a1416; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; }
.type-tag svg { width: 12px; height: 12px; }
.type-tag .live-dot { width: 7px; height: 7px; box-shadow: none; }
.c-bubble { grid-area: 1 / 1; width: 46px; height: 46px; color: var(--primary); opacity: .85; transform: translate(-6px, 4px); }
.c-bubble svg { width: 100%; height: 100%; stroke-width: 2.2; }
.c-bubble.big { width: 64px; height: 64px; transform: none; }
.c-play { grid-area: 1 / 1; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #1a1416; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(60,10,20,.2); z-index: 1; }
.c-play svg { width: 18px; height: 18px; margin-left: 2px; }
.c-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c-cat { color: var(--primary); font-size: 12px; font-weight: 700; }
.c-body h3 { font-size: 16px; line-height: 1.35; }
.c-sub { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.c-meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; }
.c-meta span { display: inline-flex; align-items: center; gap: 5px; }
.c-meta svg { width: 15px; height: 15px; }
.c-desc { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 10px; }
/* price in a red box (button-like); old price struck through beside it */
.c-price-wrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.c-price { display: inline-flex; align-items: baseline; gap: 2px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 800; line-height: 1; padding: 8px 12px; border-radius: 9px; box-shadow: 0 4px 12px rgba(200,16,46,.22); white-space: nowrap; }
.c-price small { font-size: 11px; color: rgba(255,255,255,.85); font-weight: 600; }
.c-price.free { background: var(--success); box-shadow: 0 4px 12px rgba(22,163,74,.22); }
.c-price-wrap del, .c-price del { color: var(--muted); font-weight: 600; font-size: 13px; }
.big-price .c-price { font-size: 20px; padding: 10px 14px; }
.c-desc.one-line { display: block; white-space: nowrap; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.p-rate { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.p-star { display: inline-flex; align-items: center; gap: 3px; background: var(--success); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 6px; }
.p-star svg { width: 11px; height: 11px; fill: currentColor; }
/* store only: heart on the picture, cart icon by the price */
.c-card { position: relative; }
.like-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: #6b5a5e; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(30,10,15,.18); transition: transform .15s, color .15s; }
.like-btn svg { width: 18px; height: 18px; }
.like-btn:hover { transform: scale(1.08); }
.like-btn.on { color: var(--primary); }
.like-btn.on svg { fill: currentColor; }
.c-card:has(.like-btn) .type-tag { right: 54px; }
.c-card.focused { box-shadow: 0 0 0 3px var(--primary), var(--shadow); }
/* Store + home "Our Store" cards: price line and a small → (Cart / Buy now are on the e-book page) */
.c-price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.c-price-line strong { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.c-price-line strong.free { color: var(--success); }
.c-price-line del { color: var(--muted); font-size: 13px; font-weight: 600; }
.c-off { color: var(--success); font-size: 12px; font-weight: 700; }
.c-owned { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 13px; font-weight: 700; }
.c-owned svg { width: 15px; height: 15px; }
.c-card:hover .c-go { background: var(--primary); color: #fff; }
/* "View details ↗" – plain red text, not a button */
.c-foot:has(.c-view) { flex-wrap: wrap; row-gap: 6px; }
.c-foot .c-price-line { flex-wrap: nowrap; white-space: nowrap; }
.c-foot .c-price-line strong { font-size: 19px; }
.c-view { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--primary); font-size: 14px; font-weight: 700; white-space: nowrap; }
.c-view svg { width: 15px; height: 15px; }
.c-card:hover .c-view { text-decoration: underline; text-underline-offset: 3px; }
/* Store page cards: Add to cart (outline) + Buy now (red) under the price */
.c-actions { display: flex; gap: 8px; margin-top: 10px; }
.c-actions .btn { flex: 1 1 0; min-width: 0; height: 38px; justify-content: center; font-weight: 700; padding-inline: 8px; white-space: nowrap; }
.c-actions .btn svg { width: 16px; height: 16px; }
.btn.c-cart { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
@media (hover: hover) { .btn.c-cart:hover { background: var(--primary-soft); } }
.c-go { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.c-go svg { width: 16px; height: 16px; }
.p-card .c-foot .muted { font-weight: 600; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(120deg, var(--maroon), var(--maroon-2)); border-radius: 18px; padding: 22px 10px; color: #fff; box-shadow: var(--shadow-lg); }
.stats-band .stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 14px; }
.stats-band .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stats-band .s-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #ff8a99; flex: none; }
.stats-band strong { font-size: 24px; font-weight: 800; display: block; line-height: 1.1; }
.stats-band small { color: rgba(255,255,255,.7); font-size: 13px; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; } .stats-band .stat { justify-content: flex-start; } .stats-band .stat:nth-child(3) { border-left: 0; } }

/* Testimonials / reviews */
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.t-track::-webkit-scrollbar { display: none; }
.t-track > * { scroll-snap-align: start; }
@media (max-width: 900px) { .t-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .t-track { grid-auto-columns: 88%; } }
.quote-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.quote-card .q { color: var(--primary); font-size: 40px; line-height: .6; font-weight: 800; font-family: Georgia, serif; }
.quote-card p { color: var(--text-2); font-size: 14px; flex: 1; }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--primary-soft-2); cursor: pointer; }
.car-dots button.active { width: 22px; background: var(--primary); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.g-badge { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.g-badge .g { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 800; color: #4285f4; }

/* Videos */
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.v-card { display: flex; flex-direction: column; gap: 12px; }
.v-thumb { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; background: #0b0506; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; padding: 0; }
.v-thumb img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.v-thumb.static { cursor: default; }
.v-play { grid-area: 1 / 1; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(200,16,46,.45); position: relative; z-index: 1; }
.v-play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.v-thumb:hover .v-play { transform: scale(1.06); }
.v-body { display: flex; flex-direction: column; gap: 2px; }
.v-body strong { font-size: 15px; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--primary-soft); border-radius: 10px; padding: 6px 10px; text-align: center; min-width: 52px; }
.countdown b { display: block; font-size: 18px; color: var(--primary); }
.countdown span { font-size: 11px; color: var(--muted); }

/* Teachers */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 240px)); gap: 20px; justify-content: center; }
.t-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; box-shadow: var(--shadow-sm); }
.t-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 24px; margin-bottom: 8px; object-fit: cover; flex: none; overflow: hidden; }
.t-avatar.sm { width: 52px; height: 52px; font-size: 18px; margin: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-tag { background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); margin: 4px 0; }

/* Demo panel & forms */
.demo-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; background: linear-gradient(135deg, var(--maroon-2), var(--primary-700) 70%, var(--maroon)); border-radius: 22px; padding: 40px; color: #fff; box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .demo-panel { background: linear-gradient(135deg, #2a0c12, #4d1822 70%, #1e0b0f); }
.dp-chip { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: var(--pill); padding: 6px 14px; font-size: 14px; margin-bottom: 14px; }
.dp-chip strong { color: #fff; font-size: 16px; }
.dp-chip s { color: inherit; opacity: .65; margin-left: 4px; }
.df-price s { margin-left: 4px; }
.dp-text h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); }
.dp-text p { color: rgba(255,255,255,.8); margin-top: 10px; }
.dp-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 600; }
.dp-form { background: var(--card); color: var(--text); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-lg); }
.form-title { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.demo-form { display: flex; flex-direction: column; gap: 10px; }
.df-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.df-grid .full { grid-column: 1 / -1; }
.demo-form .field { gap: 4px; }
.demo-form .field > label { font-size: 12px; }
.demo-form .input, .demo-form .select { height: 40px; }
.demo-form.narrow .df-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.df-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.df-price { font-size: 14px; color: var(--text-2); }
.df-price strong { color: var(--primary); font-size: 17px; }
.demo-form.narrow .df-foot .btn { width: 100%; }
@media (max-width: 520px) { .df-grid { grid-template-columns: minmax(0, 1fr); } .df-foot .btn { width: 100%; } }
.gap-14 { gap: 14px; }
@media (max-width: 860px) { .demo-panel { grid-template-columns: minmax(0, 1fr); padding: 24px 18px; } .dp-form { padding: 18px; } }

/* Newsletter */
.newsletter { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(120deg, var(--primary-600), var(--primary)); color: #fff; border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-red); }
.newsletter .nl-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.newsletter strong { font-size: 18px; }
.newsletter p { color: rgba(255,255,255,.85); font-size: 14px; }
.nl-form { display: flex; gap: 6px; background: #fff; border-radius: 12px; padding: 5px; flex: 0 1 380px; min-width: 260px; }
.nl-form .input { border: 0; height: 40px; background: transparent; color: #1a1416; }
.nl-form .btn { background: #1a1416; border-color: #1a1416; color: #fff; }
.nl-done { display: flex; align-items: center; gap: 8px; color: #16a34a; font-weight: 700; padding: 8px 12px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { flex: 1; }
.faq .pm { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); position: relative; flex: none; }
.faq .pm::before, .faq .pm::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--primary); }
.faq .pm::after { transform: rotate(90deg); transition: transform .2s; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { color: var(--text-2); padding-bottom: 16px; font-size: 14px; }
.md p + p, .md ul + p, .md p + ul { margin-top: 10px; }
.md h3, .md h4 { margin: 18px 0 6px; }
.md ul { margin: 6px 0; padding-left: 20px; }
.md li + li { margin-top: 4px; }
.md a { color: var(--primary); text-decoration: underline; }

/* Ads & coupons */
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.ad-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ad-img { aspect-ratio: 16 / 7; background: center / cover no-repeat; }
.ad-fallback { display: flex; align-items: center; gap: 12px; padding: 18px; color: #fff; background: linear-gradient(120deg, var(--primary-700), var(--primary)); font-weight: 700; font-size: 18px; }
.ad-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.coupon { display: inline-flex; align-items: center; gap: 6px; border: 1.5px dashed var(--primary); color: var(--primary); background: var(--primary-soft); border-radius: 8px; padding: 4px 10px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 13px; }
.coupon.big { font-size: 14px; padding: 8px 14px; }

/* Help strip / boxes */
.help-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 28px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.box h2 { font-size: 19px; margin-bottom: 12px; }
.box.cms h1 { font-size: 30px; margin-bottom: 14px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side-card h3 { font-size: 17px; }
.side-card.buy .thumb { aspect-ratio: 16 / 9; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; }
.ticks li { display: flex; gap: 6px; align-items: center; }
.ticks svg { width: 14px; height: 14px; }
.crumbs { margin-bottom: 14px; }
.crumbs a { color: var(--primary); font-size: 14px; }

/* Course page */
.course-top { background: linear-gradient(180deg, var(--primary-soft), var(--site-bg)); padding: 44px 0 30px; }
.course-top h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.course-top .lead { color: var(--text-2); font-size: 17px; margin-top: 10px; max-width: 760px; }
.ct-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--text-2); font-size: 13px; }
.ct-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ct-meta svg { width: 15px; height: 15px; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.course-side { position: sticky; top: 150px; }
@media (max-width: 960px) { .course-layout { grid-template-columns: minmax(0, 1fr); } .course-side { position: static; } }

/* Short course page: banner card + enrol / buy card */
.course-short { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cs-banner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cs-banner .c-thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.cs-banner .c-thumb .c-play { width: 64px; height: 64px; }
.cs-banner[data-preview] { cursor: pointer; }
.cs-banner[data-preview]:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.cs-watch { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .65); color: #fff; padding: 8px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cs-watch svg { width: 14px; height: 14px; }
.cs-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cs-facts li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cs-facts li:last-child { border-bottom: 0; }
.cs-facts svg { width: 16px; height: 16px; color: var(--primary); }
.cs-facts span { color: var(--muted); }
.cs-facts strong { text-align: right; overflow-wrap: anywhere; }
.enrol-card h3 { font-size: 18px; }
.cs-note { text-align: center; margin-top: -4px; }
.small-link { background: none; border: 0; padding: 4px 0 0; color: var(--muted); font-size: 13px; text-align: center; cursor: pointer; }
.small-link strong { color: var(--primary); font-weight: 600; }
.small-link:hover strong { text-decoration: underline; }
.c-enrol { display: inline-flex; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; line-height: 1; padding: 9px 13px; border-radius: 9px; box-shadow: 0 4px 12px rgba(200,16,46,.22); white-space: nowrap; }
@media (max-width: 860px) { .course-short { grid-template-columns: minmax(0, 1fr); } }
.video-box { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-box img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.video-box[data-preview] { cursor: pointer; }
.cc-sec { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 12px; }
.cc-head { background: var(--surface-2); padding: 12px 14px; }
.cc-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--border); font-size: 14px; }
.cc-row > svg { width: 15px; height: 15px; color: var(--text-2); }
.free-pill { border: 0; background: var(--success-soft); color: var(--success); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: var(--pill); cursor: pointer; font-family: inherit; }
.box.trainer { display: flex; gap: 14px; align-items: flex-start; }
.box.trainer .kicker { margin-bottom: 2px; }
.rev-row { display: flex; gap: 10px; }
.plans { display: flex; flex-direction: column; gap: 8px; }
.plan { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.plan.best { border-color: var(--primary); background: var(--primary-soft); }
.plan-name { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.plan-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.plan-price strong { font-size: 16px; }
.badge-best { background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; }

/* Contact & CMS */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-grid.single { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
/* "Contact Us" cards – About and Contact pages */
.cc-title { text-align: center; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 36px; }
.cc-title em { font-style: normal; color: var(--primary); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: var(--surface-2, var(--bg-2)); border: 1px solid var(--border); border-radius: 18px; padding: 30px 24px; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
a.contact-card:hover { border-color: var(--primary-soft-2, var(--primary)); box-shadow: var(--shadow); transform: translateY(-2px); }
.cc-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cc-ic svg { width: 22px; height: 22px; }
.contact-card strong { font-size: 18px; font-weight: 700; color: var(--heading); margin-top: 22px; }
.cc-val { color: var(--muted); font-size: 15px; margin-top: 8px; overflow-wrap: break-word; max-width: 100%; }
.contact-cards { margin-inline: auto; max-width: 1240px; }
@media (min-width: 1320px) { .contact-cards { margin-inline: -30px; max-width: none; } }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } .contact-card { padding: 22px 20px; } .contact-card strong { margin-top: 14px; } .cc-title { margin-bottom: 22px; } }
.help-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.help-card .socials { margin-top: 4px; }

/* About us */
.about-top { background: linear-gradient(180deg, var(--primary-soft), var(--site-bg)); padding: 56px 0 36px; text-align: center; }
.about-top h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.about-top h1 em { font-style: normal; color: var(--primary); }
.about-top p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.about-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.about-text { font-size: 16px; line-height: 1.75; }
.about-text h3, .about-text h4 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; color: var(--heading); margin: 26px 0 10px; }
.about-text > h3:first-child, .about-text > h4:first-child { margin-top: 0; }
.about-text ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.about-text li { position: relative; padding-left: 30px; }
.about-text li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.about-art { background: linear-gradient(135deg, var(--primary-soft), var(--primary-soft-2)); border-radius: 24px; padding: 28px; }
.about-art img { width: 100%; border-radius: 16px; display: block; object-fit: cover; }
@media (max-width: 860px) { .about-story { grid-template-columns: minmax(0, 1fr); gap: 28px; } .about-art { order: -1; padding: 18px; } .about-top { padding: 36px 0 20px; } }

.reach { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.reach a { color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }

/* Student login / sign up inside the website */
.auth-site { display: flex; justify-content: center; padding: 56px 16px 72px; }

.learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.c-grid.two { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mb-24 { margin-bottom: 24px; }

/* Search modal */
.sr-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.sr-row:hover { background: var(--bg-2); }
.sr-row > span:last-child { display: flex; flex-direction: column; }
.search-results { display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow-y: auto; }

/* Footer */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.75); padding: 56px 0 26px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 30px; }
.site-footer .site-brand { color: #fff; }
.site-footer .site-brand em { color: #ff6b7e; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer .links { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.site-footer .links a:hover { color: #fff; }
.site-footer .links.contact a, .site-footer .links.contact span { display: inline-flex; gap: 10px; align-items: flex-start; }
.site-footer .links.contact svg { margin-top: 3px; width: 16px; height: 16px; }
.f-brand p { margin-top: 14px; font-size: 15px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--primary); }
.socials.dark a { background: var(--primary-soft); color: var(--primary); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 14px; }
.bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.bottom-links button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.bottom-links a:hover, .bottom-links button:hover { color: #fff; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); } }

/* Floating buttons */
.float-cta { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-cta.left { right: auto; left: 18px; align-items: flex-start; }
.demo-pill { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--pill); background: var(--primary); color: #fff; border: 0; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-red); cursor: pointer; font-family: inherit; }
.demo-pill:hover { background: var(--primary-600); }
.wa-btn, .call-btn, .support-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; }
.wa-btn { background: #22c55e; }
.call-btn, .support-btn { background: var(--primary); }
.wa-btn svg, .call-btn svg, .support-btn svg { width: 24px; height: 24px; }
.support-btn .dot { position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--primary); }
@media (max-width: 600px) { .demo-pill { height: 44px; padding: 0 16px; font-size: 14px; } .wa-btn, .call-btn, .support-btn { width: 50px; height: 50px; } }
.support-panel { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: min(520px, calc(100vw - 24px)); height: min(640px, calc(100vh - 36px)); background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop .18s ease; }
.sp-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sp-head .icon-btn { width: 40px; height: 40px; }
.sp-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sp-msg { max-width: 80%; align-self: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-msg .who { color: var(--primary); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.sp-msg .t { font-size: 11px; color: var(--muted); margin-top: 4px; }
.sp-msg.me { align-self: flex-end; background: var(--primary); border-color: var(--primary); color: #fff; }
.sp-msg.me .t { color: rgba(255,255,255,.8); }
.sp-msg a { text-decoration: underline; }
.sp-compose { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--border); }
.sp-compose .btn { width: 48px; height: 44px; }

/* Older pieces still used inside the student area */
.mini-tabs { display: inline-flex; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: var(--pill); padding: 4px; margin-bottom: 20px; max-width: 100%; overflow-x: auto; }
.mini-tabs button { border: 0; background: none; border-radius: var(--pill); padding: 9px 16px; font-weight: 600; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.mini-tabs button.active { background: var(--primary); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--border-strong); background: var(--card); border-radius: var(--pill); padding: 7px 14px; font-weight: 600; font-size: 13px; color: var(--text-2); cursor: pointer; }
.chips button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .sec { padding: 44px 0; }
  .sec.page { padding: 28px 0 48px; }
  .box { padding: 18px; }
}

/* ---------- Store page: head with Cart, sliding red tab ---------- */
.store-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.store-head .page-head-site { flex: 1 1 320px; min-width: 0; }
.cart-open { position: relative; margin-bottom: 26px; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; line-height: 1; }
.slide-tabs { position: relative; display: flex; gap: 2px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--pill); padding: 4px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.slide-tabs::-webkit-scrollbar { display: none; }
.slide-tabs button { position: relative; z-index: 1; border: 0; background: none; border-radius: var(--pill); padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14px; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none; transition: color .3s ease; }
.slide-tabs button svg { width: 15px; height: 15px; }
.slide-tabs button.active { color: #fff; }
.slide-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--pill); background: var(--primary); box-shadow: 0 4px 12px rgba(200,16,46,.28); pointer-events: none; }
.slide-tabs.ready .slide-pill { transition: transform .3s ease, width .3s ease; }
.slide-tabs:not(.ready) button.active { background: var(--primary); }
.tab-n { font-size: 12px; opacity: .8; }
.tab-n:empty { display: none; }
@media (max-width: 600px) { .slide-tabs button { padding: 8px 13px; font-size: 13px; } .cart-open { margin-bottom: 0; } .store-head { align-items: flex-start; margin-bottom: 18px; } }

/* ---------- E-book page (slider + details + Add to cart / Buy now) ---------- */
.pd { padding: 28px 0 56px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pd-media { position: sticky; top: 150px; min-width: 0; }
.pd-slider { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--pink-grad-1), var(--pink-grad-2)); box-shadow: var(--shadow); touch-action: pan-y; }
.pd-track { display: flex; height: 100%; transition: transform .35s ease; }
.pd-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.pd-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-blank .thumb { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.pd-fab { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: #1a1416; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(30,10,15,.2); }
.pd-fab svg { width: 19px; height: 19px; }
.pd-fab.like-btn { position: static; }
.pd-back { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pd-fabs { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 10px; }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #1a1416; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(30,10,15,.18); }
.pd-nav svg { width: 18px; height: 18px; }
.pd-nav.prev { left: 12px; }
.pd-nav.next { right: 12px; }
.pd-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs button { flex: none; width: 80px; height: 45px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--surface-2); opacity: .7; }
.pd-thumbs button.active { border-color: var(--primary); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pd-info .crumbs { margin: 0; }
.pd-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price strong { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; }
.pd-price strong.free { color: var(--success); }
.pd-price del { color: var(--muted); font-size: 17px; font-weight: 600; }
.pd-off { color: var(--success); font-weight: 700; font-size: 15px; }
.pd-info .p-rate { font-size: 14px; }
.pd-lead { color: var(--text-2); font-size: 16px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pd-actions .btn { flex: 1 1 180px; justify-content: center; }
.btn.pd-cart { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn.pd-cart:hover, .btn.pd-cart.in-cart { background: var(--primary-soft); }
.pd-sec { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 6px; }
.pd-sec h2 { font-size: 18px; margin-bottom: 10px; }
.pd-sec .md { color: var(--text-2); font-size: 15px; }
.ticks.big { font-size: 15px; color: var(--text-2); gap: 10px; }
.ticks.big li { align-items: flex-start; gap: 10px; }
.ticks.big svg { width: 18px; height: 18px; flex: none; color: var(--success); margin-top: 2px; }
.pd-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; font-size: 14px; }
.pd-details span { color: var(--muted); }
.pd-details strong { overflow-wrap: anywhere; }
.pd-bar { display: none; }
@media (max-width: 860px) {
  .pd { padding: 0 0 30px; }
  .pd > .wrap.pd-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-inline: 0; }
  .pd-media { position: static; }
  .pd-slider { border-radius: 0; aspect-ratio: 16 / 9; box-shadow: none; }
  .pd-thumbs { padding-inline: 16px; }
  .pd-info { padding-inline: 16px; }
  .pd-info .crumbs { display: none; }
  .pd-actions { display: none; }
  .pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(30,10,15,.08); }
  .pd-bar .btn { flex: 1 1 0; justify-content: center; min-width: 0; padding-inline: 10px; }
  body.has-pd-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-pd-bar .float-cta { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
/* About this e-book: 3 lines that fade out + "Show more" */
.more-box { max-height: calc(1.6em * 3); line-height: 1.6; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); transition: max-height .3s ease; }
.more-box .md p + p { margin-top: 0; }
.more-box.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.more-box.open .md p + p { margin-top: 10px; }
.show-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.show-more svg { width: 18px; height: 18px; }
/* E-book details inside the student account (no fixed bottom bar; buttons stay on the page) */
.pd.in-portal { padding: 0 0 24px; }
@media (max-width: 1180px) { .pd.in-portal .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } .pd.in-portal .pd-media { position: static; } }
@media (max-width: 860px) {
  .pd.in-portal .pd-slider { border-radius: 14px; }
  .pd.in-portal .pd-thumbs, .pd.in-portal .pd-info { padding-inline: 0; }
  .pd.in-portal .pd-actions { display: flex; }
}

/* Recorded course page: "What you get" – one row per session with a small banner */
.pd-lessons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-lesson { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.pl-thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, var(--pink-grad-1), var(--pink-grad-2)); background-size: cover; background-position: center; display: grid; place-items: center; }
.pl-n { position: absolute; left: 8px; top: 6px; font-size: 12px; font-weight: 800; color: var(--primary); }
.pl-play { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); color: #1a1416; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(30,10,15,.2); }
.pl-play svg { width: 13px; height: 13px; }
.pl-dur { position: absolute; right: 5px; bottom: 5px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.pill-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--primary); background: var(--primary-soft); color: var(--primary); border-radius: var(--pill); padding: 5px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.pill-btn svg { width: 12px; height: 12px; }
.more-box.lessons { max-height: 300px; line-height: normal; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.more-box.lessons.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.pd-slider .cs-watch { z-index: 2; }
.pd-blank { width: 100%; height: 100%; }
.pd-blank .c-thumb { width: 100%; height: 100%; aspect-ratio: auto; }
.pd-blank .c-thumb .c-bubble { width: 72px; height: 72px; }
.pd-blank .c-thumb .type-tag { display: none; }
.pd-blank .c-thumb .c-play { width: 60px; height: 60px; }
.pd-slider[data-preview] { cursor: pointer; }
@media (max-width: 600px) { .pl-thumb { width: 92px; } .pd-lesson { gap: 10px; } }
/* Courses page: live courses show "Live classes" + Enrol request */
.c-live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.c-live .live-dot { width: 8px; height: 8px; }

/* ---------- Back button + page trail ("‹  Home / Store / Paid") – stays under the menu while scrolling ---------- */
.trail-bar { position: sticky; top: 76px; z-index: 45; padding: 10px 0; background: var(--site-bg); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.trail-bar.stuck { border-bottom-color: var(--border); box-shadow: 0 6px 16px rgba(60, 10, 20, .06); }
.trail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.trail { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 auto; }
.trail-back { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, color .15s; }
.trail-back svg { width: 20px; height: 20px; }
.trail-back:hover { border-color: var(--primary); color: var(--primary); }
.trail ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; font-size: 16px; }
.trail li { display: inline-flex; align-items: center; min-width: 0; flex: none; white-space: nowrap; }
.trail li:last-child { flex: 0 1 auto; }
.trail li + li::before { content: '/'; color: var(--muted); margin: 0 8px; }
.trail li a { color: var(--muted); }
.trail li a:hover { color: var(--primary); text-decoration: underline; }
.trail li strong { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; min-width: 0; }
.trail-row .cart-open { margin-bottom: 0; }
.trail-bar ~ #main > .sec.page:first-child { padding-top: 18px; }
.trail-bar ~ #main > .pd:first-child { padding-top: 18px; }
@media (max-width: 600px) {
  .trail-bar { padding: 8px 0; }
  .trail { gap: 10px; }
  .trail-back { width: 38px; height: 38px; border-radius: 10px; }
  .trail ol { font-size: 14px; }
  .trail li + li::before { margin: 0 5px; }
  .trail-row .cart-open { padding-inline: 10px; }
}
@media (max-width: 860px) { .trail-bar ~ #main > .pd:first-child { padding-top: 12px; } }

/* ---------- Home rows that scroll sideways ---------- */
.h-row { position: relative; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
.h-arrow { display: none; position: absolute; top: 34%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text); place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.h-arrow svg { width: 20px; height: 20px; }
.h-arrow.prev { left: -14px; }
.h-arrow.next { right: -14px; }
@media (max-width: 600px) { .h-arrow.prev { left: 4px; } .h-arrow.next { right: 4px; } }
.h-arrow:disabled { opacity: 0; pointer-events: none; }
.h-row.scrolls .h-arrow { display: grid; }
@media (max-width: 1100px) { .h-scroll { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 860px) { .h-scroll { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .h-scroll { grid-auto-columns: 84%; gap: 14px; } }
@media (hover: none) { .h-row.scrolls .h-arrow { display: none; } }
