/* =====================================================================
   NIJUZE TECH — main stylesheet
   Sections: tokens · base · background · header & 3D nav · buttons ·
   glass cards · hero · services · lessons · forms · watch page · footer ·
   utilities · responsive · reduced motion
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --bg: #0a0a0a;
    --bg-2: #141414;
    --surface: rgba(255, 255, 255, .055);
    --surface-2: rgba(255, 255, 255, .09);
    --border: rgba(255, 255, 255, .11);
    --text: #ffffff;
    --soft: #b9b3a4;
    --gold: #f5b800;          /* primary brand gold */
    --gold-dark: #c99700;
    --gold-light: #ffd43b;
    --grad: linear-gradient(135deg, #ffd43b 0%, #f5b800 50%, #c99700 100%);
    --on-gold: #0a0a0a;       /* text/icons placed on gold */
    --radius: 20px;
    --shadow: 0 20px 50px rgba(0, 0, 0, .45);
    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --a1: #f5b800;  /* per-component accent (overridden by .accent-*) */
    --a2: #ffd43b;
}

/* Accent classes keep their names but all map to gold / champagne / bronze shades */
.accent-blue   { --a1: #f5b800; --a2: #ffd43b; }
.accent-cyan   { --a1: #ffc928; --a2: #ffe58a; }
.accent-purple { --a1: #e0a800; --a2: #ffc928; }
.accent-pink   { --a1: #f2b705; --a2: #ffd84d; }
.accent-teal   { --a1: #ffcc1a; --a2: #ffe066; }
.accent-indigo { --a1: #c99700; --a2: #f5b800; }
.accent-orange { --a1: #e69500; --a2: #ffb627; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6, .brand-text { font-family: var(--font-head); letter-spacing: -.02em; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }
.text-soft { color: var(--soft) !important; }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(245, 184, 0, .45); color: #fff; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; color: #000; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Animated background ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
    background: radial-gradient(1200px 600px at 10% -10%, #332700 0%, transparent 60%),
                radial-gradient(900px 600px at 110% 10%, #1f1800 0%, transparent 55%), var(--bg); }
.bg-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .2; animation: drift 22s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: #f5b800; top: -120px; left: -120px; }
.blob-2 { width: 460px; height: 460px; background: #b38600; top: 35%; right: -160px; animation-delay: -6s; }
.blob-3 { width: 400px; height: 400px; background: #ffffff; opacity: .06; bottom: -160px; left: 30%; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 110; padding: .8rem 0; background: rgba(10, 10, 10, .75);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.site-header { display: contents; } /* lets .topbar stick to the viewport */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-size: 1.25rem; font-weight: 800; }
.brand:hover { color: #fff; }
/* NIJUZE TECH logo images (assets/images/logo*.png — ear icon + wordmark, transparent) */
.brand-mark { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-mark img { height: 46px; width: auto; display: block; filter: drop-shadow(0 0 6px rgba(245, 184, 0, .35)); }
.brand-text img { height: 40px; width: auto; display: block; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo-lg { height: 58px; }
.nav-drawer .brand-logo, .admin-sidebar .brand-logo { height: 40px; }
a.brand-mark, a.brand-text { color: inherit; text-decoration: none; }
a.brand-mark { transition: transform .25s, filter .25s; }
a.brand-mark:hover { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(245, 184, 0, .7)); }
a.brand-mark:active { transform: scale(.94); }
a.brand-text:hover { color: #fff; opacity: .92; }
@media (max-width: 575.98px) {
    .brand { gap: .35rem; }
    .brand-mark img { height: 38px; }
    .brand-text img { height: 32px; }
}
@media (max-width: 359.98px) { .brand-text img { height: 27px; } }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.menu-toggle { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2);
    display: grid; place-content: center; gap: 5px; box-shadow: 0 4px 0 #03060f; transition: transform .15s, box-shadow .15s; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.menu-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 #03060f; }

/* ---------- 3D navigation buttons ---------- */
.nav3d-wrap { padding: 1.25rem 0 .5rem; }
.nav3d { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); perspective: 900px; }
.nav3d-item { animation: float3d 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
@keyframes float3d { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.btn3d {
    --depth: 7px;
    position: relative; display: flex; align-items: center; gap: .7rem; height: 100%;
    padding: .7rem .9rem; border-radius: 16px; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.2;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 55%), linear-gradient(160deg, #1f1f1f, #0c0c0c);
    border: 1px solid rgba(245, 184, 0, .22);
    transform: rotateX(14deg) translateY(0);
    transform-style: preserve-3d;
    box-shadow: 0 var(--depth) 0 #000, 0 calc(var(--depth) + 8px) 22px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .22s cubic-bezier(.2, .8, .3, 1.2), box-shadow .22s, background .3s;
    user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn3d::after { /* glow layer */
    content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; opacity: 0;
    background: linear-gradient(135deg, var(--a1), var(--a2)); filter: blur(14px); transition: opacity .3s;
}
.btn3d-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 1rem;
    background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--on-gold); box-shadow: 0 4px 12px color-mix(in srgb, var(--a1) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .4); transform: translateZ(18px); }
.btn3d-label { transform: translateZ(10px); }
.btn3d:hover { color: #fff; transform: rotateX(0) translateY(-4px);
    box-shadow: 0 calc(var(--depth) + 3px) 0 #000, 0 18px 30px rgba(0, 0, 0, .55), 0 0 26px color-mix(in srgb, var(--a1) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn3d:hover::after { opacity: .55; }
.btn3d:active, .btn3d.is-pressed { /* pressed-in effect */
    transform: rotateX(0) translateY(var(--depth));
    box-shadow: 0 0 0 #000, 0 2px 6px rgba(0, 0, 0, .6), inset 0 4px 12px rgba(0, 0, 0, .55);
    transition-duration: .08s;
}
.btn3d.active { color: var(--on-gold); background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, var(--a1), var(--a2)); border-color: rgba(255, 255, 255, .35); }
.btn3d.active:hover { color: var(--on-gold); }
.btn3d.active .btn3d-icon { background: #0a0a0a; color: var(--gold-light); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn3d.active::after { opacity: .45; }

/* "Full Courses": toggle button + the second row of 3D buttons it opens */
.btn3d-toggle { width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.btn3d-caret { margin-left: auto; font-size: .75rem; opacity: .8; transition: transform .25s; transform: translateZ(10px); }
.btn3d-toggle[aria-expanded="true"] .btn3d-caret { transform: translateZ(10px) rotate(180deg); }
.nav3d-sub > .nav3d { margin-top: 16px; padding: 16px; border-radius: 20px; border: 1px dashed rgba(245, 184, 0, .4); background: rgba(245, 184, 0, .05); }
.nav3d-courses { grid-template-columns: repeat(4, 1fr); }
.nav3d-subrow { grid-column: 1 / -1; list-style: none; }
.nav3d-subrow .nav3d-sub > .nav3d { margin-top: 0; padding: 14px 10px; }
.nav3d-mobile.nav3d-courses { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nav3d-mobile .btn3d-toggle { text-align: center; }
.nav3d-mobile .btn3d-caret { display: none; }   /* the dashed box below shows it is open */

/* Mobile drawer: two-column 3D grid */
.nav-drawer { background: rgba(10, 10, 10, .97); backdrop-filter: blur(20px); border-left: 1px solid var(--border); color: #fff; }
/* Extra room so the first row (Home, SuperGrok AI) isn't clipped when the
   buttons float up, lift on hover or glow */
.nav-drawer .offcanvas-header { border-bottom: 1px solid var(--border); }
.nav-drawer .offcanvas-body { padding: 1.5rem 1.25rem 2rem; }
.nav3d-mobile { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 12px 6px 1rem; }
.nav3d-mobile .btn3d { transform: none; }               /* no 3D tilt inside the drawer */
.nav3d-mobile .btn3d:hover { transform: translateY(-3px); }
.nav3d-mobile .btn3d:active, .nav3d-mobile .btn3d.is-pressed { transform: translateY(var(--depth)); }
.nav3d-mobile .btn3d { flex-direction: column; text-align: center; padding: 1rem .5rem; font-size: .85rem; }

/* ---------- Buttons ---------- */
.btn { border-radius: 14px; font-weight: 600; }
.btn-glow { position: relative; color: var(--on-gold); border: 0; background: var(--grad); background-size: 200% 200%;
    box-shadow: 0 5px 0 #8a6a00, 0 10px 25px rgba(245, 184, 0, .3); transition: transform .2s, box-shadow .2s, background-position .5s; }
.btn-glow:hover { color: var(--on-gold); background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 7px 0 #8a6a00, 0 14px 30px rgba(245, 184, 0, .45); }
.btn-glow:active { transform: translateY(4px) !important; box-shadow: 0 1px 0 #8a6a00, 0 4px 10px rgba(0, 0, 0, .4) !important; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, .45); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .45); }
/* "Ona Zaidi" / "Ona Kidogo" toggle (label follows Bootstrap's aria-expanded) */
.btn-more .when-open { display: none; }
.btn-more[aria-expanded="true"] .when-open { display: inline; }
.btn-more[aria-expanded="true"] .when-closed { display: none; }
/* WhatsApp buttons use the site's gold palette (not WhatsApp green) */
.btn-whatsapp { color: var(--on-gold); background: var(--grad); border: 0; box-shadow: 0 5px 0 #8a6a00, 0 10px 25px rgba(245, 184, 0, .3); }
.btn-whatsapp:hover { color: var(--on-gold); filter: brightness(1.08); transform: translateY(-2px); }
.btn-whatsapp:active { transform: translateY(4px); box-shadow: 0 1px 0 #8a6a00; }

/* ---------- Glass cards ---------- */
.glass-card { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08); }
.tilt-card { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, border-color .35s; will-change: transform; }
.tilt-card:hover { border-color: rgba(245, 184, 0, .45); box-shadow: 0 25px 50px rgba(0, 0, 0, .5), 0 0 35px rgba(245, 184, 0, .18); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gold-light); margin-bottom: .75rem; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Home hero ---------- */
.hero { padding: 70px 0 90px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05; }
/* CTA band buttons (Wasiliana Nasi + WhatsApp): one line on every screen size */
.cta-pair { flex-wrap: nowrap; }
.cta-pair .btn { white-space: nowrap; }
@media (max-width: 991.98px) { .cta-pair .btn { flex: 1 1 0; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .cta-pair .btn { padding-inline: 1rem; font-size: 1.05rem; } }
@media (max-width: 575.98px) {
    .cta-pair .btn { flex: 1 1 auto; padding: .7rem .55rem; font-size: .9rem; }
    .cta-pair .btn i { margin-right: .3rem !important; }
}
@media (max-width: 400px) {
    .cta-band { padding-inline: 1rem; }
    .cta-pair { gap: .4rem !important; }
    .cta-pair .btn { padding: .65rem .45rem; font-size: .84rem; }
    .cta-pair .btn i { display: none; }   /* icons hidden so both labels fit */
}

/* Intro buttons ("Tazama Zaidi" / "Ona Zaidi" + "Tazama Mafunzo"): one line */
.intro-actions { flex-wrap: nowrap; }
.intro-actions .btn { white-space: nowrap; }
@media (max-width: 575.98px) {
    /* each button as wide as its own text, sharing any spare space */
    .intro-actions .btn { flex: 1 1 auto; padding: .6rem .55rem; font-size: .85rem; }
    .intro-actions .btn i { margin-right: .3rem !important; }
}
@media (max-width: 400px) {
    .intro-actions .btn { padding: .55rem .4rem; font-size: .82rem; }
    .intro-actions .btn i { display: none; }   /* icons hidden so both labels fit */
}

/* "Full Course" card: its own section under the introduction (CapCut, Canva, Flow AI, SuperGrok AI) */
.full-course-card { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 2.25rem; border: 1px solid rgba(245, 184, 0, .55);
    background: linear-gradient(135deg, rgba(245, 184, 0, .14), rgba(255, 255, 255, .03) 55%); box-shadow: 0 0 0 1px rgba(245, 184, 0, .08), 0 20px 45px rgba(245, 184, 0, .12); }
#full-course { scroll-margin-top: 110px; }   /* not hidden under the sticky header */
.full-course-card .fc-body { flex: 1; min-width: 0; }
.full-course-card .fc-title { color: var(--gold-light); font-weight: 600; }
.full-course-card .fc-btn { flex: none; white-space: nowrap; padding: .8rem 1.5rem; }
@media (max-width: 767.98px) {
    .full-course-card { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.25rem; }
    .full-course-card .fc-btn { width: 100%; }
}

/* Full Course page: "pay once for the whole course" banner at the very top + its popup */
.course-pay-wrap { padding-top: 1.5rem; }
.course-pay { display: flex; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.4rem; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(245, 184, 0, .2), rgba(245, 184, 0, .06)); border: 1px solid var(--gold);
    box-shadow: 0 12px 30px rgba(245, 184, 0, .15); }
.course-pay p { flex: 1; min-width: 0; line-height: 1.55; }
.course-pay .text-gold { color: var(--gold-light); }
.course-pay-actions { flex: none; display: flex; gap: .6rem; }
.course-pay-actions .btn { white-space: nowrap; }
.course-pay-modal .modal-content { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: #141414; border: 1px solid rgba(245, 184, 0, .45); }
.course-pay-modal .btn-close { position: absolute; top: 1rem; right: 1rem; }
.course-pay-modal a { color: var(--gold-light); }
/* Paid course: student progress (replaces the payment banner) + per-lesson % */
.course-progress { padding: 1.25rem 1.5rem; border-radius: var(--radius); border: 1px solid rgba(245, 184, 0, .55);
    background: linear-gradient(135deg, rgba(245, 184, 0, .16), rgba(255, 255, 255, .03)); }
.cp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.cp-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.cp-sub { color: var(--soft); font-size: .9rem; }
.cp-sub strong { color: #fff; }
.cp-percent { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--gold-light); }
.cp-bar, .cr-bar { position: relative; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.cp-bar { height: 12px; }
.cp-bar span, .cr-bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--grad); transition: width .6s ease; }
.cp-until { margin-top: .75rem; font-size: .82rem; color: var(--soft); }
.cr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.cr-progress { display: flex; align-items: center; gap: .6rem; max-width: 320px; }
.cr-bar { flex: 1; height: 6px; }
.cr-pct { flex: none; min-width: 2.6rem; font-size: .78rem; font-weight: 700; color: var(--gold-light); }
.cr-progress.is-done .cr-bar span { background: #22c55e; }
.cr-progress.is-done .cr-pct { color: #86efac; }
@media (max-width: 575.98px) {
    .course-progress { padding: 1rem; }
    .cp-percent { font-size: 2rem; }
}

@media (max-width: 767.98px) {
    .course-pay { flex-direction: column; align-items: stretch; padding: 1rem; }
    .course-pay-actions .btn { flex: 1 1 0; padding-inline: .5rem; }
}

/* Full Course page (courses/*.php): numbered lesson list, lock at the end of each row */
.course-wrap { max-width: 920px; }
.course-back-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (max-width: 575.98px) { .course-back-wrap .btn { width: 100%; } }
.course-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.course-list { list-style: none; margin: 0; padding: .5rem; }
.course-list li + li { border-top: 1px solid var(--border); }
.course-row { display: flex; align-items: center; gap: 1rem; padding: .85rem .75rem; border-radius: 14px; color: #fff; text-decoration: none; transition: background .2s; }
.course-chapter + .course-chapter { margin-top: 2rem; }
.cc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 .25rem .75rem; padding-bottom: .6rem;
    border-bottom: 2px solid rgba(245, 184, 0, .35); }
.cc-num { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.cc-count { flex: none; font-size: .8rem; color: var(--soft); }
.cc-empty { padding: 1rem 1.25rem; color: var(--soft); font-size: .9rem; }
.course-row:hover, .course-row:focus-visible { color: #fff; background: rgba(245, 184, 0, .08); }
.cr-num { flex: none; width: 2rem; font-family: var(--font-head); font-weight: 700; color: var(--gold); text-align: center; }
.cr-thumb { position: relative; flex: none; width: 150px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--a2), var(--a1)); color: var(--on-gold); font-size: 1.6rem; }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-dur { position: absolute; right: 5px; bottom: 5px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .68rem; padding: .05rem .4rem; border-radius: 5px; }
.cr-title { flex: 1; min-width: 0; font-weight: 600; line-height: 1.35; }
.cr-free { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 99px; font-size: .65rem; font-weight: 800; letter-spacing: .05em;
    vertical-align: middle; background: var(--grad); color: var(--on-gold); }
.course-row:hover .cr-title { color: var(--gold-light); }
.cr-status { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 1rem; }
.cr-status.is-locked { background: #0a0a0a; color: var(--gold-light); border: 1px solid var(--gold); box-shadow: 0 0 12px rgba(245, 184, 0, .45); }
.cr-status.is-owned  { background: var(--grad); color: var(--on-gold); }
.cr-status.is-free   { background: var(--surface-2); color: #fff; border: 1px solid var(--border); }
.course-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--soft); }
.course-legend i { color: var(--gold-light); margin-right: .35rem; }
@media (max-width: 575.98px) {
    .course-list { padding: .25rem; }
    .course-row { gap: .65rem; padding: .7rem .4rem; }
    .cr-num { width: 1.4rem; font-size: .85rem; }
    .cr-thumb { width: 96px; border-radius: 8px; font-size: 1.2rem; }
    .cr-title { font-size: .9rem; }
    .cr-status { width: 36px; height: 36px; font-size: .9rem; }
}

/* Hero buttons: one line on every screen size */
.hero-cta { flex-wrap: nowrap; }
.hero-cta .btn { padding-inline: 1.6rem; white-space: nowrap; }
@media (max-width: 575.98px) {
    .hero-cta { gap: .6rem !important; }
    .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: .7rem .5rem; font-size: .95rem; }
    .hero-cta .btn i { margin-right: .35rem !important; }
}
.hero .subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: #f3ead2; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 99px; font-size: .85rem;
    background: rgba(245, 184, 0, .1); border: 1px solid rgba(245, 184, 0, .35); color: var(--gold-light); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.5rem; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; }
.hero-stats span { color: var(--soft); font-size: .85rem; }

/* CSS-built illustration: laptop with AI video editor + floating tool cards */
.hero-visual { position: relative; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .9; perspective: 1400px; }
.laptop { position: absolute; left: 6%; right: 6%; top: 16%; transform: rotateX(12deg) rotateY(-14deg); transform-style: preserve-3d;
    animation: hover-laptop 7s ease-in-out infinite; }
@keyframes hover-laptop { 50% { transform: rotateX(8deg) rotateY(-8deg) translateY(-10px); } }
.laptop-screen { aspect-ratio: 16 / 10.5; border-radius: 16px 16px 4px 4px; padding: 10px; background: #121212;
    border: 2px solid #4a3b00; box-shadow: 0 0 60px rgba(245, 184, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.laptop-base { height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(#4a4232, #1b1915); box-shadow: 0 25px 40px rgba(0, 0, 0, .6); }
.screen-ui { height: 100%; border-radius: 8px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; background: #0b0b0b; }
.screen-preview { position: relative; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(circle at 30% 30%, #b38600, transparent 55%), radial-gradient(circle at 75% 70%, rgba(255, 255, 255, .18), transparent 50%), #1a1400; }
.screen-preview .prompt { position: absolute; left: 8%; right: 8%; bottom: 10%; padding: .4rem .7rem; border-radius: 8px; font-size: .62rem;
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .15); color: #fff7e0; white-space: nowrap; overflow: hidden; }
.screen-preview .prompt::after { content: '|'; animation: pulse 1s infinite; }
.screen-preview .big-play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); font-size: 1.1rem; }
.screen-timeline { padding: 8px; display: grid; gap: 5px; background: #070707; }
.track { display: flex; gap: 4px; height: 10px; }
.track i { border-radius: 3px; flex: var(--w, 1); background: var(--c, #f5b800); opacity: .85; }
.float-card { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border-radius: 14px; font-size: .8rem; font-weight: 600;
    background: rgba(18, 18, 18, .8); border: 1px solid rgba(245, 184, 0, .3); backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .45); animation: bob 6s ease-in-out infinite; z-index: 2; }
.float-card i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--on-gold); background: linear-gradient(135deg, var(--a1), var(--a2)); }
.float-card small { display: block; color: var(--soft); font-weight: 400; font-size: .7rem; }
.fc-1 { top: 2%; left: 0; } .fc-2 { top: 8%; right: -2%; animation-delay: -1.5s; }
.fc-3 { bottom: 6%; left: -4%; animation-delay: -3s; } .fc-4 { bottom: 0; right: 4%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.orbit { position: absolute; inset: 4%; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Service cards ---------- */
.service-card { padding: 2rem; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a2)); opacity: .18; filter: blur(30px); transition: opacity .3s; }
.service-card:hover::before { opacity: .4; }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; font-size: 1.5rem; margin-bottom: 1.25rem;
    color: var(--on-gold); background: linear-gradient(135deg, var(--a1), var(--a2)); transform: translateZ(40px) rotateX(10deg);
    box-shadow: 0 8px 0 rgba(0, 0, 0, .35), 0 14px 30px color-mix(in srgb, var(--a1) 45%, transparent); }
.service-card h3 { transform: translateZ(25px); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.check-list li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: #ebe5d5; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .1rem;
    font-size: .75rem; color: var(--gold-light); }

/* ---------- Feature / step blocks ---------- */
.feature-box { padding: 1.6rem; height: 100%; }
.feature-box .fi { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1rem;
    color: var(--on-gold); background: linear-gradient(135deg, var(--a1), var(--a2)); }
.step-card { padding: 1.6rem; height: 100%; }
.step-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- About: achievement figures ---------- */
.about-stat { height: 100%; padding: 1rem; border-radius: 16px; background: rgba(245, 184, 0, .08); border: 1px solid rgba(245, 184, 0, .3); }
.about-stat i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; margin-bottom: .6rem;
    background: var(--grad); color: var(--on-gold); }
.about-stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stat span { display: block; margin-top: .3rem; font-size: .8rem; color: var(--soft); line-height: 1.35; }

/* ---------- AI tools grouped by use (Zana Nyingine za AI) ---------- */
.tool-group { margin-bottom: 3rem; scroll-margin-top: 90px; }
.tool-group:last-child { margin-bottom: 0; }
.tool-cat-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-size: .95rem;
    background: var(--grad); color: var(--on-gold); }
.tool-card { padding: 1.25rem; }
.chip-cat { flex: 0 0 auto; white-space: nowrap; background: rgba(245, 184, 0, .14); border-color: rgba(245, 184, 0, .4); color: var(--gold-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 60px 0 40px; }
.hero-orb { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; font-size: 4.2rem; color: var(--on-gold);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 40%), linear-gradient(135deg, var(--a1), var(--a2));
    box-shadow: 0 0 80px color-mix(in srgb, var(--a1) 55%, transparent), inset 0 -15px 30px rgba(0, 0, 0, .3);
    animation: bob 6s ease-in-out infinite; }

/* ---------- Lesson cards ---------- */
.lesson-card { display: flex; flex-direction: column; overflow: hidden; width: 100%; }
.lesson-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(135deg, var(--a1), var(--a2)); }
.lesson-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lesson-card:hover .lesson-thumb img { transform: scale(1.07); }
.thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: rgba(10, 10, 10, .8);
    background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .3), transparent 45%),
                repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px); }
.play-btn { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(10, 10, 10, .85); color: var(--gold-light); border: 1px solid var(--gold); font-size: 1.1rem; opacity: 0; transform: scale(.7); transition: .3s;
    box-shadow: 0 0 0 10px rgba(245, 184, 0, .2); }
.lesson-card:hover .play-btn, .lesson-thumb:focus-visible .play-btn { opacity: 1; transform: scale(1); }
.duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 6px; }
.featured-badge { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
    background: #0a0a0a; color: var(--gold-light); border: 1px solid var(--gold); font-size: .75rem; box-shadow: 0 0 12px rgba(245, 184, 0, .6); }
.lesson-body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.lesson-body h3 a { color: #fff; }
.lesson-body h3 a:hover { color: var(--gold-light); }
.chip { display: inline-block; font-size: .7rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--border); color: #ebe5d5; }
.chip.level-beginner { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.chip.level-intermediate { background: rgba(245, 184, 0, .16); border-color: rgba(245, 184, 0, .45); color: var(--gold-light); }
.chip.level-advanced { background: var(--grad); border-color: transparent; color: var(--on-gold); }

/* ---------- Filters ---------- */
/* (tutorial filter bar removed) */
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--soft); }
.input-icon .form-control { padding-left: 2.6rem; }
.tab-pill { padding: .45rem 1rem; border-radius: 99px; font-size: .85rem; font-weight: 600; color: #ebe5d5; background: var(--surface);
    border: 1px solid var(--border); box-shadow: 0 3px 0 rgba(0, 0, 0, .4); transition: .2s; }
.tab-pill:hover { color: #fff; transform: translateY(-1px); }
.tab-pill.active { color: var(--on-gold); background: var(--grad); border-color: transparent; }
.pagination-glass .page-link { background: var(--surface); border-color: var(--border); color: #fff; margin: 0 3px; border-radius: 10px !important; }
.pagination-glass .active .page-link { background: var(--grad); border-color: transparent; color: var(--on-gold); }
.empty-state { padding: 3rem 1.5rem; text-align: center; color: var(--soft); }
.empty-state i { font-size: 2.5rem; margin-bottom: 1rem; display: block; color: var(--gold-light); }

/* ---------- Forms ---------- */
.form-control, .form-select { background-color: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 12px; padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { background-color: rgba(255, 255, 255, .09); border-color: var(--gold-light); color: #fff; box-shadow: 0 0 0 .2rem rgba(245, 184, 0, .22); }
.form-control::placeholder { color: #8a8475; }
.form-select option { background: #141414; }
.form-label { font-weight: 500; font-size: .9rem; color: #f1ecdf; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert-glass { border-radius: 14px; backdrop-filter: blur(10px); }
.flash-wrap { padding-top: 1.25rem; }
.notice { display: flex; gap: 1rem; padding: 1.1rem 1.25rem; align-items: flex-start; border-color: rgba(245, 184, 0, .35); }
.notice > i { color: var(--gold-light); font-size: 1.2rem; margin-top: .15rem; }

/* ---------- Packages ---------- */
.package-card { padding: 1.8rem; display: flex; flex-direction: column; }
.package-card .price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin: .5rem 0 1.25rem; }
.package-card .price span { font-size: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Watch page ---------- */
.player-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
    box-shadow: 0 0 0 1px var(--border), 0 30px 60px rgba(0, 0, 0, .5), 0 0 60px rgba(245, 184, 0, .16); }
.player-frame iframe, .player-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--soft); gap: .5rem;
    background: radial-gradient(circle at 50% 40%, #332800, #0a0a0a); }
.player-empty i { font-size: 3rem; color: var(--gold-light); }
.steps-list { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .75rem; }
.steps-list li { counter-increment: step; position: relative; padding: .9rem 1rem .9rem 3.6rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.steps-list li::before { content: counter(step); position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
    display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: var(--on-gold); font-weight: 700; font-size: .85rem; }
.tag { display: inline-block; margin: 0 .3rem .4rem 0; padding: .2rem .65rem; border-radius: 8px; font-size: .78rem; background: rgba(245, 184, 0, .14); color: var(--gold-light); }
.mini-lesson { display: flex; gap: .85rem; padding: .6rem; border-radius: 14px; color: #fff; transition: background .2s; }
.mini-lesson:hover { background: var(--surface-2); color: #fff; }
.mini-thumb { flex: 0 0 110px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: var(--on-gold); background: linear-gradient(135deg, var(--a1), var(--a2)); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb-glass { font-size: .85rem; }
.breadcrumb-glass a { color: var(--soft); }
.breadcrumb-glass .breadcrumb-item + .breadcrumb-item::before { color: #6b6455; }

/* ---------- Lesson popup (video plays on the same page) ---------- */
/* The dialog shrinks to fit the video instead of using a fixed width */
.lesson-modal .modal-dialog { max-width: none; width: fit-content; margin-inline: auto; }
.lesson-modal .modal-content { position: relative; background: transparent; border: 0; box-shadow: none; width: auto; }
.lesson-modal .player-frame { box-shadow: 0 0 0 1px rgba(245, 184, 0, .35), 0 30px 80px rgba(0, 0, 0, .7); }
/* Own video files: real (intrinsic) size and shape, capped to the screen */
.lesson-modal .player-frame.is-native { aspect-ratio: auto; display: inline-block; line-height: 0; }
.lesson-modal .player-frame.is-native video { position: static; display: block; width: auto; height: auto;
    max-width: 94vw; max-height: 86vh; min-width: 240px; }
/* Embeds whose real size is unknown */
.lesson-modal .player-frame.is-wide { width: min(1140px, 94vw, 86vh * 16 / 9); }
.lesson-modal .player-frame.is-vertical { aspect-ratio: 9 / 16; width: min(420px, 94vw, 86vh * 9 / 16); }
.lesson-close { position: absolute; top: -48px; right: 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid rgba(245, 184, 0, .5); background: #0a0a0a; color: var(--gold-light);
    font-size: 1.1rem; transition: transform .2s, background .2s; }
.lesson-close:hover { background: var(--gold); color: var(--on-gold); transform: rotate(90deg); }
.modal-backdrop.show { opacity: .85; }

/* Payment popup shown over the video when the free part ends */
.lesson-modal .player-frame.is-native video { min-width: min(360px, 94vw); }
.paywall { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 1rem; border-radius: var(--radius);
    background: rgba(5, 5, 5, .82); backdrop-filter: blur(6px); overflow-y: auto; }
.paywall[hidden] { display: none; }
/* Paid & owned video: Pakua Video / Jitumie WhatsApp under the player */
.lesson-actions { display: flex; gap: .6rem; justify-content: center; margin-top: .9rem; }
.lesson-actions[hidden] { display: none; }
/* Leave room for the buttons (and the close button above) when they are shown */
.lesson-modal.has-actions .player-frame.is-native video { max-height: calc(86vh - 80px); }
.lesson-modal.has-actions .player-frame.is-wide { width: min(1140px, 94vw, (86vh - 80px) * 16 / 9); }
.lesson-modal.has-actions .player-frame.is-vertical { width: min(420px, 94vw, (86vh - 80px) * 9 / 16); }
.lesson-actions .btn { white-space: nowrap; }
@media (max-width: 575.98px) {
    .lesson-actions .btn { flex: 1 1 0; min-width: 0; padding: .6rem .4rem; font-size: .88rem; }
}
/* Payment confirmed: small message over the playing video (doesn't block it) */
.pay-toast { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 4; width: max-content; max-width: calc(100% - 28px);
    padding: .6rem .9rem; border-radius: 12px; font-size: .85rem; line-height: 1.4; pointer-events: none;
    background: rgba(10, 10, 10, .88); color: #fff; border: 1px solid rgba(34, 197, 94, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    animation: toast-in .3s ease; }
.pay-toast i { color: #4ade80; }
.pay-toast strong { color: var(--gold-light); }
.pay-toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } }
/* Phones: the video can be small, so the payment popup covers the whole screen */
@media (max-width: 575.98px) {
    .paywall { position: fixed; inset: 0; border-radius: 0; padding: 4.5rem 1rem 1.5rem; align-items: start; }
    .lesson-modal .lesson-close { position: fixed; top: 14px; right: 14px; z-index: 5; }
}
.paywall-box { width: min(380px, 100%); text-align: center; padding: 1.5rem; border-radius: 18px; background: #111;
    border: 1px solid rgba(245, 184, 0, .45); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.paywall-icon { width: 54px; height: 54px; margin: 0 auto .9rem; display: grid; place-items: center; border-radius: 50%;
    background: var(--grad); color: var(--on-gold); font-size: 1.3rem; }
.paywall-msg { padding: .65rem .8rem; border-radius: 10px; font-size: .85rem; text-align: left; }
.paywall-msg.is-info { background: rgba(255, 255, 255, .07); color: #ebe5d5; }
.paywall-msg.is-ok { background: rgba(34, 197, 94, .15); color: #86efac; }
.paywall-msg.is-error { background: rgba(244, 63, 94, .15); color: #fda4af; }
.chip-price { background: var(--grad); color: var(--on-gold); border-color: transparent; }

/* ---------- CTA band ---------- */
.cta-band { padding: 3rem; overflow: hidden; background: linear-gradient(135deg, rgba(245, 184, 0, .2), rgba(255, 255, 255, .04)); border-color: rgba(245, 184, 0, .35); }
.cta-band::after { content: ''; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%; background: var(--grad); opacity: .3; filter: blur(60px); }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; }
.contact-item .ci { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--on-gold); background: linear-gradient(135deg, var(--a1), var(--a2)); font-size: 1.1rem; }

/* Contact Us: "Tuma Ujumbe" dropdown */
.msg-dropdown { padding: 0; overflow: hidden; }
.msg-toggle { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; border: 0; background: transparent;
    color: #fff; cursor: pointer; transition: background .2s; }
.msg-toggle:hover { background: rgba(245, 184, 0, .06); }
.msg-toggle-icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 1.1rem;
    background: var(--grad); color: var(--on-gold); box-shadow: 0 4px 0 #8a6a00; }
.msg-chevron { color: var(--gold-light); font-size: 1.1rem; transition: transform .25s; }
.msg-toggle:not(.collapsed) .msg-chevron { transform: rotate(180deg); }
.msg-body { padding: .5rem 1.5rem 1.75rem; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .msg-body { padding: .75rem 2.5rem 2.5rem; } }

/* Contact Us: join the free training Group / Channel */
.contact-join { position: relative; border-color: rgba(34, 197, 94, .45); }
.contact-join h2 { padding-right: 4.2rem; }   /* room for the BURE badge */
.contact-join .lp-free { position: absolute; top: 14px; right: 14px; padding: .2rem .65rem; border-radius: 99px; font-size: .7rem;
    font-weight: 800; letter-spacing: .08em; background: #22c55e; color: #052e16; }
.join-option { display: flex; align-items: center; gap: .8rem; padding: .75rem .85rem; margin-top: .6rem; border-radius: 14px;
    color: #fff; text-decoration: none; transition: transform .15s, border-color .15s; }
.join-option:hover { color: #fff; transform: translateY(-2px); }
.join-option strong { display: block; font-size: .95rem; }
.join-option small { color: var(--soft); font-size: .78rem; }
.join-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 1rem; }
.join-go { font-size: 1.15rem; }
.join-option.is-group { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .4); }
.join-option.is-group .join-icon { background: linear-gradient(135deg, #4ade80, #16a34a); color: #052e16; }
.join-option.is-group .join-go { color: #4ade80; }
.join-option.is-channel { background: rgba(245, 184, 0, .08); border: 1px solid rgba(245, 184, 0, .35); }
.join-option.is-channel .join-icon { background: var(--grad); color: var(--on-gold); }
.join-option.is-channel .join-go { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 70px 0 24px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .9) 30%); border-top: 1px solid var(--border); }
.footer-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-links a, .footer-contact a { color: var(--soft); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: baseline; color: var(--soft); }
.footer-contact i { color: var(--gold-light); width: 16px; }
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--surface-2);
    border: 1px solid var(--border); box-shadow: 0 4px 0 rgba(0, 0, 0, .45); transition: .2s; }
.social-row a:hover { background: var(--grad); color: var(--on-gold); transform: translateY(-3px); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 2rem;
    justify-content: space-between; color: #8a8475; font-size: .85rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.8rem; color: var(--on-gold); background: var(--grad); box-shadow: 0 6px 0 #8a6a00, 0 12px 30px rgba(245, 184, 0, .45);
    animation: bob 4s ease-in-out infinite; }
.wa-float:hover { color: var(--on-gold); }

/* ---------- Bootstrap overrides (gold theme) ---------- */
.text-info { color: var(--gold-light) !important; }
.text-bg-info { background: var(--gold) !important; color: var(--on-gold) !important; }
.list-group-item.active { background: rgba(245, 184, 0, .18); border-color: rgba(245, 184, 0, .4); color: #fff; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
.tilt-card[data-reveal].revealed { transition: opacity .7s ease, transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, border-color .35s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .hero { padding: 40px 0 60px; text-align: center; }
    .hero .hero-cta, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 2rem; max-width: 460px; }
    .cta-band { padding: 2rem 1.5rem; }
}
@media (max-width: 575.98px) {
    .float-card { font-size: .7rem; padding: .5rem .65rem; }
    .float-card i { width: 26px; height: 26px; }
    .fc-3 { left: 0; }
    .service-card { padding: 1.5rem; }
    .brand { font-size: 1.1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Landing page for ads (jiunge.php) — simple, fast, mobile-first
   ===================================================================== */
.lp { min-height: 100vh; padding-bottom: 96px; }
.lp-wrap { max-width: 980px; margin: 0 auto; padding: 1.25rem 1rem 2rem; }
.lp-top { display: flex; justify-content: center; padding: .5rem 0 1.25rem; }
.lp-logo { height: 54px; width: auto; }
.lp-hero { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.lp-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .95rem; border-radius: 99px; font-size: .82rem; font-weight: 700;
    letter-spacing: .03em; color: var(--gold-light); background: rgba(245, 184, 0, .12); border: 1px solid rgba(245, 184, 0, .45); }
.lp-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: pulse 1.6s infinite; }
.lp-hero h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 800; line-height: 1.08; margin: 1rem 0 .9rem; }
.lp-sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: #e8e2d2; margin: 0; }
.lp-sub strong { color: var(--gold-light); }

.lp-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-bottom: 1.8rem; }
.lp-card { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.4rem; border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)); border: 1px solid rgba(245, 184, 0, .35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .45); }
.lp-card-free { border-color: rgba(34, 197, 94, .55); box-shadow: 0 18px 45px rgba(0, 0, 0, .45), 0 0 40px rgba(34, 197, 94, .12); }
.lp-free { position: absolute; top: 14px; right: 14px; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 800;
    letter-spacing: .08em; background: #22c55e; color: #052e16; }
.lp-card-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; font-size: 1.4rem; margin-bottom: 1rem;
    background: var(--grad); color: var(--on-gold); box-shadow: 0 6px 0 #8a6a00; }
.lp-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .4rem; }
.lp-card-lead { color: var(--soft); margin-bottom: 1rem; }
.lp-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.lp-list li { display: flex; gap: .6rem; align-items: baseline; color: #f1ecdf; }
.lp-list i { color: #22c55e; font-size: .85rem; }
/* Free group benefits: Mafunzo / Usimamizi / Ushirikiano */
.lp-benefits { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .75rem; }
.lp-benefits li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 14px;
    background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .3); color: #e8e2d2; font-size: .92rem; line-height: 1.4; }
.lp-benefits strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .1rem; }
.lp-b-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
    background: linear-gradient(135deg, #4ade80, #16a34a); color: #052e16; font-size: 1rem; }
/* Channel benefits use the gold brand colour */
.lp-benefits.is-gold li { background: rgba(245, 184, 0, .08); border-color: rgba(245, 184, 0, .32); }
.lp-benefits.is-gold .lp-b-icon { background: var(--grad); color: var(--on-gold); }
.lp-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.2rem; border-radius: 16px;
    font-size: 1.12rem; font-weight: 800; color: var(--on-gold); background: var(--grad); text-decoration: none;
    box-shadow: 0 6px 0 #8a6a00, 0 14px 30px rgba(245, 184, 0, .35); transition: transform .15s, box-shadow .15s; }
.lp-btn i { font-size: 1.35rem; }
.lp-btn:hover { color: var(--on-gold); transform: translateY(-2px); }
.lp-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 #8a6a00; }
.lp-card-free .lp-btn { background: linear-gradient(135deg, #4ade80, #16a34a); color: #052e16; box-shadow: 0 6px 0 #14532d, 0 14px 30px rgba(34, 197, 94, .35); }
.lp-card-free .lp-btn:active { box-shadow: 0 1px 0 #14532d; }

.lp-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.8rem; text-align: center; }
.lp-proof div { padding: 1rem .6rem; border-radius: 16px; background: rgba(245, 184, 0, .07); border: 1px solid rgba(245, 184, 0, .25); }
.lp-proof strong { display: block; font-family: var(--font-head); font-size: clamp(1.25rem, 4vw, 1.7rem); line-height: 1.1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-proof span { display: block; margin-top: .3rem; font-size: .78rem; color: var(--soft); line-height: 1.3; }

.lp-steps { text-align: center; margin-bottom: 1.5rem; }
.lp-steps h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.lp-steps ol { list-style: none; padding: 0; margin: 0 auto; max-width: 520px; display: grid; gap: .6rem; text-align: left; }
.lp-steps li { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.lp-steps li span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; background: var(--grad); color: var(--on-gold); }

.lp-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; font-size: .82rem; color: #8a8475; padding-top: .5rem; }
.lp-foot a { color: var(--soft); }

/* Sticky bottom bar (phones): both choices always one tap away */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, .92); backdrop-filter: blur(12px); border-top: 1px solid rgba(245, 184, 0, .3); }
.lp-sticky a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem .5rem; border-radius: 14px;
    font-weight: 800; font-size: .98rem; text-decoration: none; color: var(--on-gold); background: var(--grad); box-shadow: 0 4px 0 #8a6a00; white-space: nowrap; }
.lp-sticky a.is-free { color: #052e16; background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 4px 0 #14532d; }
.lp-sticky a:active { transform: translateY(3px); box-shadow: none; }

@media (max-width: 767.98px) {
    .lp-options { grid-template-columns: 1fr; }
    .lp-sticky { display: flex; }
    .lp-logo { height: 46px; }
}
@media (max-width: 380px) {
    .lp-proof { grid-template-columns: 1fr; }
    .lp-sticky a { font-size: .9rem; }
}
