.commercial-hero { padding-bottom: 3rem; }
.commercial-title { font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.07; letter-spacing: -.04em; font-weight: 800; margin: 1rem 0; }
.commercial-meta { display: flex; flex-wrap: wrap; gap: .65rem 1rem; color: var(--course-muted); font-size: .9rem; margin: 1.25rem 0; }
.commercial-meta i, .commercial-check i { color: var(--course-accent); }
.commercial-price { font-size: 2rem; font-weight: 800; margin: .75rem 0; }
.commercial-price small { font-size: .8rem; color: var(--course-accent); margin-left: .5rem; }
.commercial-cta { display: inline-flex; align-items:center; justify-content:center; gap:.65rem; background: var(--course-accent); color: #fff; font-weight: 700; padding: 1rem 1.45rem; border-radius: .8rem; text-decoration:none; box-shadow: 0 8px 22px rgba(var(--course-accent-rgb), .20); }
.platform-hotmart .commercial-cta { background: #b84b00; }
.commercial-cta:hover, .commercial-cta:focus-visible { color:#fff; filter:brightness(.9); }
.commercial-trust { font-size:.86rem; color:var(--course-muted); margin:.8rem 0; }
.commercial-cover { padding:.7rem; border-radius:1.5rem; background:#fff; box-shadow:var(--course-shadow); border:1px solid rgba(var(--course-accent-rgb),.15); }
.commercial-cover img { width:100%; height:auto; border-radius:1rem; display:block; }
.commercial-body { max-width:1100px; padding-top:2rem; padding-bottom:3rem; }
.commercial-section { padding: clamp(1.1rem,3vw,2.5rem); border:1px solid var(--course-border); border-radius:var(--course-radius-lg); margin-bottom:1.5rem; background:#fff; }
.commercial-section h2,.commercial-final h2 { font-weight:750; letter-spacing:-.025em; margin-bottom:1rem; }
.commercial-lead { color:var(--course-muted); font-size:1.07rem; white-space:pre-line; }
.commercial-link { color:var(--course-accent); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.platform-hotmart .commercial-link, .platform-hotmart .commercial-price small { color:#b84b00; }
.commercial-gallery { height:100%; border:1px solid var(--course-border); border-radius:1rem; overflow:hidden; margin:0; }
.commercial-gallery img { width:100%; aspect-ratio: 16/10; object-fit:contain; background:#f6f5f8; }
.commercial-gallery figcaption { padding:.9rem; }
.commercial-gallery p { margin: .3rem 0 0; color:var(--course-muted); }
.commercial-video { aspect-ratio:16/9; max-width:850px; margin:auto; border-radius:1rem; overflow:hidden; background:#15131b; }
.commercial-video-play { border:0; width:100%; height:100%; position:relative; padding:0; background:transparent; }
.commercial-video-play img { width:100%; height:100%; object-fit:cover; }
.commercial-video iframe { width:100%; height:100%; border:0; }
.commercial-check { display:flex; gap:.75rem; padding:.85rem; background:var(--course-soft); border-radius:.7rem; height:100%; }
.commercial-check i { margin-top:.2rem; }
.commercial-tech-list { display:flex; gap:.8rem; flex-wrap:wrap; }
.commercial-tech { display:flex; align-items:center; gap:.65rem; border:1px solid var(--course-border); padding:.75rem 1rem; border-radius:.8rem; }
.commercial-tech img { width:32px; height:32px; object-fit:contain; }
.commercial-details { border:1px solid var(--course-border); border-radius:.75rem; padding:1rem; margin:.6rem 0; }
.commercial-details summary { font-weight:650; cursor:pointer; }
.commercial-details p { margin:.9rem 0 0; white-space:pre-line; color:var(--course-muted); }
.commercial-list { padding-left:1.2rem; } .commercial-list li { margin:.55rem 0; }
.commercial-final { text-align:center; padding:clamp(1.5rem,4vw,3rem); background:rgba(var(--course-accent-rgb), .07); border:1px solid rgba(var(--course-accent-rgb),.18); border-radius:var(--course-radius-lg); }
.commercial-whatsapp { color:#117c46; font-weight:650; display:inline-block; margin-top:.5rem; }
.commercial-mobile-bar { display:none; }
@media(max-width:767px) {
    .commercial-hero { padding-bottom:2rem; }
    .commercial-mobile-bar:not([hidden]) { display:flex; position:fixed; z-index:1035; bottom:0; left:0; right:0; gap:1rem; align-items:center; justify-content:space-between; background:white; padding:.65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); border-top:1px solid var(--course-border); box-shadow:0 -5px 22px #0001; }
    .commercial-mobile-bar strong,.commercial-mobile-bar small { display:block; }
    .commercial-mobile-bar .commercial-cta { padding:.7rem .9rem; font-size:.85rem; }
    body:has(.commercial-mobile-bar:not([hidden])) { padding-bottom:85px; }
}

.commercial-tech .technology-logo { font-size:2rem; width:32px; height:32px; object-fit:contain; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }


/* Commercial hero — independent of the classic landing and the remaining sections. */
.course-detail-page .commercial-hero {
    --hero-action: #5624d0;
    --hero-action-dark: #4318b0;
    --hero-contrast: #5624d0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.4rem,3vw,2.6rem) 0 clamp(3rem,5vw,5.4rem);
    background:
        radial-gradient(ellipse at 90% 24%, rgba(var(--course-accent-rgb),.17), transparent 46%),
        radial-gradient(ellipse at 2% 90%, rgba(var(--course-accent-rgb),.065), transparent 38%),
        linear-gradient(145deg,#fbfaff 0%,#fff 72%);
}
.platform-hotmart .commercial-hero {
    --hero-action: #c44d00;
    --hero-action-dark: #a93f00;
    --hero-contrast: #a53e00;
    background: radial-gradient(ellipse at 90% 24%,rgba(var(--course-accent-rgb),.16),transparent 46%),
                radial-gradient(ellipse at 2% 90%,rgba(var(--course-accent-rgb),.055),transparent 38%),
                linear-gradient(145deg,#fffaf6 0%,#fff 72%);
}
.commercial-hero .commercial-hero-grid {
    position:absolute; z-index:-1; inset:0; pointer-events:none;
    background-image:linear-gradient(rgba(var(--course-accent-rgb),.055) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--course-accent-rgb),.055) 1px,transparent 1px);
    background-size:38px 38px;
    mask-image:radial-gradient(ellipse at 80% 40%,#000 0%,transparent 69%);
    -webkit-mask-image:radial-gradient(ellipse at 80% 40%,#000 0%,transparent 69%);
}
.commercial-hero .commercial-hero-container { position:relative; z-index:1; }
.commercial-hero .course-detail-breadcrumb { margin-bottom:clamp(1.3rem,2.5vw,2.4rem); }
.commercial-hero .commercial-hero-row { --bs-gutter-x:clamp(1.8rem,4vw,4.2rem); }
.commercial-hero .commercial-hero-copy { min-width:0; }
.commercial-hero .course-detail-kickers { margin-bottom:.95rem; }
.platform-hotmart .commercial-hero .course-detail-kicker { background:var(--hero-action); }
.platform-hotmart .commercial-hero .course-detail-category { color:var(--hero-contrast); }
.commercial-hero .commercial-title {
    font-size:clamp(2.05rem,3.65vw,3.65rem);
    line-height:1.09; font-weight:800; letter-spacing:-.047em;
    margin:0 0 .95rem; overflow-wrap:anywhere;
    text-wrap:balance;
}
.commercial-hero .course-detail-lead { font-size:clamp(1rem,1.4vw,1.13rem); line-height:1.65; margin:0 0 1.2rem; }
.commercial-hero-proof { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1.1rem; margin-bottom:.85rem; color:var(--course-muted); font-size:.87rem; }
.commercial-hero-rating,.commercial-hero-students { display:inline-flex; flex-wrap:wrap; align-items:center; gap:.35rem; }
.commercial-hero-rating strong,.commercial-hero-students strong { color:var(--course-ink); font-weight:800; }
.commercial-hero-rating > i { color:#e6a100; font-size:1.05rem; }
.commercial-hero-students > i { color:var(--hero-contrast); }
.commercial-hero .commercial-hero-meta { gap:.45rem; margin:.3rem 0 1.45rem; }
.commercial-hero-meta > span {
    display:inline-flex; align-items:center; gap:.43rem; padding:.46rem .65rem;
    border:1px solid rgba(var(--course-accent-rgb),.13); border-radius:9px; background:rgba(255,255,255,.83);
    color:#625b6d; font-size:.79rem; font-weight:600;
}
.commercial-hero-meta > span i { color:var(--hero-contrast); }
.commercial-hero-offer {
    padding:1.15rem 1.3rem 1.1rem; border:1px solid rgba(var(--course-accent-rgb),.17); border-radius:19px;
    background:linear-gradient(130deg,rgba(255,255,255,.98),rgba(var(--course-accent-rgb),.035));
    box-shadow:0 14px 42px rgba(35,26,54,.06);
}
.commercial-hero-price-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.65rem; margin-bottom:1rem; }
.commercial-hero-price-label { display:block; text-transform:uppercase; letter-spacing:.055em; font-weight:750; font-size:.7rem; color:var(--course-muted); }
.commercial-hero .commercial-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem; font-size:clamp(1.65rem,2.4vw,2.2rem); line-height:1.1; margin:.3rem 0 0; }
.commercial-hero-currency { font-size:.76rem; color:var(--course-muted); font-weight:650; }
.commercial-hero-promotion { display:inline-flex; align-items:center; gap:.4rem; padding:.45rem .7rem; border-radius:999px; background:rgba(var(--course-accent-rgb),.09); color:var(--hero-contrast); font-size:.76rem; font-weight:750; }
.commercial-hero-actions { display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.commercial-hero .commercial-hero-buy {
    isolation:isolate; flex:1 1 255px; min-height:54px; max-width:100%; padding:.9rem 1.1rem;
    background:var(--hero-action); border:1px solid rgba(255,255,255,.18); border-radius:11px;
    color:#fff; font-size:1rem; font-weight:800; gap:.65rem; text-align:center; text-decoration:none;
    animation:commercialHeroGlow 2.8s ease-in-out infinite;
    transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.commercial-hero-buy > span { min-width:0; overflow-wrap:anywhere; }
.commercial-hero .commercial-hero-buy::after { inset:-5px; opacity:.45; filter:blur(12px); }
.commercial-hero .commercial-hero-buy:hover { transform:translateY(-2px); background:var(--hero-action-dark); color:#fff; animation-play-state:paused; }
.commercial-hero .commercial-hero-buy:focus-visible,.commercial-hero .commercial-hero-watch:focus-visible { outline:3px solid var(--hero-contrast); outline-offset:4px; }
@keyframes commercialHeroGlow {
    0%,100% { box-shadow:0 7px 18px rgba(var(--course-accent-rgb),.29),0 0 16px rgba(var(--course-accent-rgb),.25); }
    50% { box-shadow:0 9px 27px rgba(var(--course-accent-rgb),.43),0 0 32px rgba(var(--course-accent-rgb),.40); }
}
.commercial-hero-watch {
    display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
    min-height:46px; padding:.65rem .85rem; border:1px solid rgba(var(--course-accent-rgb),.20);
    border-radius:10px; background:#fff; color:var(--hero-contrast); font-weight:700; font-size:.86rem;
    text-decoration:none; white-space:nowrap;
    transition:background .2s ease,border-color .2s ease;
}
.commercial-hero-watch:hover { color:var(--hero-contrast); background:rgba(var(--course-accent-rgb),.06); border-color:rgba(var(--course-accent-rgb),.45); }
.commercial-hero .commercial-trust { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; font-size:.76rem; margin:1rem 0 0; line-height:1.5; }
.commercial-hero .commercial-trust i { color:var(--hero-contrast); }
.commercial-hero .commercial-hero-visual { min-width:0; }
.commercial-cover-stage { position:relative; padding:1.1rem .35rem; isolation:isolate; }
.commercial-cover-float { position:relative; animation:commercialCoverFloat 7s ease-in-out infinite; }
.commercial-hero .commercial-cover {
    position:relative; isolation:isolate; padding:.75rem; max-width:660px; margin:auto;
    border:1px solid rgba(var(--course-accent-rgb),.25); border-radius:25px;
    background:linear-gradient(145deg,#fff,rgba(255,255,255,.92));
    box-shadow:0 26px 65px rgba(35,26,54,.16),0 0 36px rgba(var(--course-accent-rgb),.12);
    transform:perspective(1100px) rotateY(-4deg) rotateX(2deg);
    transition:transform .4s ease,box-shadow .4s ease,border-color .4s ease;
}
.commercial-hero .commercial-cover::before { content:""; position:absolute; inset:-8px; z-index:-1; border:1px solid rgba(var(--course-accent-rgb),.19); border-radius:32px; pointer-events:none; }
.commercial-cover-media { position:relative; overflow:hidden; aspect-ratio:16/9; border-radius:16px; background:#181125; }
.commercial-hero .commercial-cover-media > img { width:100%; height:100%; object-fit:cover; border-radius:0; display:block; transition:transform .55s ease; }
.commercial-hero .course-cover-badge { font-size:.75rem; box-shadow:0 4px 16px #0003; }
.commercial-cover-tech { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:.6rem; padding:.8rem .35rem .15rem; }
.commercial-cover-tech-label { font-size:.76rem; font-weight:700; color:var(--course-muted); }
.commercial-cover-tech-items { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
.commercial-cover-tech-item,.commercial-cover-tech-more { display:grid; place-items:center; width:32px; height:32px; border:1px solid #ece7f3; border-radius:9px; background:#faf9fc; }
.commercial-cover-tech-item .technology-logo { width:22px; height:22px; object-fit:contain; border-radius:0; }
.commercial-cover-tech-more { color:var(--hero-contrast); font-size:.72rem; font-weight:800; }
@keyframes commercialCoverFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes commercialHeroEnter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media(hover:hover) and (pointer:fine) {
    .commercial-cover-float:hover { animation-play-state:paused; }
    .commercial-hero .commercial-cover:hover { transform:perspective(1100px) rotateY(0) rotateX(0) scale(1.018); box-shadow:0 32px 74px rgba(35,26,54,.2),0 0 42px rgba(var(--course-accent-rgb),.19); border-color:rgba(var(--course-accent-rgb),.45); }
    .commercial-hero .commercial-cover:hover .commercial-cover-media > img { transform:scale(1.035); }
}
@media(prefers-reduced-motion:no-preference) {
    .commercial-hero-copy { animation:commercialHeroEnter .55s ease-out both; }
    .commercial-hero-visual { animation:commercialHeroEnter .7s .1s ease-out both; }
}
@media(max-width:991.98px) {
    .commercial-hero .commercial-hero-row { --bs-gutter-x:1.5rem; }
    .commercial-cover-stage { max-width:660px; margin:0 auto; padding:.5rem; }
    .commercial-hero .commercial-cover { transform:none; }
    .commercial-cover-float { animation:none; }
    .commercial-hero .commercial-title { font-size:clamp(2rem,5.4vw,3rem); }
}
@media(max-width:575.98px) {
    .course-detail-page .commercial-hero { padding:1.1rem 0 2.4rem; }
    .commercial-hero .commercial-hero-offer { padding:.95rem; }
    .commercial-hero .commercial-hero-buy { flex-basis:100%; font-size:.95rem; }
    .commercial-hero-watch { width:100%; }
    .commercial-hero .commercial-hero-meta { gap:.35rem; margin-bottom:1rem; }
    .commercial-hero-meta > span { font-size:.76rem; padding:.4rem .5rem; }
    .commercial-cover-stage { padding:.4rem; }
    .commercial-hero .commercial-cover { padding:.5rem; border-radius:19px; }
    .commercial-cover-media { border-radius:12px; }
    .commercial-cover-tech { justify-content:flex-start; }
    .commercial-hero .commercial-trust { font-size:.74rem; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-hero .commercial-hero-copy,.commercial-hero .commercial-hero-visual,.commercial-hero .commercial-cover-float,.commercial-hero .commercial-hero-buy,.commercial-hero .commercial-hero-buy::after { animation:none!important; }
    .commercial-hero .commercial-cover,.commercial-hero .commercial-cover:hover,.commercial-hero .commercial-cover-media > img,.commercial-hero .commercial-cover:hover .commercial-cover-media > img,.commercial-hero .commercial-hero-buy:hover { transform:none!important; transition:none!important; }
    .commercial-hero .commercial-hero-buy { box-shadow:0 7px 20px rgba(var(--course-accent-rgb),.3); }
}

/* Hero 3 — lightweight SVG circuitry, animated highlights and one clear price. */
.commercial-hero .commercial-hero-offer {
    position:relative;
    background:linear-gradient(135deg,#fff 25%,rgba(var(--course-accent-rgb),.045) 100%);
}
.commercial-hero .commercial-hero-price-row { margin-bottom:.9rem; }
.commercial-hero .commercial-hero-buy { flex:1 1 245px; }
.commercial-hero .commercial-hero-buy::before {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.19) 48%,transparent 64%);
    background-size:250% 100%;
    background-position:150% 0;
    animation:commercialButtonSweep 5s ease-in-out infinite;
}
.commercial-hero .commercial-hero-buy > i:last-child { transition:transform .25s ease; }
.commercial-hero .commercial-hero-buy:hover > i:last-child { transform:translateX(4px); }
@keyframes commercialButtonSweep {
    0%,20% { background-position:150% 0; }
    65%,100% { background-position:-80% 0; }
}
.commercial-hero .commercial-cover-stage { padding:clamp(1.7rem,3vw,2.8rem) .35rem; }
.commercial-hero .commercial-hero-circuit {
    position:absolute;
    inset:-13% -9%;
    width:118%;
    height:126%;
    z-index:-1;
    overflow:visible;
    color:var(--course-accent);
    pointer-events:none;
}
.commercial-hero-circuit .hero-circuit-orbits {
    stroke:currentColor;
    stroke-width:1;
    opacity:.18;
}
.commercial-hero-circuit .hero-circuit-tracks {
    stroke:currentColor;
    stroke-width:1.5;
    opacity:.28;
}
.commercial-hero-circuit .hero-circuit-signals { stroke:currentColor; stroke-width:2.5; }
.commercial-hero-circuit .hero-circuit-signal {
    stroke-dasharray:95 905;
    stroke-dashoffset:1000;
    opacity:0;
    animation:commercialCircuitSignal 5.5s linear infinite;
}
.commercial-hero-circuit .signal-two { animation-delay:1.3s; animation-duration:6.3s; }
.commercial-hero-circuit .signal-three { animation-delay:2.2s; animation-duration:6.8s; }
.commercial-hero-circuit .signal-four { animation-delay:.65s; animation-duration:5.9s; }
@keyframes commercialCircuitSignal {
    0% { stroke-dashoffset:1000; opacity:0; }
    8% { opacity:.95; }
    84% { opacity:.95; }
    100% { stroke-dashoffset:0; opacity:0; }
}
.commercial-hero-circuit .hero-circuit-nodes { stroke:currentColor; fill:#fff; stroke-width:1.6; }
.commercial-hero-circuit .hero-circuit-nodes circle { opacity:.68; animation:commercialCircuitNode 4.8s ease-in-out infinite; }
.commercial-hero-circuit .hero-circuit-nodes circle:nth-child(2n) { animation-delay:1.2s; }
.commercial-hero-circuit .hero-circuit-nodes circle:nth-child(3n) { animation-delay:2.3s; }
@keyframes commercialCircuitNode {
    0%,100% { opacity:.4; }
    50% { opacity:1; }
}
.commercial-hero-circuit .hero-circuit-sparks { stroke:currentColor; stroke-width:1.8; opacity:.42; }
.commercial-hero .commercial-cover-frame {
    position:absolute;
    inset:-5px;
    width:calc(100% + 10px);
    height:calc(100% + 10px);
    z-index:3;
    pointer-events:none;
    overflow:visible;
    stroke:var(--course-accent);
    stroke-width:2;
    opacity:.58;
    animation:commercialFramePulse 4.8s ease-in-out infinite;
}
@keyframes commercialFramePulse {
    0%,100% { opacity:.38; }
    50% { opacity:.9; }
}
.commercial-hero .commercial-cover-tech-item { transition:transform .2s ease,border-color .2s ease; }
@media(hover:hover) and (pointer:fine) {
    .commercial-hero .commercial-cover-tech-item:hover { transform:translateY(-3px); border-color:rgba(var(--course-accent-rgb),.5); }
}
@media(max-width:991.98px) {
    .commercial-hero .commercial-cover-stage { padding:1.25rem .45rem; }
    .commercial-hero .commercial-hero-circuit { inset:-8% -4%; width:108%; height:116%; opacity:.75; }
}
@media(max-width:575.98px) {
    .commercial-hero .commercial-cover-stage { padding:.85rem .35rem; }
    .commercial-hero .commercial-hero-circuit { opacity:.44; }
    .commercial-hero-circuit .hero-circuit-signals { display:none; }
    .commercial-hero-circuit .hero-circuit-nodes circle,.commercial-hero .commercial-cover-frame { animation:none; }
    .commercial-hero .commercial-cover-frame { opacity:.45; }
    .commercial-hero .commercial-hero-buy { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-hero .commercial-hero-buy::before,.commercial-hero .commercial-cover-frame,.commercial-hero-circuit .hero-circuit-signal,.commercial-hero-circuit .hero-circuit-nodes circle { animation:none!important; }
    .commercial-hero-circuit .hero-circuit-signals { display:none; }
    .commercial-hero .commercial-cover-frame { opacity:.55; }
    .commercial-hero .commercial-hero-buy > i:last-child,.commercial-hero .commercial-cover-tech-item { transition:none!important; transform:none!important; }
    .commercial-hero .commercial-hero-buy:hover > i:last-child,.commercial-hero .commercial-cover-tech-item:hover { transform:none!important; }
}


/* Project showcase — scoped to the second commercial landing section. */
.course-detail-page .commercial-project {
    --project-accent:#5624d0;
    position:relative; isolation:isolate; overflow:hidden;
    padding:clamp(1.2rem,3.5vw,2.65rem);
    border-color:rgba(var(--course-accent-rgb),.16);
    background:radial-gradient(ellipse at 100% 0%,rgba(var(--course-accent-rgb),.075),transparent 48%),#fff;
    box-shadow:0 16px 50px rgba(35,26,54,.045);
}
.course-detail-page.platform-hotmart .commercial-project { --project-accent:#ac4300; }
.commercial-project-decoration { position:absolute; top:0; right:0; width:min(38%,300px); pointer-events:none; z-index:-1; color:var(--course-accent); }
.commercial-project-decoration svg { width:100%; height:auto; display:block; }
.commercial-project-decoration .project-circuit-base { opacity:.21; }
.commercial-project-decoration .project-circuit-signals { opacity:.65; }
.commercial-project-decoration .project-circuit-signals path { stroke-dasharray:75 925; stroke-dashoffset:1000; animation:projectCircuitFlow 5.5s linear infinite; animation-play-state:paused; }
.commercial-project-decoration .project-circuit-signals path:nth-child(2) { animation-delay:-2.7s; }
.commercial-project.is-project-visible .project-circuit-signals path { animation-play-state:running; }
@keyframes projectCircuitFlow { from {stroke-dashoffset:1000;} to {stroke-dashoffset:0;} }
.commercial-project-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:1.4rem; }
.commercial-project-copy { min-width:0; flex:1; }
.commercial-project-kicker { display:flex; align-items:center; gap:.65rem; margin-bottom:1rem; }
.commercial-project-kicker .course-section-eyebrow { color:var(--project-accent); margin:0; }
.commercial-project-icon { width:42px; height:42px; display:grid; place-items:center; flex-shrink:0; border-radius:12px; background:rgba(var(--course-accent-rgb),.09); border:1px solid rgba(var(--course-accent-rgb),.14); color:var(--project-accent); font-size:1.08rem; }
.commercial-project .commercial-project-copy h2 { font-size:clamp(1.55rem,2.65vw,2.25rem); line-height:1.2; letter-spacing:-.035em; margin-bottom:.85rem; text-wrap:balance; }
.commercial-project .commercial-lead { line-height:1.75; font-size:clamp(.96rem,1.35vw,1.06rem); margin-bottom:0; overflow-wrap:anywhere; }
.commercial-project-demo { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; color:var(--project-accent); padding:.8rem 1rem; border:1px solid rgba(var(--course-accent-rgb),.26); background:#fff; border-radius:11px; font-size:.86rem; font-weight:750; text-decoration:none; flex-shrink:0; transition:background .2s,transform .2s,box-shadow .2s; }
.commercial-project-demo:hover { color:var(--project-accent); background:rgba(var(--course-accent-rgb),.055); transform:translateY(-2px); box-shadow:0 7px 20px rgba(var(--course-accent-rgb),.11); }
.commercial-project-gallery { margin-top:clamp(1.4rem,3vw,2.1rem); padding-top:1.35rem; border-top:1px solid rgba(var(--course-accent-rgb),.13); }
.commercial-project-gallery-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.commercial-project-gallery-label { display:flex; align-items:center; gap:.5rem; font-weight:750; font-size:1rem; color:var(--course-ink); }
.commercial-project-gallery-label i { color:var(--project-accent); }
.commercial-project-gallery-heading p { margin:.3rem 0 0; color:var(--course-muted); font-size:.84rem; line-height:1.5; }
.commercial-project-count { display:inline-flex; align-items:center; border:1px solid rgba(var(--course-accent-rgb),.16); border-radius:999px; background:rgba(var(--course-accent-rgb),.06); color:var(--project-accent); padding:.4rem .7rem; font-weight:700; font-size:.74rem; white-space:nowrap; }
.commercial-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; align-items:stretch; }
.commercial-project-grid.is-single { grid-template-columns:minmax(0,1fr); }
.commercial-project-grid.is-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.commercial-project-grid.is-featured .is-main { grid-column:span 2; grid-row:span 2; }
.commercial-project-card { display:flex; flex-direction:column; min-width:0; margin:0; overflow:hidden; border-radius:15px; background:#fff; border:1px solid rgba(var(--course-accent-rgb),.16); box-shadow:0 5px 18px rgba(35,26,54,.055); transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.commercial-project-card-bar { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.65rem .8rem; background:#faf9fc; border-bottom:1px solid rgba(var(--course-accent-rgb),.09); }
.commercial-project-window-dots { display:flex; align-items:center; gap:4px; }
.commercial-project-window-dots span { width:6px; height:6px; background:rgba(var(--course-accent-rgb),.23); border-radius:50%; }
.commercial-project-window-dots span:first-child { background:rgba(var(--course-accent-rgb),.65); }
.commercial-project-card-number { font-size:.69rem; color:var(--course-muted); font-weight:650; letter-spacing:.04em; }
.commercial-project-card-bar > i { font-size:.68rem; color:var(--project-accent); }
.commercial-project-image { position:relative; display:block; overflow:hidden; background:#f5f3f8; aspect-ratio:16/10; cursor:zoom-in; }
.commercial-project-image > img { display:block; width:100%; height:100%; object-fit:contain; transition:transform .5s ease; }
.commercial-project-grid.is-featured .is-main .commercial-project-image { flex:1; min-height:220px; aspect-ratio:16/10; }
.commercial-project-grid.is-featured .is-main .commercial-project-image > img { position:absolute; inset:0; }
.commercial-project-grid.is-single .commercial-project-image { aspect-ratio:16/9; max-height:560px; }
.commercial-project-zoom { position:absolute; right:.65rem; bottom:.65rem; display:flex; align-items:center; gap:.4rem; background:rgba(25,20,35,.84); color:#fff; padding:.48rem .62rem; font-size:.72rem; font-weight:650; border-radius:8px; transition:background .2s,transform .2s; }
.commercial-project-caption { padding:.9rem 1rem; overflow-wrap:anywhere; }
.commercial-project-caption strong { display:block; color:var(--course-ink); font-size:.95rem; font-weight:750; }
.commercial-project-caption p { color:var(--course-muted); font-size:.85rem; line-height:1.6; white-space:pre-line; margin:.35rem 0 0; }
.commercial-project-caption p:first-child { margin:0; }
.commercial-project-image:focus-visible,.commercial-project-demo:focus-visible { outline:3px solid var(--project-accent); outline-offset:-3px; }
@media(hover:hover) and (pointer:fine) {
    .commercial-project-card:hover { transform:translateY(-4px); border-color:rgba(var(--course-accent-rgb),.4); box-shadow:0 15px 34px rgba(35,26,54,.11); }
    .commercial-project-image:hover > img { transform:scale(1.035); }
    .commercial-project-image:hover .commercial-project-zoom { background:var(--project-accent); transform:translateY(-2px); }
}
@keyframes projectSectionEnter { from {opacity:0; transform:translateY(18px);} to {opacity:1; transform:translateY(0);} }
@media(prefers-reduced-motion:no-preference) {
    .commercial-project.project-entered .commercial-project-copy { animation:projectSectionEnter .55s ease-out both; }
    .commercial-project.project-entered .commercial-project-gallery-heading { animation:projectSectionEnter .55s .07s ease-out both; }
    .commercial-project.project-entered .commercial-project-card { animation:projectSectionEnter .55s .10s ease-out backwards; }
    .commercial-project.project-entered .commercial-project-card:nth-child(2) { animation-delay:.17s; }
    .commercial-project.project-entered .commercial-project-card:nth-child(3) { animation-delay:.24s; }
}
@media(max-width:767.98px) {
    .commercial-project-intro { flex-direction:column; gap:1rem; }
    .commercial-project-grid,.commercial-project-grid.is-pair,.commercial-project-grid.is-featured { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
    .commercial-project-grid.is-featured .is-main { grid-column:1/-1; grid-row:auto; }
    .commercial-project-grid.is-featured .is-main .commercial-project-image { flex:none; min-height:0; }
    .commercial-project-grid.is-single { grid-template-columns:minmax(0,1fr); }
    .commercial-project-decoration { width:45%; opacity:.65; }
    .commercial-project-zoom > span { display:none; }
}
@media(max-width:479.98px) {
    .commercial-project-grid,.commercial-project-grid.is-pair,.commercial-project-grid.is-featured { grid-template-columns:minmax(0,1fr); }
    .commercial-project-grid.is-featured .is-main { grid-column:auto; }
    .commercial-project-demo { width:100%; }
    .commercial-project-decoration .project-circuit-signals { display:none; }
    .commercial-project-gallery-heading { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-project .project-circuit-signals path,.commercial-project.project-entered .commercial-project-copy,.commercial-project.project-entered .commercial-project-gallery-heading,.commercial-project.project-entered .commercial-project-card { animation:none!important; }
    .commercial-project .project-circuit-signals { display:none; }
    .commercial-project-card,.commercial-project-card:hover,.commercial-project-demo,.commercial-project-demo:hover,.commercial-project-image > img,.commercial-project-image:hover > img,.commercial-project-zoom,.commercial-project-image:hover .commercial-project-zoom { transition:none!important; transform:none!important; }
}

/* Video presentation — independent from the hero, gallery and learning sections. */
.course-detail-page .commercial-presentation {
    --presentation-accent:#5624d0;
    --presentation-action:#5624d0;
    position:relative; isolation:isolate; overflow:hidden;
    scroll-margin-top:110px;
    padding:clamp(1.2rem,3.5vw,2.65rem);
    border-color:rgba(var(--course-accent-rgb),.16);
    background:radial-gradient(ellipse at 100% 0%,rgba(var(--course-accent-rgb),.07),transparent 50%),#fff;
    box-shadow:0 16px 50px rgba(35,26,54,.045);
}
.course-detail-page.platform-hotmart .commercial-presentation { --presentation-accent:#a94300; --presentation-action:#c44d00; }
.commercial-presentation-decoration { position:absolute; top:0; right:0; width:min(36%,280px); color:var(--course-accent); pointer-events:none; z-index:-1; }
.commercial-presentation-decoration svg { width:100%; height:auto; display:block; }
.commercial-presentation-decoration .presentation-circuit-base { opacity:.19; }
.commercial-presentation-decoration .presentation-circuit-signal { opacity:.65; }
.commercial-presentation-decoration .presentation-circuit-signal path { stroke-dasharray:75 925; stroke-dashoffset:1000; animation:presentationCircuitFlow 6s linear infinite; animation-play-state:paused; }
.commercial-presentation-decoration .presentation-circuit-signal path:nth-child(2) { animation-delay:-3s; }
@keyframes presentationCircuitFlow { from {stroke-dashoffset:1000;} to {stroke-dashoffset:0;} }
.commercial-presentation-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.45rem; }
.commercial-presentation-heading > div { min-width:0; }
.commercial-presentation-kicker { display:flex; align-items:center; gap:.65rem; margin-bottom:1rem; }
.commercial-presentation-kicker .course-section-eyebrow { margin:0; color:var(--presentation-accent); }
.commercial-presentation-icon { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border-radius:12px; background:rgba(var(--course-accent-rgb),.09); border:1px solid rgba(var(--course-accent-rgb),.14); color:var(--presentation-accent); font-size:1.05rem; }
.commercial-presentation .commercial-presentation-heading h2 { font-size:clamp(1.55rem,2.65vw,2.25rem); line-height:1.2; letter-spacing:-.035em; margin:0 0 .55rem; text-wrap:balance; }
.commercial-presentation-heading p { margin:0; color:var(--course-muted); line-height:1.65; font-size:clamp(.94rem,1.3vw,1.06rem); }
.commercial-presentation-label { display:inline-flex; align-items:center; gap:.45rem; padding:.5rem .75rem; border:1px solid rgba(var(--course-accent-rgb),.15); border-radius:999px; background:rgba(var(--course-accent-rgb),.06); color:var(--presentation-accent); font-weight:700; font-size:.75rem; white-space:nowrap; }
.commercial-presentation-shell { position:relative; max-width:940px; margin:auto; padding:.55rem; border:1px solid rgba(var(--course-accent-rgb),.2); border-radius:20px; background:#fff; box-shadow:0 14px 36px rgba(35,26,54,.095),0 0 24px rgba(var(--course-accent-rgb),.065); }
.commercial-presentation-toolbar { display:flex; justify-content:space-between; align-items:center; gap:.6rem; padding:.65rem .6rem .9rem; }
.commercial-presentation-dots { display:flex; align-items:center; gap:4px; }
.commercial-presentation-dots > span { width:7px; height:7px; background:rgba(var(--course-accent-rgb),.22); border-radius:50%; }
.commercial-presentation-dots > span:first-child { background:rgba(var(--course-accent-rgb),.7); }
.commercial-presentation-toolbar-title { display:flex; align-items:center; gap:.45rem; color:var(--course-muted); font-size:.76rem; font-weight:700; }
.commercial-presentation-toolbar-title i { color:var(--presentation-accent); font-size:.65rem; }
.commercial-presentation-format { display:flex; align-items:center; gap:.35rem; font-size:.73rem; font-weight:700; color:var(--course-muted); white-space:nowrap; }
.commercial-presentation-format i { color:#dc2626; font-size:.95rem; }
.commercial-presentation .commercial-video { max-width:none; border-radius:13px; background:#15131b; position:relative; }
.commercial-presentation .commercial-presentation-play { display:block; overflow:hidden; padding:0; border:0; color:white; background:#15131b; cursor:pointer; }
.commercial-presentation .commercial-presentation-play > img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .65s ease,filter .4s ease; }
.commercial-presentation-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(15,10,24,.06),rgba(15,10,24,.12) 45%,rgba(15,10,24,.55)),radial-gradient(ellipse at center,rgba(15,10,24,.18),transparent 65%); pointer-events:none; }
.commercial-presentation-play-content { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:.65rem; pointer-events:none; }
.commercial-presentation-play-disc { width:clamp(86px,13vw,128px); aspect-ratio:1; position:relative; display:grid; place-items:center; }
.commercial-presentation-play-rings { position:absolute; inset:0; width:100%; height:100%; overflow:visible; color:#fff; }
.commercial-presentation-play-rings .presentation-ring-outer { transform-origin:64px 64px; opacity:.78; animation:presentationRingRotate 18s linear infinite; animation-play-state:paused; }
.commercial-presentation-play-rings .presentation-ring-inner { opacity:.42; }
.commercial-presentation-play-rings .presentation-ring-pulse { transform-origin:64px 64px; animation:presentationRingPulse 2.9s ease-out infinite; animation-play-state:paused; opacity:.45; }
.commercial-presentation-play-core { position:relative; width:59%; aspect-ratio:1; display:grid; place-items:center; background:var(--presentation-action); border:1px solid rgba(255,255,255,.32); border-radius:50%; color:#fff; box-shadow:0 0 30px rgba(var(--course-accent-rgb),.65),0 8px 24px #0005; transition:transform .25s ease,box-shadow .25s ease; }
.commercial-presentation-play-core i { font-size:clamp(1.15rem,2.5vw,1.8rem); margin-left:3px; }
.commercial-presentation-play-text { padding:.48rem .82rem; border-radius:999px; background:rgba(21,16,32,.82); border:1px solid rgba(255,255,255,.23); font-size:clamp(.75rem,1.3vw,.9rem); font-weight:750; color:#fff; }
.commercial-presentation-corner { display:inline-flex; align-items:center; gap:.4rem; position:absolute; bottom:.9rem; left:.9rem; color:#fff; background:rgba(21,16,32,.82); padding:.43rem .65rem; border-radius:8px; font-size:.7rem; font-weight:650; pointer-events:none; }
.commercial-presentation-corner i { color:#ff6262; }
.commercial-presentation .commercial-video iframe { display:block; width:100%; height:100%; border:0; }
.commercial-presentation .commercial-presentation-play:focus-visible { outline:3px solid #fff; outline-offset:-6px; }
.commercial-presentation-footer { display:flex; align-items:center; justify-content:space-between; gap:.6rem 1rem; flex-wrap:wrap; padding:.9rem .65rem .4rem; }
.commercial-presentation-footer > span { display:flex; align-items:center; gap:.45rem; color:var(--course-muted); font-size:.78rem; }
.commercial-presentation-footer > span i { color:var(--presentation-accent); }
.commercial-presentation-footer > a { display:inline-flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:750; color:var(--presentation-accent); text-decoration:none; }
.commercial-presentation-footer > a:hover { text-decoration:underline; text-underline-offset:3px; }
.commercial-presentation-footer > a:focus-visible { outline:2px solid var(--presentation-accent); outline-offset:3px; border-radius:3px; }
.commercial-presentation.is-presentation-visible .presentation-circuit-signal path,
.commercial-presentation.is-presentation-visible .presentation-ring-outer,
.commercial-presentation.is-presentation-visible .presentation-ring-pulse { animation-play-state:running; }
@keyframes presentationRingRotate { from {transform:rotate(0);} to {transform:rotate(360deg);} }
@keyframes presentationRingPulse { 0% {transform:scale(.9); opacity:.65;} 78%,100% {transform:scale(1.28); opacity:0;} }
@keyframes presentationEnter { from {opacity:0; transform:translateY(16px);} to {opacity:1; transform:translateY(0);} }
@media(hover:hover) and (pointer:fine) {
    .commercial-presentation-play:hover > img { transform:scale(1.035); filter:brightness(.91); }
    .commercial-presentation-play:hover .commercial-presentation-play-core { transform:scale(1.09); box-shadow:0 0 42px rgba(var(--course-accent-rgb),.85),0 8px 24px #0005; }
}
@media(prefers-reduced-motion:no-preference) {
    .commercial-presentation.presentation-entered .commercial-presentation-heading { animation:presentationEnter .55s ease-out backwards; }
    .commercial-presentation.presentation-entered .commercial-presentation-shell { animation:presentationEnter .65s .10s ease-out backwards; }
}
@media(max-width:767.98px) {
    .commercial-presentation-heading { flex-direction:column; gap:.75rem; }
    .commercial-presentation-decoration { width:45%; opacity:.7; }
    .commercial-presentation-toolbar-title { font-size:.69rem; }
    .commercial-presentation-shell { padding:.4rem; border-radius:16px; }
    .commercial-presentation .commercial-video { border-radius:10px; }
    .commercial-presentation-footer { padding:.7rem .35rem .3rem; }
}
@media(max-width:479.98px) {
    .commercial-presentation-label { display:none; }
    .commercial-presentation-toolbar-title { display:none; }
    .commercial-presentation-play-content { gap:.25rem; }
    .commercial-presentation-play-disc { width:82px; }
    .commercial-presentation-corner { display:none; }
    .commercial-presentation-decoration .presentation-circuit-signal { display:none; }
    .commercial-presentation .presentation-ring-outer { animation:none; }
    .commercial-presentation-play-text { padding:.3rem .6rem; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-presentation .presentation-circuit-signal path,.commercial-presentation .presentation-ring-outer,.commercial-presentation .presentation-ring-pulse,.commercial-presentation.presentation-entered .commercial-presentation-heading,.commercial-presentation.presentation-entered .commercial-presentation-shell { animation:none!important; }
    .commercial-presentation .presentation-circuit-signal,.commercial-presentation .presentation-ring-pulse { display:none; }
    .commercial-presentation-play > img,.commercial-presentation-play:hover > img,.commercial-presentation-play-core,.commercial-presentation-play:hover .commercial-presentation-play-core { transform:none!important; transition:none!important; }
}



/* Public landing chapters — full-width rhythm inspired by the AnderCode home. */
.course-detail-page .commercial-learning-experience {
    --chapter-accent:#5624d0;
    --chapter-light:#f5f0ff;
    --chapter-line:#dfd2fa;
    --chapter-neon:#b79aff;
    --chapter-dark:#17121f;
    --chapter-dark-mid:#291942;
    --chapter-dark-text:#e5dbf4;
    position:relative;
}
.course-detail-page.platform-hotmart .commercial-learning-experience {
    --chapter-accent:#a94300;
    --chapter-light:#fff3e9;
    --chapter-line:#f2d5bd;
    --chapter-neon:#ffb578;
    --chapter-dark:#21140f;
    --chapter-dark-mid:#422313;
    --chapter-dark-text:#ffe4d0;
}
.commercial-learning-chapter,.commercial-stack-chapter {
    position:relative; isolation:isolate; overflow:hidden;
    padding:clamp(3.5rem,7vw,6.5rem) 0;
    scroll-margin-top:90px;
}
.commercial-learning-chapter {
    background:radial-gradient(ellipse at 10% 25%,rgba(var(--course-accent-rgb),.12),transparent 40%),linear-gradient(135deg,var(--chapter-light),#fff 85%);
    border-top:1px solid var(--chapter-line);
}
.commercial-learning-chapter::before,.commercial-stack-chapter::before {
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background-image:radial-gradient(currentColor 1px,transparent 1px);
    background-size:28px 28px; opacity:.075;
    mask-image:linear-gradient(110deg,#000,transparent 75%);
}
.commercial-learning-chapter::before { color:var(--chapter-accent); }
.commercial-stack-chapter::before { color:#fff; opacity:.12; mask-image:radial-gradient(ellipse at 50% 30%,#000,transparent 80%); }
.commercial-chapter-inner { position:relative; z-index:1; }
.commercial-chapter-circuit,.commercial-stack-network {
    position:absolute; inset:0; width:100%; height:100%; z-index:-1;
    pointer-events:none; color:var(--chapter-accent);
}
.commercial-learning-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:clamp(2rem,6vw,6rem); }
.commercial-chapter-intro { min-width:0; padding-top:.35rem; }
.commercial-chapter-kicker {
    display:inline-flex; align-items:center; gap:.5rem; padding:.45rem .78rem;
    border-radius:999px; border:1px solid var(--chapter-line);
    background:rgba(var(--course-accent-rgb),.07); color:var(--chapter-accent);
    font-size:.76rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.course-detail-page .commercial-chapter-intro h2,
.course-detail-page .commercial-stack-intro h2 {
    margin:1.1rem 0 1rem; font-size:clamp(2.3rem,4.8vw,4.55rem);
    line-height:1.03; letter-spacing:-.055em; font-weight:850;
    overflow-wrap:anywhere; text-wrap:balance;
}
.commercial-chapter-intro h2 span { display:block; color:var(--chapter-accent); }
.commercial-chapter-intro > p,.commercial-stack-intro > p {
    max-width:540px; margin:0; font-size:clamp(1rem,1.45vw,1.15rem); line-height:1.75; color:var(--course-muted);
}
.commercial-learning-metric {
    display:flex; align-items:center; gap:1rem; margin-top:2.2rem;
}
.commercial-metric-orbit { width:118px; height:118px; position:relative; display:grid; place-items:center; flex-shrink:0; color:var(--chapter-accent); }
.commercial-metric-orbit svg {
    position:absolute; inset:0; width:100%; height:100%; opacity:.64;
    animation:commercialOrbitSpin 24s linear infinite; animation-play-state:paused;
}
.commercial-metric-orbit > span {
    display:grid; place-items:center; width:62px; height:62px; border-radius:19px;
    background:var(--chapter-accent); color:#fff; font-size:1.6rem;
    box-shadow:0 10px 28px rgba(var(--course-accent-rgb),.24);
}
.commercial-metric-copy { display:flex; flex-direction:column; align-items:flex-start; gap:.15rem; min-width:0; }
.commercial-metric-copy strong { color:var(--chapter-accent); font-size:clamp(2.4rem,4vw,3.7rem); line-height:1; font-weight:850; letter-spacing:-.06em; }
.commercial-metric-copy span { color:var(--course-ink); font-size:.95rem; font-weight:750; }
.commercial-metric-copy small { color:var(--course-muted); font-size:.81rem; }
.commercial-outcomes { min-width:0; padding:.2rem 0; }
.commercial-outcomes-list { --journey-progress:1; position:relative; list-style:none; margin:0; padding:0; display:grid; gap:0; isolation:isolate; }
.commercial-outcomes-list::before,.commercial-outcomes-list::after {
    content:""; position:absolute; top:26px; height:var(--journey-length,calc(100% - 52px)); left:25px; width:2px; z-index:-1; border-radius:3px;
}
.commercial-outcomes-list::before { background:var(--chapter-line); }
.commercial-outcomes-list.is-single::before,.commercial-outcomes-list.is-single::after { display:none; }
.commercial-outcomes-list::after {
    background:linear-gradient(var(--chapter-accent),var(--chapter-neon));
    box-shadow:0 0 10px rgba(var(--course-accent-rgb),.5);
    transform:scaleY(var(--journey-progress)); transform-origin:top;
}
.commercial-outcome { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:start; gap:1.15rem; padding:0 0 1.45rem; min-width:0; }
.commercial-outcome:last-child { padding-bottom:0; }
.commercial-outcome-node {
    width:52px; height:52px; display:grid; place-items:center; border-radius:17px;
    background:var(--chapter-accent); border:3px solid #fff; color:#fff; font-size:1.05rem;
    box-shadow:0 0 0 1px var(--chapter-line),0 7px 20px rgba(var(--course-accent-rgb),.16);
    transition:transform .25s ease,box-shadow .25s ease;
}
.commercial-outcome:nth-child(2n) .commercial-outcome-node { color:var(--chapter-accent); background:var(--chapter-light); }
.commercial-outcome-content { min-width:0; padding:.35rem .6rem 1.1rem 0; border-bottom:1px solid var(--chapter-line); }
.commercial-outcome:last-child .commercial-outcome-content { border-bottom:0; padding-bottom:.2rem; }
.commercial-outcome-index { display:block; margin-bottom:.35rem; color:var(--chapter-accent); font-size:.73rem; font-weight:800; letter-spacing:.045em; text-transform:uppercase; }
.commercial-outcome-content p { margin:0; color:var(--course-ink); line-height:1.65; font-size:clamp(1rem,1.5vw,1.12rem); font-weight:550; overflow-wrap:anywhere; }
.commercial-stack-chapter {
    color:#fff;
    background:radial-gradient(ellipse at 50% 30%,rgba(var(--course-accent-rgb),.38),transparent 55%),linear-gradient(135deg,var(--chapter-dark),var(--chapter-dark-mid) 55%,var(--chapter-dark));
}
.commercial-stack-network { color:var(--chapter-neon); opacity:.75; }
.commercial-network-signals path {
    stroke-dasharray:65 935; stroke-dashoffset:1000;
    animation:commercialNetworkFlow 7s linear infinite; animation-play-state:paused;
}
.commercial-network-signals path:nth-child(2) { animation-delay:-2.5s; }
.commercial-network-signals path:nth-child(3) { animation-delay:-4.5s; }
.commercial-stack-intro { max-width:800px; margin:0 auto clamp(2rem,4vw,3.6rem); text-align:center; }
.commercial-stack-intro .commercial-chapter-kicker { color:var(--chapter-neon); background:#ffffff0c; border-color:#ffffff29; }
.course-detail-page .commercial-stack-intro h2 { color:#fff; }
.commercial-stack-intro h2 span { color:var(--chapter-neon); }
.commercial-stack-intro > p { margin:0 auto; color:var(--chapter-dark-text); }
.commercial-stack-total { display:inline-flex; align-items:center; gap:.55rem; color:var(--chapter-dark-text); font-size:.82rem; font-weight:650; margin-top:1.15rem; }
.commercial-stack-total > span { width:8px; height:8px; border-radius:50%; background:var(--chapter-neon); box-shadow:0 0 12px var(--chapter-neon); animation:commercialStackPulse 3s ease-in-out infinite; animation-play-state:paused; }
.commercial-tech-showcase {
    list-style:none; margin:0 auto; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(1.3rem,3vw,2.65rem) clamp(1rem,2.8vw,2.4rem); max-width:1120px;
}
.commercial-tech-feature { display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; width:clamp(130px,14vw,190px); gap:.35rem; }
.commercial-tech-emblem {
    position:relative; isolation:isolate; display:grid; place-items:center;
    width:clamp(88px,10vw,116px); aspect-ratio:1; padding:21px; border-radius:27px;
    background:linear-gradient(145deg,#fff,#f6f3f9); border:1px solid #fff;
    box-shadow:0 12px 34px #0005,0 0 28px rgba(var(--course-accent-rgb),.26);
    margin-bottom:.85rem; transition:transform .3s ease,box-shadow .3s ease;
}
.commercial-tech-emblem-ring {
    position:absolute; inset:-7px; z-index:-1; border:1px solid #ffffff35; border-radius:33px;
    pointer-events:none; transition:border-color .3s ease,transform .3s ease;
}
.commercial-tech-emblem .technology-logo { display:block; width:100%; height:100%; object-fit:contain; }
.commercial-tech-feature > strong { color:#fff; font-size:1.08rem; line-height:1.35; overflow-wrap:anywhere; max-width:100%; }
.commercial-tech-feature-category { color:var(--chapter-dark-text); font-size:.78rem; overflow-wrap:anywhere; max-width:100%; }
.commercial-tech-feature-version { color:var(--chapter-neon); font-size:.76rem; font-weight:750; padding:.2rem .55rem; border:1px solid #ffffff25; background:#ffffff0d; border-radius:999px; max-width:100%; overflow-wrap:anywhere; }
.commercial-body-continuation { padding-top:clamp(2.5rem,5vw,4.5rem); }
.commercial-learning-chapter.is-learning-visible .commercial-metric-orbit svg,
.commercial-stack-chapter.is-learning-visible .commercial-network-signals path,
.commercial-stack-chapter.is-learning-visible .commercial-stack-total > span { animation-play-state:running; }
@keyframes commercialOrbitSpin { to { transform:rotate(360deg); } }
@keyframes commercialNetworkFlow { to { stroke-dashoffset:0; } }
@keyframes commercialStackPulse { 0%,100% { opacity:.65; } 50% { opacity:1; } }
@keyframes commercialChapterEnter { from {opacity:0;transform:translateY(20px);} to {opacity:1;transform:translateY(0);} }
@media(hover:hover) and (pointer:fine) {
    .commercial-outcome:hover .commercial-outcome-node { transform:translateY(-3px); box-shadow:0 0 0 2px var(--chapter-line),0 9px 25px rgba(var(--course-accent-rgb),.28); }
    .commercial-tech-feature:hover .commercial-tech-emblem { transform:translateY(-7px) rotate(-3deg); box-shadow:0 20px 38px #0006,0 0 38px rgba(var(--course-accent-rgb),.5); }
    .commercial-tech-feature:hover .commercial-tech-emblem-ring { border-color:var(--chapter-neon); transform:rotate(7deg); }
}
@media(prefers-reduced-motion:no-preference) {
    .commercial-learning-chapter.learning-entered .commercial-chapter-intro,
    .commercial-stack-chapter.learning-entered .commercial-stack-intro { animation:commercialChapterEnter .6s ease-out backwards; }
    .commercial-learning-chapter.learning-entered .commercial-outcome,
    .commercial-stack-chapter.learning-entered .commercial-tech-feature {
        animation:commercialChapterEnter .55s ease-out backwards; animation-delay:calc(100ms + var(--reveal-index,0)*65ms);
    }
}
@media(max-width:991.98px) {
    .commercial-learning-layout { grid-template-columns:minmax(0,1fr); gap:2rem; }
    .commercial-chapter-intro h2 span { display:inline; }
    .commercial-learning-metric { margin-top:1.3rem; }
    .commercial-metric-orbit { width:94px; height:94px; }
    .commercial-metric-orbit > span { width:54px; height:54px; font-size:1.35rem; }
    .commercial-stack-network { opacity:.48; }
}
@media(max-width:575.98px) {
    .commercial-learning-chapter,.commercial-stack-chapter { padding:3rem 0; }
    .commercial-outcome { grid-template-columns:42px minmax(0,1fr); gap:.85rem; padding-bottom:1.1rem; }
    .commercial-outcome-node { width:42px; height:42px; border-radius:13px; font-size:.87rem; }
    .commercial-outcomes-list::before,.commercial-outcomes-list::after { left:20px; top:21px; height:var(--journey-length,calc(100% - 42px)); }
    .commercial-outcome-content { padding-right:0; }
    .commercial-tech-showcase { gap:1.6rem .8rem; }
    .commercial-tech-feature { width:calc(50% - .4rem); max-width:180px; }
    .commercial-tech-emblem { width:88px; padding:17px; border-radius:23px; }
    .commercial-tech-emblem-ring { border-radius:29px; }
    .commercial-network-signals { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-learning-experience *,.commercial-learning-experience *::before,.commercial-learning-experience *::after { animation:none!important; transition:none!important; }
    .commercial-outcomes-list::after { transform:none!important; }
    .commercial-tech-feature:hover .commercial-tech-emblem,.commercial-tech-feature:hover .commercial-tech-emblem-ring,.commercial-outcome:hover .commercial-outcome-node { transform:none!important; }
}

/* Complete commercial story — full-width chapters, home-inspired visual rhythm. */
.commercial-story {
    --story-accent:#5624d0; --story-bright:#7c3aed; --story-light:#f5f0ff;
    --story-border:#e4daf5; --story-dark:#17121f; --story-mid:#2b1946;
    --story-neon:#c3a7ff; --story-muted-light:#e5d9f5; --story-button:#5624d0;
    position:relative; isolation:isolate;
}
.platform-hotmart .commercial-story {
    --story-accent:#a94300; --story-bright:#e76513; --story-light:#fff3e9;
    --story-border:#f1d7c2; --story-dark:#21140f; --story-mid:#442516;
    --story-neon:#ffb578; --story-muted-light:#ffe6d4; --story-button:#b84b00;
}
.commercial-story-trail { position:absolute; inset:0; width:100%; height:100%; z-index:5; pointer-events:none; overflow:hidden; display:none; }
.commercial-story-trail-base { stroke:var(--story-bright); stroke-width:1.2; opacity:.19; }
.commercial-story-trail-glow { stroke:var(--story-bright); stroke-width:7; opacity:.38; filter:blur(4px); stroke-linecap:round; }
.commercial-story-trail-line { stroke:var(--story-neon); stroke-width:2; stroke-linecap:round; }
.commercial-story-trail-head { fill:#fff; stroke:var(--story-bright); stroke-width:1.4; filter:drop-shadow(0 0 5px var(--story-bright)); }
@media(min-width:1200px) { .commercial-story-trail.is-ready { display:block; } }
.commercial-story .commercial-story-section {
    position:relative; isolation:isolate; overflow:hidden;
    padding:clamp(3.4rem,6.5vw,6rem) 0; margin:0; border:0; border-radius:0; box-shadow:none;
    scroll-margin-top:90px;
}
.commercial-story .commercial-story-white { background:radial-gradient(ellipse at 94% 5%,rgba(var(--course-accent-rgb),.07),transparent 34%),#fff; }
.commercial-story .commercial-story-soft { background:radial-gradient(ellipse at 8% 25%,rgba(var(--course-accent-rgb),.09),transparent 40%),linear-gradient(135deg,var(--story-light),#fff 92%); border-block:1px solid var(--story-border); }
.commercial-story .commercial-story-dark { color:#fff; background:radial-gradient(ellipse at 75% 30%,rgba(var(--course-accent-rgb),.32),transparent 52%),linear-gradient(135deg,var(--story-dark),var(--story-mid) 55%,var(--story-dark)); }
.commercial-story-dark::before,.commercial-story-soft::before {
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background-image:radial-gradient(currentColor 1px,transparent 1px); background-size:28px 28px; opacity:.08;
    mask-image:radial-gradient(ellipse at 75% 25%,#000,transparent 80%);
}
.commercial-story-soft::before { color:var(--story-accent); }
.commercial-story-inner { position:relative; z-index:1; }
.commercial-story-heading { min-width:0; }
.commercial-story-kicker {
    display:inline-flex; flex-wrap:wrap; align-items:center; gap:.5rem; padding:.46rem .78rem;
    border-radius:999px; border:1px solid var(--story-border); background:var(--story-light);
    color:var(--story-accent); font-size:.75rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.course-detail-page .commercial-story-heading h2 {
    margin:1rem 0; font-size:clamp(2.15rem,4.1vw,4rem); line-height:1.08; letter-spacing:-.05em;
    font-weight:850; text-wrap:balance; overflow-wrap:anywhere;
}
.commercial-story-heading h2 > span { color:var(--story-accent); display:block; }
.commercial-story-heading p { margin:0; max-width:640px; color:var(--course-muted); font-size:clamp(1rem,1.4vw,1.12rem); line-height:1.75; }
.commercial-story-dark .commercial-story-kicker { background:#ffffff10; border-color:#ffffff30; color:var(--story-neon); }
.course-detail-page .commercial-story-dark .commercial-story-heading h2 { color:#fff; }
.commercial-story-dark .commercial-story-heading h2 > span { color:var(--story-neon); }
.commercial-story-dark .commercial-story-heading p { color:var(--story-muted-light); }
.commercial-story-centered { max-width:780px; margin:0 auto clamp(2rem,4vw,3.3rem); text-align:center; }
.commercial-story-centered p { margin:auto; }
.commercial-story-centered h2 > span { display:inline; }
.commercial-story-split { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:clamp(2rem,6vw,6rem); }
.commercial-story-textlink,.commercial-story-whatsapp,.commercial-story-share {
    display:inline-flex; align-items:center; justify-content:center; gap:.6rem; margin-top:1.3rem;
    padding:.8rem 1rem; border-radius:12px; border:1px solid var(--story-border); background:#fff;
    color:var(--story-accent); text-decoration:none; font-weight:750; font-size:.9rem; transition:transform .2s ease,box-shadow .2s ease;
}
.commercial-story-textlink:hover { color:var(--story-accent); }
.commercial-story-whatsapp { color:#117c46; border-color:#b9e8ce; background:#f2fff7; }
.commercial-story-whatsapp:hover { color:#0b6538; }
.commercial-story-dark .commercial-story-textlink,.commercial-story-dark .commercial-story-share { color:#fff; border-color:#ffffff35; background:#ffffff12; }
.commercial-story-dark .commercial-story-whatsapp { color:#b7f7cf; border-color:#75d6a15c; background:#1b5d4138; }
.commercial-story-textlink:hover,.commercial-story-whatsapp:hover,.commercial-story-share:hover { transform:translateY(-2px); box-shadow:0 8px 22px #0001; }
.commercial-story a:focus-visible,.commercial-story button:focus-visible,.commercial-story summary:focus-visible { outline:3px solid var(--story-bright); outline-offset:3px; }
.commercial-story-dark a:focus-visible,.commercial-story-dark button:focus-visible { outline-color:var(--story-neon); }
/* Project: large gallery, generous space, no enclosing card. */
.commercial-story .commercial-project .commercial-project-decoration { width:min(40%,430px); opacity:.8; }
.commercial-story .commercial-project-intro { margin-bottom:1rem; align-items:flex-end; }
.commercial-story .commercial-project-copy h2,
.commercial-story .commercial-presentation-heading h2 { font-size:clamp(2.05rem,3.8vw,3.55rem); font-weight:850; line-height:1.12; letter-spacing:-.047em; }
.commercial-story .commercial-project-copy { max-width:950px; }
.commercial-story .commercial-project-gallery { padding-top:1.5rem; }
.commercial-story .commercial-project-grid { gap:1.2rem; }
.commercial-story .commercial-project-card { border-radius:19px; }
.commercial-story .commercial-project-grid.is-single { max-width:1050px; margin:auto; }
.commercial-story .commercial-project-kicker .course-section-eyebrow,
.commercial-story .commercial-presentation-kicker .course-section-eyebrow { font-weight:800; }
/* Presentation: asymmetric home-style section, a large video alongside the copy. */
.commercial-story .commercial-presentation-layout { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); align-items:center; gap:clamp(1.75rem,4.5vw,4.5rem); }
.commercial-story .commercial-presentation-heading { flex-direction:column; align-items:flex-start; margin:0; gap:1rem; }
.commercial-story .commercial-presentation-heading p { font-size:1.06rem; }
.commercial-story .commercial-presentation-shell { width:100%; max-width:none; box-shadow:0 24px 65px rgba(35,26,54,.15),0 0 32px rgba(var(--course-accent-rgb),.12); }
/* Syllabus & FAQ: native accessible accordions with visible state. */
.commercial-story-stat { display:flex; align-items:center; gap:.9rem; margin-top:1.7rem; }
.commercial-story-stat > i { display:grid; place-items:center; width:60px; height:60px; border-radius:18px; background:var(--story-light); color:var(--story-accent); font-size:1.45rem; border:1px solid var(--story-border); }
.commercial-story-stat strong,.commercial-story-stat span { display:block; }
.commercial-story-stat strong { color:var(--story-accent); font-size:2.3rem; line-height:1; font-weight:850; }
.commercial-story-stat span { color:var(--course-muted); font-size:.85rem; margin-top:.2rem; }
.commercial-story-accordion { display:grid; gap:.8rem; min-width:0; }
.commercial-story-detail { border:1px solid var(--story-border); border-radius:16px; background:#fff; box-shadow:0 8px 24px #21153108; overflow:hidden; transition:border-color .25s,box-shadow .25s; }
.commercial-story-detail[open] { border-color:rgba(var(--course-accent-rgb),.35); box-shadow:0 12px 30px rgba(var(--course-accent-rgb),.07); }
.commercial-story-detail summary { display:flex; align-items:center; gap:.85rem; padding:1rem 1.1rem; cursor:pointer; list-style:none; font-weight:750; line-height:1.45; }
.commercial-story-detail summary::-webkit-details-marker { display:none; }
.commercial-story-detail summary:focus-visible { outline-offset:-4px; }
.commercial-detail-index { display:grid; place-items:center; width:39px; height:39px; border-radius:11px; background:var(--story-light); color:var(--story-accent); font-size:.83rem; flex-shrink:0; font-weight:800; }
.commercial-detail-title { flex:1; min-width:0; overflow-wrap:anywhere; }
.commercial-detail-toggle { color:var(--story-accent); font-size:.85rem; transition:transform .25s; }
.commercial-story-detail[open] .commercial-detail-toggle { transform:rotate(45deg); }
.commercial-story-detail[open] .commercial-detail-index { background:var(--story-accent); color:#fff; }
.commercial-detail-content { padding:.15rem 1.1rem 1.2rem; margin-left:calc(39px + .85rem); color:var(--course-muted); line-height:1.75; white-space:pre-line; overflow-wrap:anywhere; }
.commercial-story-detail[open] .commercial-detail-content { animation:commercialDetailEnter .24s ease-out; }
@keyframes commercialDetailEnter { from {opacity:0;transform:translateY(-5px)} to {opacity:1;transform:translateY(0)} }
/* Readiness: flexible panels that center automatically when fields are missing. */
.commercial-readiness-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:1.2rem; }
.commercial-readiness-panel { flex:1 1 280px; max-width:460px; min-width:0; padding:clamp(1.3rem,2.8vw,2rem); position:relative; isolation:isolate; overflow:hidden; border:1px solid var(--story-border); border-radius:23px; background:#fff; box-shadow:0 15px 36px #2416350b; transition:transform .25s,box-shadow .25s; }
.commercial-readiness-panel::after { content:""; position:absolute; top:0; left:1.5rem; right:1.5rem; height:3px; background:linear-gradient(90deg,transparent,var(--story-bright),transparent); opacity:.65; }
.commercial-readiness-panel:nth-child(2n) { background:linear-gradient(155deg,#fff,var(--story-light)); }
.commercial-readiness-panel::before { content:""; position:absolute; right:-64px; top:-64px; width:160px; height:160px; border-radius:50%; z-index:-1; background:rgba(var(--course-accent-rgb),.055); transition:transform .3s; }
.commercial-readiness-icon { display:grid; place-items:center; width:57px; height:57px; border-radius:17px; background:var(--story-light); color:var(--story-accent); font-size:1.35rem; margin-bottom:1.2rem; border:1px solid var(--story-border); }
.course-detail-page .commercial-readiness-panel h3 { font-size:1.24rem; font-weight:800; margin:0 0 1rem; }
.commercial-readiness-panel ul { list-style:none; padding:0; margin:0; display:grid; gap:.8rem; }
.commercial-readiness-panel li { display:flex; align-items:flex-start; gap:.65rem; color:var(--course-muted); line-height:1.65; overflow-wrap:anywhere; }
.commercial-readiness-panel li i { margin-top:.3rem; color:var(--story-accent); flex-shrink:0; font-size:.8rem; }
.commercial-readiness-panel li span { min-width:0; }
/* Editorial: preserve the complete TinyMCE content, including embedded media. */
.commercial-editorial-layout { display:grid; grid-template-columns:minmax(0,.67fr) minmax(0,1.33fr); gap:clamp(2rem,5vw,5rem); align-items:start; }
.commercial-editorial-content { min-width:0; border-left:1px solid var(--story-border); padding-left:clamp(1rem,3vw,2.5rem); }
.commercial-editorial-content .glightbox { display:block; }
.commercial-editorial-content .glightbox img { transition:box-shadow .25s; }
.commercial-editorial-content .glightbox:hover img { box-shadow:0 15px 40px rgba(var(--course-accent-rgb),.18); }
/* Instructor — a personal editorial introduction, with a branded developer window. */
.commercial-enroll-orbits { position:absolute; inset:0; width:100%; height:100%; z-index:-1; color:var(--story-neon); opacity:.22; pointer-events:none; }
.commercial-story .commercial-instructor {
    background:radial-gradient(ellipse at 85% 50%,rgba(var(--course-accent-rgb),.12),transparent 45%),linear-gradient(120deg,#fff 30%,var(--story-light));
    border-block:1px solid var(--story-border);
}
.commercial-instructor-lines { position:absolute; inset:0; width:100%; height:100%; color:var(--story-accent); pointer-events:none; z-index:-1; }
.commercial-instructor-signal { stroke-dasharray:85 915; stroke-dashoffset:1000; opacity:.65; animation:mentorSignal 6s linear infinite; animation-play-state:paused; }
@keyframes mentorSignal { to { stroke-dashoffset:0; } }
.commercial-mentor-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); align-items:center; gap:clamp(2rem,6vw,6rem); }
.course-detail-page .commercial-mentor-copy h2 { font-size:clamp(2.1rem,4.2vw,3.95rem); text-wrap:balance; margin-bottom:.75rem; }
.commercial-mentor-copy h2 > span { display:inline; }
.commercial-mentor-copy .commercial-mentor-role { font-size:.9rem; font-weight:750; color:var(--story-accent); margin:0 0 1.1rem; }
.commercial-mentor-copy > p:not(.commercial-mentor-role) { max-width:640px; }
.commercial-mentor-principles { display:flex; flex-wrap:wrap; gap:.7rem 1.2rem; margin:1.55rem 0 .3rem; }
.commercial-mentor-principles > span { display:inline-flex; align-items:center; gap:.5rem; font-size:.85rem; font-weight:700; color:var(--course-ink); }
.commercial-mentor-principles i { color:var(--story-accent); }
.commercial-mentor-copy .commercial-mentor-link { background:var(--story-button); color:#fff; border-color:transparent; box-shadow:0 8px 24px rgba(var(--course-accent-rgb),.2); }
.commercial-mentor-copy .commercial-mentor-link:hover { color:#fff; box-shadow:0 12px 28px rgba(var(--course-accent-rgb),.32); }
.commercial-mentor-visual { position:relative; isolation:isolate; min-width:0; padding:1.35rem 1rem 2.35rem; }
.commercial-mentor-halo { position:absolute; z-index:-1; inset:0 0 0 5%; border-radius:50%; background:radial-gradient(ellipse,rgba(var(--course-accent-rgb),.2),transparent 68%); pointer-events:none; }
.commercial-mentor-window { position:relative; overflow:hidden; border:1px solid #ffffff32; border-radius:24px; color:#fff; background:radial-gradient(ellipse at 50% 40%,var(--story-mid),transparent 75%),var(--story-dark); box-shadow:0 22px 55px rgba(35,26,54,.22),0 0 32px rgba(var(--course-accent-rgb),.15); transform:rotate(-1.4deg); transition:transform .35s ease,box-shadow .35s ease; }
.commercial-mentor-toolbar,.commercial-mentor-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.55rem; padding:.85rem 1rem; color:var(--story-muted-light); font-size:.7rem; font-weight:650; background:#ffffff09; }
.commercial-mentor-toolbar { border-bottom:1px solid #ffffff15; font-family:ui-monospace,monospace; }
.commercial-mentor-dots { display:flex; gap:5px; }
.commercial-mentor-dots i { width:8px; height:8px; border-radius:50%; background:#ffffff35; }
.commercial-mentor-dots i:first-child { background:var(--story-neon); }
.commercial-mentor-toolbar > i { color:var(--story-neon); }
.commercial-mentor-identity { display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; isolation:isolate; padding:2.35rem .85rem 2rem; min-height:265px; text-align:center; }
.commercial-mentor-emblem-art { position:absolute; inset:0; width:100%; height:100%; z-index:-1; color:var(--story-neon); pointer-events:none; }
.commercial-mentor-orbit-dot { transform-origin:160px 115px; animation:mentorOrbit 19s linear infinite; animation-play-state:paused; }
@keyframes mentorOrbit { to { transform:rotate(360deg); } }
.commercial-mentor-emblem { position:relative; width:92px; aspect-ratio:1; border-radius:23px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.1rem; background:linear-gradient(145deg,#fff,#f5efff); color:var(--story-accent); border:1px solid white; box-shadow:0 0 0 8px #ffffff13,0 12px 30px #0005,0 0 34px rgba(var(--course-accent-rgb),.6); animation:mentorFloat 6s ease-in-out infinite; animation-play-state:paused; }
.commercial-mentor-emblem i { font-size:1.35rem; }
.commercial-mentor-emblem strong { font-size:1.65rem; letter-spacing:-.08em; font-weight:850; line-height:1; }
@keyframes mentorFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }
.commercial-mentor-wordmark { margin-top:1.3rem; color:#fff; font-size:clamp(1.65rem,3vw,2.3rem); font-weight:850; letter-spacing:-.06em; line-height:1.1; }
.commercial-mentor-wordmark > span { color:var(--story-neon); }
.commercial-mentor-caption { color:var(--story-muted-light); font-size:.8rem; margin-top:.55rem; }
.commercial-mentor-bottom { border-top:1px solid #ffffff15; }
.commercial-mentor-bottom > span:first-child { display:flex; align-items:center; gap:.45rem; }
.commercial-mentor-bottom i { color:var(--story-neon); font-size:.48rem; }
.commercial-mentor-float { position:absolute; right:0; bottom:0; display:flex; align-items:center; gap:.65rem; background:#fff; color:var(--course-ink); border:1px solid var(--story-border); border-radius:15px; padding:.75rem 1rem; box-shadow:0 12px 32px rgba(35,26,54,.15); }
.commercial-mentor-float > i { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--story-light); color:var(--story-accent); }
.commercial-mentor-float strong,.commercial-mentor-float small { display:block; }
.commercial-mentor-float strong { font-size:.82rem; font-weight:800; }
.commercial-mentor-float small { font-size:.68rem; color:var(--course-muted); margin-top:.15rem; }
.commercial-instructor.is-story-visible .commercial-instructor-signal,.commercial-instructor.is-story-visible .commercial-mentor-orbit-dot,.commercial-instructor.is-story-visible .commercial-mentor-emblem { animation-play-state:running; }
@media(hover:hover) and (pointer:fine) { .commercial-mentor-window:hover { transform:rotate(0) translateY(-3px); box-shadow:0 26px 65px rgba(35,26,54,.26),0 0 38px rgba(var(--course-accent-rgb),.21); } }
@media(max-width:991.98px) { .commercial-mentor-layout { grid-template-columns:minmax(0,1fr); gap:1.6rem; } .commercial-mentor-visual { max-width:580px; width:100%; margin:auto; } }
@media(max-width:575.98px) { .commercial-mentor-visual { padding:.6rem .35rem 1.8rem; } .commercial-mentor-window { transform:none; border-radius:18px; } .commercial-mentor-identity { min-height:235px; padding:1.8rem .7rem; } .commercial-mentor-toolbar,.commercial-mentor-bottom { padding:.7rem .65rem; font-size:.62rem; } .commercial-mentor-float { right:0; padding:.6rem .75rem; } .commercial-mentor-principles { gap:.65rem; } .commercial-instructor-signal { display:none; } }
@media(prefers-reduced-motion:reduce) { .commercial-instructor-signal,.commercial-mentor-orbit-dot,.commercial-mentor-emblem { animation:none!important; } .commercial-mentor-window,.commercial-mentor-window:hover { transform:none!important; transition:none!important; } }
/* Final CTA: one price, original glowing purchase button, no pressure tactics. */
.commercial-enroll-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(2rem,6vw,6rem); align-items:center; }
.commercial-enroll-layout:not(:has(.commercial-enroll-panel)) { grid-template-columns:minmax(0,1fr); }
.commercial-enroll-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.4rem; }
.commercial-enroll-actions > * { margin-top:0; }
.commercial-enroll-panel { min-width:0; background:#fff; color:var(--course-ink); border:1px solid var(--story-border); border-radius:25px; padding:clamp(1.4rem,3vw,2.35rem); text-align:center; box-shadow:0 24px 60px #0004,0 0 40px rgba(var(--course-accent-rgb),.25); display:flex; flex-direction:column; align-items:center; gap:.9rem; }
.commercial-enroll-platform { font-size:.78rem; font-weight:800; text-transform:uppercase; color:var(--story-accent); letter-spacing:.045em; display:inline-flex; align-items:center; gap:.5rem; }
.commercial-enroll-price { font-size:clamp(2rem,4vw,3.5rem); font-weight:850; line-height:1.05; letter-spacing:-.05em; overflow-wrap:anywhere; max-width:100%; }
.commercial-enroll-offer { color:var(--story-accent); background:var(--story-light); padding:.35rem .65rem; font-size:.76rem; font-weight:750; border-radius:999px; }
.commercial-story .commercial-enroll-buy { background:var(--story-button); width:100%; padding:1rem 1.1rem; margin-top:.35rem; text-align:center; overflow-wrap:anywhere; font-size:1rem; animation:commercialHeroGlow 2.8s ease-in-out infinite; animation-play-state:paused; }
.commercial-enroll-buy span { min-width:0; }
.commercial-enroll-buy::after { animation-play-state:paused; }
.commercial-enroll-trust { color:var(--course-muted); font-size:.76rem; line-height:1.55; margin:.2rem 0 0; }
.commercial-enroll-trust i { color:var(--story-accent); }
/* Viewport-aware entrance and decorative motion. */
.commercial-story-section.is-story-visible .commercial-enroll-buy,
.commercial-story-section.is-story-visible .commercial-enroll-buy::after { animation-play-state:running; }
@keyframes commercialStoryEnter { from {opacity:0;transform:translateY(18px)} to {opacity:1;transform:translateY(0)} }
@media(prefers-reduced-motion:no-preference) {
    .story-entered [data-story-item] { animation:commercialStoryEnter .58s ease-out backwards; }
    .story-entered [data-story-item]:nth-child(2) { animation-delay:.09s; }
    .story-entered [data-story-item]:nth-child(3) { animation-delay:.18s; }
}
@media(hover:hover) and (pointer:fine) {
    .commercial-readiness-panel:hover { transform:translateY(-5px); box-shadow:0 20px 45px rgba(var(--course-accent-rgb),.12); }
    .commercial-readiness-panel:hover::before { transform:scale(1.4); }
    .commercial-story-detail:hover { border-color:rgba(var(--course-accent-rgb),.4); }
    .commercial-story .commercial-enroll-buy:hover { transform:translateY(-3px); }
}
@media(max-width:991.98px) {
    .commercial-story .commercial-presentation-layout,.commercial-story-split,.commercial-editorial-layout,.commercial-enroll-layout { grid-template-columns:minmax(0,1fr); gap:2rem; }
    .commercial-editorial-content { border-left:0; padding-left:0; }
    .commercial-enroll-panel { max-width:520px; width:100%; margin:auto; }
}
@media(max-width:575.98px) {
    .commercial-story .commercial-story-section { padding:3rem 0; }
    .commercial-story .commercial-project-grid { gap:.75rem; }
    .commercial-story .commercial-project-intro { align-items:flex-start; }
    .commercial-story-heading h2 > span { display:inline; }
    .commercial-story-detail summary { padding:.85rem; gap:.65rem; }
    .commercial-detail-index { width:34px; height:34px; }
    .commercial-detail-content { margin-left:0; padding:.15rem .85rem 1rem; }
    .commercial-readiness-panel { max-width:100%; flex-basis:100%; }
    .commercial-enroll-actions > * { width:100%; }
    .commercial-mobile-bar { flex-wrap:wrap; gap:.6rem; }
    .commercial-mobile-bar > div { flex:1 1 90px; min-width:0; overflow-wrap:anywhere; }
    .commercial-mobile-bar .commercial-cta { flex:1 1 150px; min-width:0; text-align:center; overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-story-trail { display:none!important; }
    .commercial-story .commercial-enroll-buy,.commercial-story .commercial-enroll-buy::after,.commercial-story .commercial-detail-content,.story-entered [data-story-item] { animation:none!important; }
    .commercial-story .commercial-readiness-panel,.commercial-story .commercial-readiness-panel::before,.commercial-story .commercial-detail-toggle,.commercial-story .commercial-story-textlink,.commercial-story .commercial-story-whatsapp,.commercial-story .commercial-story-share { transition:none!important; }
    .commercial-story .commercial-readiness-panel:hover,.commercial-story .commercial-readiness-panel:hover::before,.commercial-story .commercial-enroll-buy:hover,.commercial-story .commercial-story-textlink:hover,.commercial-story .commercial-story-whatsapp:hover,.commercial-story .commercial-story-share:hover { transform:none!important; }
}
/* Related courses only on the commercial variant; classic pages keep their styles. */
.course-detail-page .commercial-related-section { padding:clamp(3.4rem,6.5vw,6rem) 0; background:linear-gradient(145deg,rgba(var(--course-accent-rgb),.055),#fff 65%); }
.course-detail-page .commercial-related-section .course-related-head h2 { font-size:clamp(2rem,3.5vw,3.3rem); font-weight:850; letter-spacing:-.045em; }
.commercial-related-section .course-related-card { position:relative; overflow:hidden; transition:transform .25s,box-shadow .25s; }
.commercial-related-section .course-related-card::before { content:""; position:absolute; z-index:2; left:18%; right:18%; top:0; height:3px; border-radius:0 0 6px 6px; background:linear-gradient(90deg,transparent,var(--course-accent),transparent); opacity:.65; }
@media(hover:hover) and (pointer:fine) { .commercial-related-section .course-related-card:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(var(--course-accent-rgb),.15); } }
@media(prefers-reduced-motion:reduce) { .commercial-related-section .course-related-card,.commercial-related-section .course-related-card:hover { transform:none!important; transition:none!important; } }

/* Match the home typography without changing the saved TinyMCE HTML. */
.commercial-story .commercial-editorial-content {
    font-family:inherit; font-size:1rem; line-height:1.8; color:var(--course-muted);
    max-width:none; margin:0; padding:0 0 0 clamp(1rem,3vw,2.5rem);
}
.commercial-story .commercial-editorial-content p { line-height:1.8; text-align:start; }
.commercial-story .commercial-editorial-content h2,
.commercial-story .commercial-editorial-content h3,
.commercial-story .commercial-editorial-content h4 { color:var(--course-ink); font-family:inherit; }
@media(max-width:991.98px) { .commercial-story .commercial-editorial-content { padding:0; } }


/* Closing chapter: conversion-focused, with a single price and a refined luminous frame. */
.commercial-story .commercial-enrollment {
    padding:clamp(3.5rem,7.5vw,7rem) 0;
    background:radial-gradient(ellipse at 80% 45%,rgba(var(--course-accent-rgb),.48),transparent 54%),linear-gradient(135deg,var(--story-dark) 15%,var(--story-mid) 65%,var(--story-dark));
}
.commercial-enrollment .commercial-enroll-orbits { opacity:.38; }
.commercial-enroll-signal { stroke-dasharray:80 920; stroke-dashoffset:1000; animation:enrollSignal 6s linear infinite; animation-play-state:paused; }
@keyframes enrollSignal { to { stroke-dashoffset:0; } }
.commercial-enrollment.is-story-visible .commercial-enroll-signal { animation-play-state:running; }
.commercial-enrollment .commercial-enroll-layout { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:clamp(2rem,5vw,5rem); }
.commercial-enrollment .commercial-enroll-layout:not(:has(.commercial-enroll-stage)) { grid-template-columns:minmax(0,1fr); }
.course-detail-page .commercial-enroll-copy h2 { font-size:clamp(2.5rem,4.65vw,4.65rem); line-height:1.04; max-width:760px; }
.commercial-enroll-copy h2 > span { color:var(--story-neon); }
.commercial-enroll-copy > p { max-width:650px; }
.commercial-enroll-outcomes { margin-top:1.65rem; }
.commercial-enroll-outcomes-label { display:block; color:var(--story-neon); font-size:.73rem; text-transform:uppercase; letter-spacing:.075em; font-weight:800; margin-bottom:.7rem; }
.commercial-enroll-outcomes ul { list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.commercial-enroll-outcomes li { display:flex; align-items:flex-start; gap:.6rem; color:#f5efff; font-size:.94rem; line-height:1.6; }
.commercial-enroll-outcomes li i { color:var(--story-neon); margin-top:.25rem; flex-shrink:0; }
.commercial-enroll-outcomes li span { min-width:0; overflow-wrap:anywhere; }
.commercial-enroll-copy .commercial-enroll-actions { gap:.65rem 1.15rem; margin-top:1.8rem; }
.commercial-enroll-actions .commercial-enroll-secondary { display:inline-flex; align-items:center; gap:.45rem; width:auto; padding:.45rem 0; background:transparent; border:0; border-radius:4px; text-decoration:none; color:var(--story-muted-light); font-size:.82rem; font-weight:650; cursor:pointer; transition:color .2s; }
.commercial-enroll-actions .commercial-enroll-secondary:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.commercial-enroll-actions .commercial-enroll-whatsapp { color:#b7f7cf; }
.commercial-enroll-stage { position:relative; isolation:isolate; min-width:0; padding:.6rem; }
.commercial-enroll-halo { position:absolute; inset:-2rem -1rem; z-index:-1; pointer-events:none; border-radius:50%; background:radial-gradient(ellipse,rgba(var(--course-accent-rgb),.55),transparent 68%); animation:enrollHaloBreathe 5s ease-in-out infinite; animation-play-state:paused; }
@keyframes enrollHaloBreathe { 0%,100% { opacity:.55; transform:scale(.97); } 50% { opacity:1; transform:scale(1.04); } }
.commercial-enrollment.is-story-visible .commercial-enroll-halo { animation-play-state:running; }
.commercial-enrollment .commercial-enroll-panel { position:relative; isolation:isolate; width:100%; max-width:540px; margin:auto; align-items:stretch; text-align:left; gap:1.2rem; padding:clamp(1.2rem,2.7vw,2.15rem); border-radius:25px; border:1px solid #fff; background:linear-gradient(155deg,#fff 55%,var(--story-light)); box-shadow:0 24px 65px #0005,0 0 40px rgba(var(--course-accent-rgb),.23); transition:transform .3s ease,box-shadow .3s ease; }
.commercial-enrollment .commercial-enroll-panel::before { content:""; position:absolute; inset:-7px; border:1px solid var(--story-neon); border-radius:31px; opacity:.44; pointer-events:none; }
.commercial-enrollment .commercial-enroll-panel::after { content:""; position:absolute; top:-1px; left:16%; right:16%; height:3px; border-radius:3px; background:linear-gradient(90deg,transparent,var(--story-bright),transparent); pointer-events:none; }
.commercial-enroll-course { display:flex; align-items:center; gap:.9rem; padding-bottom:1.1rem; border-bottom:1px solid var(--story-border); }
.commercial-enroll-course > img { width:90px; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:9px; flex-shrink:0; }
.commercial-enroll-course > div { min-width:0; }
.commercial-enroll-course strong { display:block; font-size:.93rem; line-height:1.4; color:var(--course-ink); margin-top:.35rem; overflow-wrap:anywhere; }
.commercial-enrollment .commercial-enroll-platform { font-size:.68rem; letter-spacing:.025em; line-height:1.4; }
.commercial-enroll-price-label { display:block; font-size:.75rem; font-weight:700; color:var(--course-muted); margin-bottom:.4rem; }
.commercial-enroll-price-row { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.7rem; }
.commercial-enrollment .commercial-enroll-price { font-size:clamp(2.2rem,4.2vw,3.5rem); line-height:1.08; }
.commercial-enroll-price small { font-size:.75rem; letter-spacing:0; color:var(--course-muted); font-weight:700; }
.commercial-enroll-offer { display:inline-flex; align-items:center; gap:.35rem; border:1px solid var(--story-border); white-space:nowrap; }
.commercial-enroll-facts { display:flex; flex-wrap:wrap; gap:.5rem; padding:.75rem 0 0; border-top:1px solid var(--story-border); }
.commercial-enroll-facts span { display:inline-flex; align-items:center; gap:.4rem; font-size:.73rem; font-weight:650; color:var(--course-muted); background:#fff; border:1px solid var(--story-border); padding:.4rem .55rem; border-radius:8px; }
.commercial-enroll-facts i { color:var(--story-accent); }
.commercial-story .commercial-enrollment .commercial-enroll-buy { isolation:isolate; min-height:58px; margin:0; border:1px solid #ffffff28; gap:.55rem; justify-content:center; font-weight:800; }
.commercial-enrollment .commercial-enroll-buy::after { inset:-4px; filter:blur(9px); opacity:.4; }
.commercial-enrollment .commercial-enroll-buy::before { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg,transparent 32%,#ffffff30 48%,transparent 64%); background-size:250% 100%; background-position:150% 0; animation:commercialButtonSweep 5s ease-in-out infinite; animation-play-state:paused; }
.commercial-enrollment.is-story-visible .commercial-enroll-buy::before { animation-play-state:running; }
.commercial-enroll-buy > i:last-child { transition:transform .2s; }
.commercial-enroll-buy:hover > i:last-child { transform:translateX(3px); }
.commercial-enrollment .commercial-enroll-trust { text-align:center; margin:0; font-size:.75rem; }
.commercial-enroll-brandline { display:flex; align-items:center; justify-content:center; gap:.5rem; color:var(--story-muted-light); font-size:.72rem; margin:1.25rem auto 0; max-width:400px; }
.commercial-enroll-brandline > span { flex:1; height:1px; background:linear-gradient(90deg,transparent,#ffffff45); }
.commercial-enroll-brandline > span:last-child { transform:rotate(180deg); }
.commercial-enroll-brandline i { color:var(--story-neon); }
@media(hover:hover) and (pointer:fine) {
    .commercial-enrollment .commercial-enroll-panel:hover { transform:translateY(-4px); box-shadow:0 28px 70px #0006,0 0 50px rgba(var(--course-accent-rgb),.34); }
}
@media(max-width:991.98px) {
    .commercial-enrollment .commercial-enroll-layout { grid-template-columns:minmax(0,1fr); gap:2rem; }
    .commercial-enroll-stage { max-width:560px; width:100%; margin:auto; }
    .commercial-enrollment .commercial-enroll-orbits { opacity:.22; }
}
@media(max-width:575.98px) {
    .commercial-story .commercial-enrollment { padding:3rem 0; }
    .commercial-enroll-stage { padding:.35rem; }
    .commercial-enrollment .commercial-enroll-panel { border-radius:19px; gap:1rem; }
    .commercial-enrollment .commercial-enroll-panel::before { inset:-4px; border-radius:23px; }
    .commercial-enroll-course > img { width:74px; }
    .commercial-enroll-course strong { font-size:.84rem; }
    .commercial-enroll-actions .commercial-enroll-secondary { font-size:.79rem; }
    .commercial-enroll-signal { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-enroll-signal,.commercial-enroll-halo,.commercial-enrollment .commercial-enroll-buy::before { animation:none!important; }
    .commercial-enrollment .commercial-enroll-panel,.commercial-enrollment .commercial-enroll-buy > i:last-child { transition:none!important; transform:none!important; }
}


/* Instructor experience, integrated into the biography rather than a separate chapter. */
.commercial-mentor-experience { margin-top:1.5rem; padding-top:1.1rem; border-top:1px solid var(--story-border); }
.commercial-mentor-experience-label { display:flex; align-items:center; gap:.5rem; font-size:.72rem; font-weight:800; letter-spacing:.055em; text-transform:uppercase; color:var(--story-accent); margin-bottom:.8rem; }
.commercial-mentor-stats { display:flex; flex-wrap:wrap; align-items:stretch; gap:.65rem; }
.commercial-mentor-stat { position:relative; flex:1 1 125px; min-width:0; display:flex; flex-direction:column; align-items:flex-start; padding:.85rem .9rem; border-radius:12px; border:1px solid var(--story-border); background:#ffffffd9; transition:transform .25s ease,box-shadow .25s ease; }
.commercial-mentor-stat:nth-child(2n) { background:linear-gradient(135deg,#fff,var(--story-light)); }
.commercial-mentor-stat-icon { color:var(--story-accent); font-size:.95rem; margin-bottom:.5rem; }
.commercial-mentor-stat-value { display:block; color:var(--story-accent); font-size:clamp(1.65rem,2.6vw,2.4rem); line-height:1; font-weight:850; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.commercial-mentor-stat-label { display:block; font-size:.73rem; line-height:1.35; font-weight:700; color:var(--course-ink); margin-top:.45rem; overflow-wrap:anywhere; }
.commercial-mentor-stat-detail { display:block; font-size:.75rem; color:var(--course-muted); margin-top:.65rem; }
@media(hover:hover) and (pointer:fine) { .commercial-mentor-stat:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(var(--course-accent-rgb),.1); } }
@media(max-width:479.98px) {
    .commercial-mentor-stats { gap:.45rem; }
    .commercial-mentor-stat { flex-basis:calc((100% - .9rem)/3); padding:.65rem .5rem; }
    .commercial-mentor-stat-value { font-size:1.5rem; }
    .commercial-mentor-stat-label { font-size:.66rem; }
}
@media(prefers-reduced-motion:reduce) { .commercial-mentor-stat,.commercial-mentor-stat:hover { transition:none!important; transform:none!important; } }


/* Compact instructor portfolio: the original visual plus two light logo ribbons. */
.commercial-mentor-side { min-width:0; width:100%; }
.commercial-mentor-side .commercial-mentor-visual { margin:0 auto; }
.commercial-mentor-stat-rating .commercial-mentor-stat-icon { color:#b87900; }
.commercial-mentor-stat-value { white-space:nowrap; font-size:clamp(1.55rem,2.45vw,2.4rem); }
.commercial-mentor-tech { margin:1.2rem 1rem 0; min-width:0; }
.commercial-mentor-tech-heading { display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:.75rem; }
.course-detail-page .commercial-mentor-tech-heading h3 { display:flex; align-items:center; gap:.5rem; margin:0 0 .25rem; font-size:.83rem; font-weight:800; color:var(--story-accent); letter-spacing:.035em; text-transform:uppercase; }
.commercial-mentor-tech-heading p { margin:0; color:var(--course-muted); font-size:.77rem; line-height:1.5; }
.commercial-mentor-tech-toggle { display:inline-flex; align-items:center; gap:.35rem; flex-shrink:0; border:1px solid var(--story-border); border-radius:8px; background:#ffffffb8; color:var(--story-accent); font-size:.7rem; font-weight:700; padding:.45rem .65rem; cursor:pointer; }
.commercial-mentor-tech-toggle[hidden] { display:none!important; }
.commercial-mentor-tech-toggle:hover { background:#fff; }
.commercial-mentor-tech-rows { display:grid; gap:.35rem; min-width:0; }
.commercial-mentor-tech-row { min-width:0; overflow-x:auto; padding:.4rem .15rem; scrollbar-width:thin; scrollbar-color:var(--story-accent) transparent; }
.commercial-mentor-tech-row:focus-visible { outline:2px solid var(--story-accent); outline-offset:-2px; border-radius:8px; }
.commercial-mentor-tech-track { display:flex; width:max-content; }
.commercial-mentor-tech-group { display:flex; flex:0 0 auto; align-items:flex-start; gap:.65rem; list-style:none; margin:0; padding:0 .65rem 0 0; }
.commercial-mentor-tech-item { display:flex; flex-direction:column; align-items:center; gap:.35rem; flex:0 0 76px; width:76px; text-align:center; }
.commercial-mentor-tech-logo { width:48px; height:48px; display:grid; place-items:center; padding:9px; background:#fff; border:1px solid var(--story-border); border-radius:12px; box-shadow:0 5px 12px rgba(35,26,54,.045); transition:transform .2s,border-color .2s,box-shadow .2s; }
.commercial-mentor-tech-logo .technology-logo { display:block; width:100%; height:100%; object-fit:contain; }
.commercial-mentor-tech-name { color:var(--course-muted); font-size:.65rem; font-weight:650; line-height:1.25; }
.commercial-mentor-tech-row.is-marquee { overflow:hidden; mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.commercial-mentor-tech-row.is-marquee .commercial-mentor-tech-track { animation:mentorTechRibbon var(--mentor-ribbon-duration,26s) linear infinite; animation-play-state:paused; }
.commercial-mentor-tech-row.is-reverse .commercial-mentor-tech-track { animation-direction:reverse; }
.commercial-mentor-tech.is-visible .commercial-mentor-tech-row.is-marquee .commercial-mentor-tech-track { animation-play-state:running; }
.commercial-mentor-tech-row:focus-within .commercial-mentor-tech-track { animation-play-state:paused!important; }
@keyframes mentorTechRibbon { to { transform:translateX(calc(-1 * var(--mentor-ribbon-distance,0px))); } }
@media(hover:hover) and (pointer:fine) {
    .commercial-mentor-tech-row:hover .commercial-mentor-tech-track { animation-play-state:paused!important; }
    .commercial-mentor-tech-item:hover .commercial-mentor-tech-logo { transform:translateY(-3px); border-color:var(--story-accent); box-shadow:0 6px 18px rgba(var(--course-accent-rgb),.16); }
}
@media(max-width:991.98px) { .commercial-mentor-side { max-width:580px; margin:auto; } }
@media(max-width:575.98px) {
    .commercial-mentor-tech { margin:.95rem .35rem 0; }
    .commercial-mentor-tech-heading { flex-wrap:wrap; }
    .commercial-mentor-tech-item { flex-basis:68px; width:68px; }
    .commercial-mentor-tech-logo { width:43px; height:43px; padding:7px; }
}
@media(max-width:479.98px) { .commercial-mentor-stat-value { font-size:clamp(1.2rem,5.2vw,1.5rem); } }
@media(prefers-reduced-motion:reduce) {
    .commercial-mentor-tech-row .commercial-mentor-tech-track { animation:none!important; transform:none!important; }
    .commercial-mentor-tech-row.is-marquee { overflow-x:auto; mask-image:none; }
    .commercial-mentor-tech-group[data-mentor-ribbon-copy] { display:none!important; }
    .commercial-mentor-tech-logo,.commercial-mentor-tech-item:hover .commercial-mentor-tech-logo { transition:none!important; transform:none!important; }
}


/* Optional project demonstration: an inviting preview, not an embedded third-party app. */
.commercial-demo-experience {
    position:relative; isolation:isolate; overflow:hidden; display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:center;
    gap:clamp(1.5rem,4vw,3.5rem); margin-top:clamp(1.8rem,4vw,3.2rem);
    padding:clamp(1.5rem,4vw,3.5rem); border-radius:25px; color:#fff;
    background:radial-gradient(ellipse at 78% 45%,rgba(var(--course-accent-rgb),.38),transparent 65%),linear-gradient(140deg,var(--story-dark),var(--story-mid),var(--story-dark));
    box-shadow:0 20px 48px rgba(35,26,54,.14); scroll-margin-top:100px;
}
.commercial-demo-circuit,.commercial-contact-circuit { position:absolute; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; color:var(--story-neon); }
.commercial-demo-circuit { opacity:.68; }
.commercial-demo-signal,.commercial-contact-signal { stroke-dasharray:75 925; stroke-dashoffset:1000; animation:courseSupportSignal 6s linear infinite; animation-play-state:paused; }
@keyframes courseSupportSignal { to { stroke-dashoffset:0; } }
.commercial-demo-experience.is-story-visible .commercial-demo-signal,.commercial-contact.is-story-visible .commercial-contact-signal { animation-play-state:running; }
.commercial-demo-copy { min-width:0; }
.commercial-demo-kicker { display:inline-flex; align-items:center; gap:.5rem; color:var(--story-neon); border:1px solid #ffffff30; background:#ffffff10; border-radius:999px; padding:.45rem .75rem; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.course-detail-page .commercial-demo-copy h3 { color:#fff; font-size:clamp(1.8rem,3.6vw,3.2rem); font-weight:850; line-height:1.1; letter-spacing:-.045em; margin:1rem 0; text-wrap:balance; }
.commercial-demo-copy h3 span { display:block; color:var(--story-neon); }
.commercial-demo-copy p { color:var(--story-muted-light); font-size:1rem; line-height:1.7; margin:0; max-width:510px; }
.commercial-demo-launch { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; color:var(--story-dark); background:#fff; border:1px solid #fff; border-radius:12px; padding:.9rem 1.1rem; font-weight:800; text-decoration:none; font-size:.93rem; margin-top:1.5rem; box-shadow:0 8px 28px rgba(0,0,0,.15),0 0 24px rgba(var(--course-accent-rgb),.25); transition:transform .25s,box-shadow .25s; }
.commercial-demo-launch i { color:var(--story-accent); }
.commercial-demo-launch:hover { color:var(--story-dark); transform:translateY(-3px); box-shadow:0 12px 32px #0004,0 0 30px rgba(var(--course-accent-rgb),.5); }
.commercial-demo-launch:focus-visible { outline:3px solid var(--story-neon)!important; outline-offset:4px; }
.commercial-demo-hint { display:flex; align-items:flex-start; gap:.45rem; color:var(--story-muted-light); font-size:.73rem; margin-top:.85rem; line-height:1.5; }
.commercial-demo-hint i { margin-top:.2rem; }
.commercial-demo-visual { min-width:0; position:relative; padding:.45rem .45rem 1.3rem; }
.commercial-demo-browser { border-radius:18px; overflow:hidden; background:#fff; border:1px solid #ffffff4d; box-shadow:0 18px 45px #0005; transform:rotate(-1deg); transition:transform .3s ease; }
.commercial-demo-browser-bar { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.8rem .85rem; background:#f7f4fa; color:#6c5f7d; font-size:.72rem; }
.commercial-demo-browser-bar > span:nth-child(2) { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:#fff; border:1px solid var(--story-border); padding:.36rem .55rem; border-radius:6px; }
.commercial-demo-browser-bar i { color:var(--story-accent); }
.commercial-demo-browser-dots { display:flex; gap:4px; flex-shrink:0; }
.commercial-demo-browser-dots i { width:7px; height:7px; border-radius:50%; background:#d3c9df; }
.commercial-demo-browser-dots i:first-child { background:var(--story-bright); }
.commercial-demo-screen { aspect-ratio:16/10; background:#f4f1f8; overflow:hidden; }
.commercial-demo-screen img { display:block; width:100%; height:100%; object-fit:contain; }
.commercial-demo-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.3rem; color:var(--story-accent); background:radial-gradient(ellipse at 50% 45%,var(--story-light),#fff); padding:1rem; }
.commercial-demo-placeholder svg { width:90%; height:auto; min-height:0; max-height:80%; }
.commercial-demo-placeholder span { font-size:.78rem; font-weight:750; text-align:center; }
.commercial-demo-preview-label { position:absolute; right:0; bottom:0; display:inline-flex; align-items:center; gap:.45rem; padding:.65rem .85rem; color:var(--story-accent); background:#fff; border:1px solid var(--story-border); border-radius:9px; box-shadow:0 8px 24px #0003; font-size:.73rem; font-weight:750; }
/* Dedicated human contact chapter: helpful, contextual, without a second purchase form. */
.commercial-story .commercial-contact { background:radial-gradient(ellipse at 82% 42%,rgba(var(--course-accent-rgb),.12),transparent 56%),linear-gradient(125deg,#fff 20%,var(--story-light)); }
.commercial-contact-circuit { color:var(--story-accent); opacity:.55; }
.commercial-contact-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(2rem,6vw,5.5rem); align-items:center; }
.course-detail-page .commercial-contact-copy h2 { max-width:690px; }
.commercial-contact-topics { list-style:none; margin:1.45rem 0 0; padding:0; display:grid; gap:.75rem; }
.commercial-contact-topics li { display:flex; align-items:flex-start; gap:.6rem; font-size:.94rem; line-height:1.5; font-weight:650; color:var(--course-ink); }
.commercial-contact-topics i { flex-shrink:0; color:var(--story-accent); margin-top:.2rem; }
.commercial-contact-faq { display:inline-flex; align-items:center; gap:.5rem; color:var(--story-accent); font-size:.86rem; font-weight:700; text-decoration:none; margin-top:1.4rem; }
.commercial-contact-faq:hover { color:var(--story-accent); text-decoration:underline; }
.commercial-contact-stage { position:relative; isolation:isolate; min-width:0; padding:1rem .65rem; }
.commercial-contact-orbit { position:absolute; z-index:-1; top:50%; left:50%; width:min(100%,450px); aspect-ratio:1; border:1px dashed rgba(var(--course-accent-rgb),.28); border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 18px rgba(var(--course-accent-rgb),.04),0 0 0 38px rgba(var(--course-accent-rgb),.025); pointer-events:none; }
.commercial-contact-orbit::after { content:""; position:absolute; left:50%; top:0; width:9px; height:9px; border-radius:50%; background:var(--story-bright); box-shadow:0 0 15px var(--story-bright); }
.commercial-contact-orbit { animation:contactOrbit 24s linear infinite; animation-play-state:paused; }
@keyframes contactOrbit { to { transform:translate(-50%,-50%) rotate(360deg); } }
.commercial-contact.is-story-visible .commercial-contact-orbit { animation-play-state:running; }
.commercial-contact-card { position:relative; padding:clamp(1.2rem,3vw,2rem); max-width:530px; margin:auto; border:1px solid var(--story-border); border-radius:23px; background:#fff; box-shadow:0 20px 54px rgba(35,26,54,.11); }
.commercial-contact-channel { display:flex; align-items:center; gap:.8rem; padding-bottom:1rem; border-bottom:1px solid var(--story-border); }
.commercial-contact-avatar { display:grid; place-items:center; width:54px; height:54px; flex-shrink:0; background:#e7f9ee; border:1px solid #b7e7c9; border-radius:15px; color:#117c46; font-size:1.8rem; }
.commercial-contact-channel strong,.commercial-contact-channel div > span { display:block; }
.commercial-contact-channel strong { color:var(--course-ink); font-size:1.14rem; font-weight:800; line-height:1.3; }
.commercial-contact-channel div > span { color:var(--course-muted); font-size:.77rem; margin-top:.22rem; }
.commercial-contact-message { margin:1.2rem 0; padding:1rem; background:#f3faf5; border:1px solid #dceee2; border-radius:3px 14px 14px 14px; overflow-wrap:anywhere; }
.commercial-contact-message-label { color:#17643e; display:flex; align-items:center; gap:.45rem; font-weight:750; font-size:.72rem; }
.commercial-contact-message p { color:#294b37; margin:.6rem 0; line-height:1.65; font-size:.9rem; }
.commercial-contact-message small { display:block; color:#4c6f5c; font-size:.72rem; line-height:1.5; }
.commercial-contact-button { display:flex; width:100%; align-items:center; justify-content:center; gap:.65rem; background:#117c46; color:#fff; border:1px solid #117c46; border-radius:12px; padding:.95rem 1rem; font-size:.93rem; font-weight:800; text-decoration:none; text-align:center; box-shadow:0 9px 23px #117c462c; transition:transform .25s,background .25s,box-shadow .25s; }
.commercial-contact-button span { min-width:0; overflow-wrap:anywhere; }
.commercial-contact-button i:first-child { font-size:1.2rem; }
.commercial-contact-button:hover { color:#fff; background:#0b6538; transform:translateY(-2px); box-shadow:0 12px 28px #117c4644; }
.commercial-contact-button:focus-visible { outline:3px solid #117c46!important; outline-offset:3px; }
.commercial-contact-note { text-align:center; margin:.9rem 0 0; color:var(--course-muted); font-size:.73rem; line-height:1.5; }
.commercial-contact-note i { color:#117c46; }
@media(hover:hover) and (pointer:fine) { .commercial-demo-browser:hover { transform:rotate(0) translateY(-3px); } }
@media(max-width:991.98px) {
    .commercial-demo-experience,.commercial-contact-layout { grid-template-columns:minmax(0,1fr); gap:1.7rem; }
    .commercial-demo-visual,.commercial-contact-stage { max-width:600px; width:100%; margin:auto; }
}
@media(max-width:575.98px) {
    .commercial-demo-experience { padding:1.3rem; border-radius:18px; gap:1.3rem; }
    .commercial-demo-launch { width:100%; }
    .commercial-demo-browser { transform:none; border-radius:12px; }
    .commercial-demo-browser-bar { padding:.55rem .6rem; font-size:.65rem; }
    .commercial-demo-visual { padding:.2rem .2rem 1.2rem; }
    .commercial-demo-preview-label { font-size:.65rem; padding:.5rem .6rem; }
    .commercial-contact-stage { padding:.35rem; }
    .commercial-contact-card { border-radius:18px; }
    .commercial-contact-orbit { width:85%; }
    .commercial-demo-signal,.commercial-contact-signal { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    .commercial-demo-signal,.commercial-contact-signal,.commercial-contact-orbit { animation:none!important; }
    .commercial-demo-launch,.commercial-demo-browser,.commercial-contact-button { transition:none!important; }
    .commercial-demo-launch:hover,.commercial-demo-browser,.commercial-demo-browser:hover,.commercial-contact-button:hover { transform:none!important; }
}


/* Quick navigation: one compact sticky row, below the existing site navbar. */
.course-detail-page:has(.commercial-story) { overflow-x:clip; overflow-y:visible; }
.commercial-story { --quick-header-height:76px; --quick-nav-height:58px; --quick-anchor-offset:calc(var(--quick-header-height) + var(--quick-nav-height) + 18px); }
.commercial-story [id^="course-"] { scroll-margin-top:var(--quick-anchor-offset); }
.commercial-quick-nav { position:sticky; top:var(--quick-header-height); z-index:20; background:#fffffffa; border-block:1px solid var(--story-border); box-shadow:0 8px 25px #2115310b; }
.commercial-quick-inner { display:flex; align-items:center; gap:1rem; min-width:0; padding-block:.55rem; }
.commercial-quick-label { display:flex; align-items:center; gap:.45rem; flex-shrink:0; font-size:.75rem; font-weight:800; color:var(--story-accent); }
.commercial-quick-scroll { display:flex; align-items:center; gap:.3rem; min-width:0; flex:1; overflow-x:auto; scrollbar-width:thin; scrollbar-color:var(--story-border) transparent; }
.commercial-quick-scroll a { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; position:relative; white-space:nowrap; font-size:.78rem; font-weight:700; color:var(--course-muted); text-decoration:none; border-radius:8px; padding:.65rem .7rem; transition:background .2s,color .2s; }
.commercial-quick-scroll a:hover,.commercial-quick-scroll a[aria-current="location"] { color:var(--story-accent); background:var(--story-light); }
.commercial-quick-scroll a[aria-current="location"]::after { content:""; position:absolute; left:18%; right:18%; bottom:2px; height:2px; border-radius:2px; background:var(--story-bright); box-shadow:0 0 7px rgba(var(--course-accent-rgb),.35); }
.commercial-quick-buy { display:inline-flex; align-items:center; gap:.45rem; flex-shrink:0; color:#fff; background:var(--story-button); border:1px solid transparent; padding:.65rem .85rem; border-radius:9px; font-size:.78rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.commercial-quick-buy:hover,.commercial-quick-buy[aria-current="location"] { color:#fff; box-shadow:0 5px 16px rgba(var(--course-accent-rgb),.24); }
.commercial-quick-nav a:focus-visible { outline:2px solid var(--story-accent); outline-offset:-2px; }
/* Testimonials: native, swipeable snap carousel; no fabricated rating or autoplay. */
.commercial-story .commercial-testimonials { background:radial-gradient(ellipse at 20% 0%,rgba(var(--course-accent-rgb),.055),transparent 52%),#fff; }
.commercial-reviews { min-width:0; }
.commercial-review-controls { display:flex; justify-content:flex-end; gap:.5rem; margin-bottom:.7rem; }
.commercial-review-controls[hidden] { display:none!important; }
.commercial-review-controls button { width:41px; height:41px; display:grid; place-items:center; border:1px solid var(--story-border); border-radius:11px; background:#fff; color:var(--story-accent); cursor:pointer; transition:background .2s,transform .2s; }
.commercial-review-controls button:hover:not(:disabled) { background:var(--story-light); transform:translateY(-2px); }
.commercial-review-controls button:disabled { opacity:.35; cursor:default; }
.commercial-review-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 2rem)/3); gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:.3rem .15rem .85rem; scrollbar-width:thin; scrollbar-color:var(--story-border) transparent; align-items:stretch; }
.commercial-review-track:focus-visible { outline:2px solid var(--story-accent); outline-offset:3px; border-radius:12px; }
.commercial-review-track:has(> :only-child) { grid-auto-columns:min(100%,680px); justify-content:center; }
.commercial-review-track:has(> :nth-child(2):last-child) { grid-auto-columns:calc((100% - 1rem)/2); }
.commercial-review-card { display:flex; flex-direction:column; min-width:0; scroll-snap-align:start; position:relative; overflow:hidden; padding:clamp(1.15rem,2.5vw,1.8rem); background:linear-gradient(145deg,#fff,var(--story-light)); border:1px solid var(--story-border); border-radius:20px; box-shadow:0 8px 20px #21153108; transition:border-color .25s,box-shadow .25s; }
.commercial-review-card::before { content:""; position:absolute; top:0; left:10%; right:10%; height:2px; background:linear-gradient(90deg,transparent,var(--story-bright),transparent); opacity:.6; }
.commercial-review-top { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:1.1rem; }
.commercial-review-rating { display:inline-flex; flex-wrap:wrap; align-items:center; gap:.45rem; color:var(--course-muted); font-size:.75rem; font-weight:700; }
.commercial-review-stars { color:#b87900; display:inline-flex; gap:.16rem; font-size:.9rem; }
.commercial-review-platform { color:var(--story-accent); font-size:.77rem; font-weight:750; }
.commercial-review-quote { color:var(--story-accent); opacity:.33; font-size:1.6rem; }
.commercial-review-card blockquote { margin:0 0 1.3rem; padding:0; border:0; background:none; color:var(--course-ink); font-size:.94rem; font-style:normal; line-height:1.75; white-space:pre-line; overflow-wrap:anywhere; flex:1; }
.commercial-review-author { display:flex; align-items:center; gap:.75rem; padding-top:1rem; border-top:1px solid var(--story-border); background:none; color:var(--course-ink); }
.commercial-review-avatar { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; background:var(--story-light); border:1px solid var(--story-border); color:var(--story-accent); border-radius:50%; font-weight:800; }
.commercial-review-author div { min-width:0; }
.commercial-review-author strong,.commercial-review-author div > span { display:block; overflow-wrap:anywhere; }
.commercial-review-author strong { font-size:.85rem; font-weight:800; }
.commercial-review-author div > span { color:var(--course-muted); font-size:.72rem; margin-top:.25rem; }
/* Learning path invitation, separate from the final purchase chapter. */
.commercial-story .commercial-learning-path { padding:clamp(2.25rem,4.5vw,4rem) 0; }
.commercial-path-panel { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:center; gap:clamp(1.5rem,4vw,3rem); position:relative; isolation:isolate; overflow:hidden; padding:clamp(1.5rem,4vw,3.5rem); border-radius:24px; background:radial-gradient(ellipse at 80% 50%,rgba(var(--course-accent-rgb),.4),transparent 65%),linear-gradient(145deg,var(--story-dark),var(--story-mid)); box-shadow:0 18px 40px rgba(35,26,54,.14); color:white; }
.commercial-path-panel .commercial-story-kicker { background:#ffffff10; border-color:#ffffff30; color:var(--story-neon); }
.course-detail-page .commercial-path-copy h2 { color:#fff; font-size:clamp(2rem,3.8vw,3.5rem); }
.commercial-path-copy h2 > span { color:var(--story-neon); }
.commercial-path-copy p { color:var(--story-muted-light); }
.commercial-path-link { display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.55rem; background:#fff; color:var(--story-accent); padding:.85rem 1rem; border-radius:11px; margin-top:1.4rem; font-size:.88rem; font-weight:800; text-decoration:none; transition:transform .25s,box-shadow .25s; }
.commercial-path-link:hover { color:var(--story-accent); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.22); }
.commercial-path-link:focus-visible { outline:3px solid var(--story-neon)!important; outline-offset:4px; }
.commercial-path-art { min-width:0; color:var(--story-neon); text-align:center; }
.commercial-path-art svg { display:block; width:100%; max-width:440px; height:auto; margin:auto; overflow:visible; }
.commercial-path-node { fill:var(--story-mid); }
.commercial-path-signal { stroke-dasharray:180 820; stroke-dashoffset:1000; filter:drop-shadow(0 0 5px currentColor); animation:courseSupportSignal 5s linear infinite; animation-play-state:paused; }
.commercial-learning-path.is-story-visible .commercial-path-signal { animation-play-state:running; }
.commercial-path-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.6rem; color:var(--story-muted-light); font-size:.77rem; font-weight:750; }
.commercial-path-caption i { color:var(--story-neon); font-size:.65rem; }
@media(hover:hover) and (pointer:fine) { .commercial-review-card:hover { border-color:rgba(var(--course-accent-rgb),.38); box-shadow:0 12px 25px rgba(var(--course-accent-rgb),.1); } }
@media(max-width:991.98px) { .commercial-quick-label { display:none; } .commercial-quick-inner { gap:.5rem; } .commercial-review-track { grid-auto-columns:calc((100% - 1rem)/2); } .commercial-path-panel { grid-template-columns:minmax(0,1fr); } .commercial-path-art svg { max-width:330px; } }
@media(max-width:575.98px) {
    .commercial-quick-inner { padding-block:.35rem; gap:.4rem; }
    .commercial-quick-scroll a { font-size:.72rem; padding:.55rem .55rem; }
    .commercial-quick-buy { font-size:.72rem; padding:.55rem .6rem; }
    .commercial-quick-buy > i:first-child { display:none; }
    .commercial-review-track,.commercial-review-track:has(> :nth-child(2):last-child) { grid-auto-columns: min(88%,360px); gap:.75rem; }
    .commercial-review-track:has(> :only-child) { grid-auto-columns:100%; }
    .commercial-path-panel { border-radius:18px; padding:1.35rem; }
    .commercial-path-link { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .commercial-path-signal { animation:none!important; stroke-dashoffset:0; } .commercial-quick-scroll a,.commercial-review-controls button,.commercial-review-card,.commercial-path-link { transition:none!important; } .commercial-review-controls button:hover,.commercial-path-link:hover { transform:none!important; } }

/* Demo carousel retains the browser's fixed aspect ratio and original image fit. */
.commercial-demo-screen[data-demo-carousel] { position:relative; }
.commercial-demo-carousel-controls { position:absolute; z-index:2; left:12px; bottom:12px; display:flex; align-items:center; gap:8px; padding:5px 6px 5px 12px; border-radius:999px; background:#191322e8; border:1px solid #ffffff38; color:#fff; box-shadow:0 4px 14px #0003; }
.commercial-demo-carousel-controls[hidden] { display:none!important; }
.commercial-demo-carousel-count { font-size:.74rem; font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; }
.commercial-demo-carousel-toggle { display:grid; place-items:center; width:34px; height:34px; border:1px solid #ffffff40; border-radius:50%; background:#ffffff16; color:#fff; font-size:.75rem; cursor:pointer; }
.commercial-demo-carousel-toggle:hover { background:#ffffff35; }
.commercial-demo-carousel-toggle:focus-visible { outline:2px solid #fff; outline-offset:2px; }
@media(max-width:575.98px) { .commercial-demo-carousel-controls { left:8px; bottom:8px; } .commercial-demo-carousel-toggle { width:32px; height:32px; } }

/* Mobile quick navigation: one readable native selector, no clipped horizontal labels. */
.commercial-quick-mobile { display:none; }
@media(max-width:767px) {
    .commercial-quick-nav.is-mobile-ready .commercial-quick-scroll { display:none; }
    .commercial-quick-nav.is-mobile-ready .commercial-quick-buy-desktop { display:none; }
    .commercial-quick-nav.is-mobile-ready .commercial-quick-inner { padding-block:.5rem; gap:.5rem; }
    .commercial-quick-nav.is-mobile-ready .commercial-quick-mobile {
        position:relative; display:flex; flex:1 1 auto; align-items:center; gap:.65rem; min-width:0;
        padding:.4rem .65rem; min-height:48px; border:1px solid var(--story-border);
        border-radius:12px; background:var(--story-light);
    }
    .commercial-quick-mobile-icon { flex-shrink:0; color:var(--story-accent); font-size:1.15rem; }
    .commercial-quick-mobile-field { min-width:0; flex:1; }
    .commercial-quick-mobile-field label { display:block; margin:0; color:var(--course-muted); font-size:.62rem; font-weight:750; line-height:1.15; text-transform:uppercase; letter-spacing:.045em; }
    .commercial-quick-mobile-field select { display:block; appearance:none; -webkit-appearance:none; width:100%; min-width:0; padding:.15rem 1.45rem .08rem 0; border:0; border-radius:0; background:transparent; color:var(--story-accent); font:inherit; font-size:16px; font-weight:750; line-height:1.3; cursor:pointer; }
    .commercial-quick-mobile-chevron { position:absolute; right:.8rem; top:50%; transform:translateY(-50%); color:var(--story-accent); font-size:.8rem; pointer-events:none; }
    .commercial-quick-mobile:focus-within { outline:2px solid var(--story-accent); outline-offset:2px; }
    .commercial-quick-mobile-field select:focus { outline:none; }
    .commercial-quick-nav.is-mobile-ready .commercial-quick-buy { min-height:44px; padding:.65rem .65rem; font-size:.76rem; }
    .commercial-quick-nav.is-mobile-ready .commercial-quick-buy > i:first-child { display:none; }
}


/* Unified commercial art direction: white, quiet tinted surface and two premium chapters.
   Surface tokens live on the page so the related-course section shares the same palette. */
.course-detail-page:has(.commercial-story) {
    --landing-white:#fff;
    --landing-surface:#f7f4fc;
    --landing-panel-border:#e4daf5;
    --landing-space:clamp(3rem,5.8vw,5.5rem);
    --landing-joined-space:clamp(1.65rem,3.1vw,2.8rem);
    --landing-card-radius:20px;
    --landing-card-shadow:0 10px 30px rgba(35,26,54,.065);
}
.course-detail-page.platform-hotmart:has(.commercial-story) {
    --landing-surface:#fff7f0;
    --landing-panel-border:#f1d7c2;
}
.commercial-story .commercial-hero {
    background:radial-gradient(ellipse at 90% 25%,rgba(var(--course-accent-rgb),.085),transparent 53%),var(--landing-white);
}
.commercial-story .commercial-hero-grid { opacity:.65; }
.commercial-story .commercial-story-section,
.commercial-story .commercial-learning-chapter,
.commercial-story .commercial-stack-chapter { padding-block:var(--landing-space); }
.commercial-story .commercial-story-white,
.commercial-story .commercial-learning-chapter { background:var(--landing-white); border:0; }
.commercial-story .commercial-story-soft,
.commercial-story .commercial-instructor,
.commercial-story .commercial-testimonials,
.commercial-story .commercial-contact { background:var(--landing-surface); border:0; }
.commercial-story .commercial-story-soft::before,
.commercial-story .commercial-learning-chapter::before { opacity:0; }

/* Adjacent chapters in the same stage have a shared surface and a shorter transition.
   These selectors also work when optional chapters are omitted. */
.commercial-story .commercial-project + .commercial-presentation,
.commercial-story .commercial-instructor + .commercial-testimonials,
.commercial-story .commercial-syllabus + .commercial-readiness,
.commercial-story .commercial-syllabus + .commercial-editorial,
.commercial-story .commercial-readiness + .commercial-editorial,
.commercial-story .commercial-faq + .commercial-contact { padding-top:var(--landing-joined-space); }
.commercial-story .commercial-project:has(+ .commercial-presentation),
.commercial-story .commercial-instructor:has(+ .commercial-testimonials),
.commercial-story .commercial-syllabus:has(+ :is(.commercial-readiness,.commercial-editorial)),
.commercial-story .commercial-readiness:has(+ .commercial-editorial),
.commercial-story .commercial-faq:has(+ .commercial-contact) { padding-bottom:var(--landing-joined-space); }

/* A calmer background for reading; keep animated details where they support the content. */
.commercial-story .commercial-project .commercial-project-decoration,
.commercial-story .commercial-presentation .commercial-presentation-decoration { opacity:.36; }
.commercial-story .commercial-chapter-circuit,
.commercial-story .commercial-instructor-lines { opacity:.42; }
.commercial-story .commercial-contact-circuit { opacity:.28; }
.commercial-story .commercial-contact-orbit { opacity:.65; }
.commercial-story .commercial-readiness-panel::after { opacity:.42; }
.commercial-story .commercial-readiness-panel:nth-child(2n),
.commercial-story .commercial-review-card,
.commercial-story .commercial-mentor-stat:nth-child(2n) { background:#fff; }
.commercial-story .commercial-project-card,
.commercial-story .commercial-readiness-panel,
.commercial-story .commercial-review-card,
.commercial-story .commercial-contact-card { border-radius:var(--landing-card-radius); box-shadow:var(--landing-card-shadow); }
.commercial-story .commercial-readiness-panel { background:var(--landing-surface); }
.commercial-story .commercial-readiness-panel:nth-child(2n) { background:var(--landing-surface); }
.commercial-story .commercial-presentation-shell { box-shadow:0 16px 40px rgba(35,26,54,.11); }
.commercial-story .commercial-mentor-halo { opacity:.75; }
.commercial-story .commercial-mentor-window { box-shadow:0 18px 42px rgba(35,26,54,.16),0 0 24px rgba(var(--course-accent-rgb),.10); }

/* Keep the original dark demo panel, technology showcase and strongest final CTA. */
.commercial-story .commercial-demo-experience {
    background:radial-gradient(ellipse at 78% 45%,rgba(var(--course-accent-rgb),.26),transparent 65%),linear-gradient(145deg,var(--story-dark),var(--story-mid),var(--story-dark));
}
.commercial-story .commercial-stack-chapter {
    background:radial-gradient(ellipse at 50% 35%,rgba(var(--course-accent-rgb),.28),transparent 62%),linear-gradient(135deg,var(--story-dark),var(--story-mid),var(--story-dark));
}
.commercial-story .commercial-enrollment {
    padding-block:clamp(3.6rem,7vw,6.5rem);
    background:radial-gradient(ellipse at 80% 45%,rgba(var(--course-accent-rgb),.42),transparent 58%),linear-gradient(135deg,var(--story-dark),var(--story-mid),var(--story-dark));
}
.commercial-story .commercial-enrollment .commercial-enroll-orbits { opacity:.32; }

/* Continuing education is deliberately secondary, after the purchase opportunity. */
.commercial-story .commercial-learning-path { padding-block:clamp(2.1rem,4vw,3.5rem); }
.commercial-story .commercial-path-panel {
    background:var(--landing-white); color:var(--course-ink);
    border:1px solid var(--landing-panel-border); box-shadow:var(--landing-card-shadow);
    border-radius:var(--landing-card-radius); padding:clamp(1.4rem,3.2vw,2.8rem);
}
.commercial-story .commercial-path-panel .commercial-story-kicker { color:var(--story-accent); background:var(--landing-surface); border-color:var(--story-border); }
.course-detail-page .commercial-story .commercial-path-copy h2 { color:var(--course-ink); font-size:clamp(1.8rem,3.2vw,3rem); }
.commercial-story .commercial-path-copy h2 > span { color:var(--story-accent); }
.commercial-story .commercial-path-copy p { color:var(--course-muted); }
.commercial-story .commercial-path-link { color:var(--story-accent); background:var(--landing-white); border:1px solid var(--story-border); }
.commercial-story .commercial-path-link:hover { color:var(--story-accent); background:var(--landing-surface); box-shadow:0 6px 18px rgba(var(--course-accent-rgb),.10); }
.commercial-story .commercial-path-link:focus-visible { outline-color:var(--story-accent)!important; }
.commercial-story .commercial-path-art { color:var(--story-accent); }
.commercial-story .commercial-path-art svg { max-width:350px; }
.commercial-story .commercial-path-node { fill:var(--landing-surface); }
.commercial-story .commercial-path-signal { filter:drop-shadow(0 0 3px currentColor); }
.commercial-story .commercial-path-caption { color:var(--course-muted); }
.commercial-story .commercial-path-caption i { color:var(--story-accent); }
.course-detail-page .commercial-related-section { background:var(--landing-surface,#f7f4fc); padding-block:var(--landing-space,3rem); }
.course-detail-page:has(.commercial-learning-path) .commercial-related-section { padding-top:var(--landing-joined-space); }

@media(max-width:575.98px) {
    .course-detail-page:has(.commercial-story) { --landing-space:2.65rem; --landing-joined-space:1.45rem; --landing-card-radius:16px; }
    .commercial-story .commercial-hero { padding-bottom:2.25rem; }
    .commercial-story .commercial-enrollment { padding-block:3rem; }
    .commercial-story .commercial-path-panel { padding:1.25rem; }
    .commercial-story .commercial-path-art svg { max-width:260px; }
}


/* The final recommendations are a quiet continuation of the learning path. */
.course-detail-page .commercial-related-section { padding-bottom:clamp(2.6rem,5vw,4.5rem); }
.commercial-related-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:1.25rem; margin-bottom:clamp(1.5rem,3vw,2.5rem); }
.commercial-related-heading > div { min-width:0; }
.commercial-related-kicker { display:inline-flex; align-items:center; gap:.45rem; color:var(--course-accent); font-size:.73rem; font-weight:800; letter-spacing:.055em; text-transform:uppercase; }
.course-detail-page .commercial-related-heading h2 { font-size:clamp(1.9rem,3.5vw,3.4rem); letter-spacing:-.045em; line-height:1.12; font-weight:850; margin:.65rem 0; text-wrap:balance; }
.commercial-related-heading h2 span { color:var(--course-accent); }
.commercial-related-heading p { color:var(--course-muted); font-size:.95rem; line-height:1.65; margin:0; max-width:650px; }
.commercial-related-catalog { display:inline-flex; align-items:center; gap:.6rem; flex-shrink:0; color:var(--course-accent); background:#fff; padding:.75rem 1rem; border:1px solid var(--landing-panel-border); border-radius:11px; font-weight:800; font-size:.83rem; text-decoration:none; transition:box-shadow .2s,transform .2s; }
.commercial-related-catalog:hover { color:var(--course-accent); box-shadow:var(--landing-card-shadow); transform:translateY(-2px); }
.commercial-related-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(.85rem,1.8vw,1.5rem); align-items:stretch; }
.commercial-related-count-1 { grid-template-columns:minmax(0,1fr); max-width:1000px; margin-inline:auto; }
.commercial-related-count-2 { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:1000px; margin-inline:auto; }
.commercial-related-count-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.commercial-related-section .commercial-recommendation { --recommendation-accent:#5624d0; --recommendation-rgb:86,36,208; --recommendation-tint:#f3edff; min-width:0; border:1px solid var(--landing-panel-border); border-radius:var(--landing-card-radius); box-shadow:var(--landing-card-shadow); }
.commercial-related-section .recommendation-hotmart { --recommendation-accent:#ac4300; --recommendation-rgb:172,67,0; --recommendation-tint:#fff2e8; }
.commercial-related-section .commercial-recommendation::before { background:linear-gradient(90deg,transparent,var(--recommendation-accent),transparent); }
.commercial-related-section .commercial-recommendation .course-related-media { aspect-ratio:16/9; flex-shrink:0; }
.commercial-related-section .commercial-recommendation .course-related-media img { display:block; }
.commercial-related-section .commercial-recommendation .course-related-body { min-width:0; padding:clamp(1rem,1.65vw,1.45rem); gap:.7rem; }
.commercial-recommendation-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.5rem; }
.commercial-recommendation .course-related-platform { margin:0; color:var(--recommendation-accent); background:var(--recommendation-tint); padding:.35rem .55rem; border-radius:7px; font-size:.68rem; font-weight:850; }
.commercial-recommendation-rating { display:inline-flex; align-items:center; gap:.3rem; color:var(--course-ink); font-size:.77rem; font-weight:750; }
.commercial-recommendation-rating i { color:#b87900; }
.commercial-related-section .commercial-recommendation h3 { margin:0; font-size:clamp(1rem,1.45vw,1.2rem); line-height:1.4; font-weight:800; overflow-wrap:anywhere; }
.commercial-recommendation h3 a { color:var(--course-ink); text-decoration:none; }
.commercial-recommendation h3 a:hover { color:var(--recommendation-accent); }
.commercial-recommendation-category { color:var(--recommendation-accent); font-size:.72rem; font-weight:700; }
.commercial-recommendation-description { color:var(--course-muted); font-size:.82rem; line-height:1.6; margin:0; overflow-wrap:anywhere; }
.commercial-recommendation-tech { display:flex; align-items:center; gap:.4rem; flex-wrap:wrap; }
.commercial-recommendation-tech > span { display:grid; place-items:center; width:32px; height:32px; padding:5px; border:1px solid var(--course-border); border-radius:8px; background:#fff; }
.commercial-recommendation-tech .technology-logo { display:block; width:100%; height:100%; object-fit:contain; }
.commercial-recommendation-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.55rem; padding-top:.9rem; margin-top:auto; border-top:1px solid var(--course-border); }
.commercial-recommendation-price { color:var(--course-ink); font-size:1.05rem; font-weight:850; }
.commercial-recommendation .course-related-link { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; margin:0 0 0 auto; border:1px solid rgba(var(--recommendation-rgb),.17); border-radius:8px; background:var(--recommendation-tint); color:var(--recommendation-accent); padding:.55rem .7rem; font-size:.8rem; font-weight:800; transition:background .2s,color .2s; }
.commercial-recommendation .course-related-link:hover { color:#fff; background:var(--recommendation-accent); }
.commercial-related-section a:focus-visible { outline:2px solid var(--course-accent); outline-offset:3px; }
.commercial-related-count-1 .commercial-recommendation { flex-direction:row; align-items:center; }
.commercial-related-count-1 .commercial-recommendation .course-related-media { width:46%; align-self:center; aspect-ratio:16/9; min-height:0; }
.commercial-related-count-1 .commercial-recommendation .course-related-body { padding:clamp(1.25rem,3vw,2.5rem); align-self:stretch; }
.commercial-related-count-1 .commercial-recommendation h3 { font-size:clamp(1.2rem,2.2vw,1.7rem); }
.commercial-related-count-1 .commercial-recommendation-description { font-size:.95rem; }
@media(hover:hover) and (pointer:fine) {
    .commercial-related-section .commercial-recommendation:hover { border-color:rgba(var(--recommendation-rgb),.3); box-shadow:0 18px 35px rgba(var(--recommendation-rgb),.10); }
}
@media(max-width:991.98px) {
    .commercial-related-count-3,.commercial-related-count-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .commercial-related-heading { align-items:flex-start; flex-direction:column; gap:.8rem; }
}
@media(max-width:575.98px) {
    .commercial-related-section .commercial-related-grid { display:grid; grid-auto-flow:column; grid-auto-columns:min(86%,340px); grid-template-columns:none; gap:.8rem; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:.25rem .15rem .8rem; scrollbar-width:thin; scrollbar-color:var(--landing-panel-border) transparent; }
    .commercial-related-section .commercial-related-count-1 { grid-auto-columns:100%; }
    .commercial-related-grid .commercial-recommendation { scroll-snap-align:start; }
    .commercial-related-count-1 .commercial-recommendation { flex-direction:column; }
    .commercial-related-count-1 .commercial-recommendation .course-related-media { width:100%; aspect-ratio:16/9; min-height:0; }
    .commercial-related-count-1 .commercial-recommendation .course-related-body { padding:1rem; width:100%; }
    .commercial-related-heading p { font-size:.85rem; }
    .commercial-related-catalog { padding:.65rem .85rem; }
}
/* The global footer has Bootstrap mt-5. Remove that gap only on commercial course pages. */
main:has(.commercial-story) + .andercode-footer { margin-top:0!important; }
@media(prefers-reduced-motion:reduce) {
    .commercial-related-catalog,.commercial-related-catalog:hover,.commercial-recommendation .course-related-link { transition:none!important; transform:none!important; }
    .commercial-recommendation .course-related-media img,.commercial-recommendation:hover .course-related-media img { transition:none!important; transform:none!important; }
}

/* Project introduction: clear editorial hierarchy, comfortable reading and a compact mobile preview. */
.commercial-story .commercial-project-intro { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:clamp(1.1rem,3vw,2.75rem); margin-bottom:0; }
.commercial-story .commercial-project-intro.has-project-details { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:center; }
.commercial-story .commercial-project-copy { max-width:100%; }
.commercial-story .commercial-project-copy h2 { max-width:640px; margin:0; font-size:clamp(2rem,3.35vw,3.15rem); line-height:1.14; letter-spacing:-.045em; text-wrap:balance; overflow-wrap:anywhere; }
.commercial-story .commercial-project-kicker { margin-bottom:1.1rem; }
.commercial-project-details { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:1.1rem; padding:clamp(1.15rem,2.5vw,1.9rem); border:1px solid var(--landing-panel-border); border-radius:var(--landing-card-radius); background:var(--landing-white); box-shadow:var(--landing-card-shadow); }
.commercial-project-description { width:100%; min-width:0; }
.commercial-project-description-label { display:flex; align-items:center; gap:.5rem; color:var(--project-accent); font-weight:800; font-size:.77rem; letter-spacing:.025em; margin:0 0 .7rem; }
.commercial-story .commercial-project-description .commercial-lead { color:var(--course-muted); font-size:clamp(.95rem,1.22vw,1.04rem); line-height:1.72; white-space:pre-line; margin:0; }
.commercial-story .commercial-project-details .commercial-project-demo { margin:0; background:var(--landing-surface); border-color:var(--landing-panel-border); }
.commercial-story .commercial-project-details .commercial-project-demo:hover { background:#fff; }
.commercial-project-read-more { display:inline-flex; align-items:center; gap:.45rem; border:0; border-radius:6px; background:transparent; color:var(--project-accent); font-size:.85rem; font-weight:800; padding:.55rem 0; margin-top:.35rem; cursor:pointer; }
.commercial-project-read-more[hidden] { display:none!important; }
.commercial-project-read-more:focus-visible { outline:2px solid var(--project-accent); outline-offset:3px; }
.commercial-project-read-more i { font-size:.7rem; transition:transform .2s; }
.commercial-project-read-more[aria-expanded="true"] i { transform:rotate(180deg); }
.commercial-story .commercial-project-gallery { margin-top:clamp(1.65rem,3.6vw,2.8rem); padding-top:clamp(1.15rem,2vw,1.65rem); }
.commercial-story .commercial-project-gallery-label { font-size:1.05rem; }
.commercial-story .commercial-project-decoration { opacity:.36; }
@media(max-width:991.98px) {
    .commercial-story .commercial-project-intro.has-project-details { grid-template-columns:minmax(0,1fr); align-items:start; }
    .commercial-story .commercial-project-copy h2 { max-width:760px; }
}
@media(max-width:767px) {
    .commercial-story .commercial-project-copy h2 { font-size:clamp(1.65rem,6.1vw,2.2rem); line-height:1.16; text-wrap:initial; }
    .commercial-story .commercial-project-kicker { margin-bottom:.85rem; gap:.55rem; }
    .commercial-story .commercial-project-icon { width:38px; height:38px; }
    .commercial-story .commercial-project-intro { gap:1rem; }
    .commercial-project-details { width:100%; padding:1rem; gap:.75rem; }
    .commercial-project-description-label { font-size:.75rem; margin-bottom:.55rem; }
    .commercial-story .commercial-project-description .commercial-lead { font-size:.95rem; line-height:1.65; }
    .commercial-project-description.is-collapsed .commercial-lead { max-height:8.25em; overflow:hidden; mask-image:linear-gradient(to bottom,#000 0%,#000 80%,transparent 100%); }
    .commercial-story .commercial-project-details .commercial-project-demo { width:100%; min-height:44px; font-size:.83rem; }
    .commercial-story .commercial-project-gallery { margin-top:1.45rem; padding-top:1.15rem; }
    .commercial-story .commercial-project-gallery-heading { gap:.65rem; }
    .commercial-story .commercial-project-gallery-heading p { font-size:.81rem; }
}
@media(prefers-reduced-motion:reduce) { .commercial-project-read-more i { transition:none!important; } }
