/* Nibrak — White + Yellow (mid) + Burgundy */

:root {
    /* Deep black canvas */
    --ink: #0A0A0A;
    --ink-soft: #141414;
    --ink-muted: #1C1C1C;

    /* Warm light surfaces (inner pages) */
    --surface: #F7F4F0;
    --surface-muted: #EDE8E2;
    --surface-elevated: #FFFFFF;
    --surface-dark: #0A0A0A;

    /* Burgundy — primary brand (edge) */
    --accent: #7A1F2B;
    --accent-hover: #5C1620;
    --accent-deep: #4A1018;
    --accent-light: #C45C6A;
    --accent-glow: rgba(122, 31, 43, 0.42);
    --accent-soft: #F5E6E8;
    --accent-muted: rgba(122, 31, 43, 0.12);

    /* Yellow — mid signal / highlight */
    --gold: #F5C518;
    --gold-hover: #E0B000;
    --gold-light: #FFE066;
    --gold-soft: #FFF4C2;
    --gold-glow: rgba(245, 197, 24, 0.32);

    --trade-green: #F5C518;
    --trade-red: #7A1F2B;
    --trade-green-soft: rgba(245, 197, 24, 0.14);
    --trade-red-soft: rgba(122, 31, 43, 0.14);

    /* Brand triad: burgundy → yellow mid → burgundy */
    --header-gradient: linear-gradient(168deg, #050505 0%, #141414 42%, #7A1F2B 78%, #F5C518 160%);
    --teal-bar-gradient: linear-gradient(90deg, var(--accent) 0%, var(--gold) 50%, var(--accent) 100%);
    --teal-gradient: linear-gradient(135deg, var(--accent) 0%, var(--gold) 52%, var(--accent-deep) 100%);
    --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --brand-triad: linear-gradient(90deg, #7A1F2B 0%, #F5C518 50%, #FFFFFF 100%);

    --text: #14110F;
    --text-muted: #6B635C;
    --text-on-dark: rgba(255,255,255,0.94);
    --text-on-dark-muted: rgba(255,255,255,0.55);
    --border: rgba(10, 10, 10, 0.08);
    --border-strong: rgba(10, 10, 10, 0.14);
    --border-dark: rgba(255, 255, 255, 0.08);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.35rem;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.2);
    --shadow-luxury: 0 24px 64px rgba(0, 0, 0, 0.35);
    --font-display: 'Cairo', 'Nunito', sans-serif;
    --font-body: 'Cairo', 'Nunito', sans-serif;
    --font-brand: 'Nunito', 'Cairo', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-dramatic: cubic-bezier(0.22, 0.61, 0.36, 1);
    --reveal-base: 0.55s;
}

/* Latin locales: logo-matching English font */
html[lang="en"],
html[lang="es"] {
    --font-display: 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-brand: 'Nunito', sans-serif;
}

html[lang="ar"] {
    --font-display: 'Cairo', 'Nunito', sans-serif;
    --font-body: 'Cairo', 'Nunito', sans-serif;
    --font-brand: 'Nunito', 'Cairo', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}
html, body { max-width: 100%; }

body.nibrak-body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--surface);
    background-image:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(122, 31, 43, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 0% 100%, rgba(245, 197, 24, 0.07) 0%, transparent 50%);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: clip;
    min-width: 0;
}

body.nibrak-body.is-menu-open {
    overflow: hidden;
}

main {
    min-width: 0;
    overflow-x: clip;
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

body.nibrak-body.is-loading [data-reveal-item] {
    opacity: 0;
    transform: translateY(28px);
}

body.nibrak-body.is-loaded [data-reveal-item] {
    animation: reveal-rise var(--reveal-base) var(--ease-dramatic) forwards;
    animation-delay: calc(var(--reveal-i, 0) * 0.09s + 0.12s);
}

.font-display { font-family: var(--font-display); }
.font-brand { font-family: var(--font-brand); }
.text-accent { color: var(--accent); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--text-muted); }

.text-gradient {
    background: linear-gradient(118deg, var(--gold-light) 0%, var(--gold) 38%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Page zones ── */
.section-band { padding: 3.5rem 0; }
.section-band--white {
    background: var(--surface-elevated);
    border-block: 1px solid var(--border);
}
.section-band--cream { background: transparent; }
.section-band--tint {
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 85%);
    border-block: 1px solid rgba(13,148,136,0.06);
}

/* Dark section — matches hero-dark aesthetic */
.section-band--dark {
    position: relative;
    overflow: hidden;
    background: var(--header-gradient);
    border-block: none;
    color: var(--text-on-dark);
}
.section-band--dark::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--teal-bar-gradient);
    z-index: 2;
}
.section-band--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 15% 35%, rgba(13, 148, 136, 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 45% 35% at 88% 15%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.section-band__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.section-band__bg .hero-orb-1 { opacity: 0.7; }
.section-band__bg .hero-orb-2 { opacity: 0.5; }
.section-band--dark .section-label { color: var(--accent-light); }
.section-band--dark .section-label::before { background: var(--accent-light); }
.section-band--dark .section-title { color: white; }
.section-band--dark .card:not(.course-card) {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.section-band--dark .card:not(.course-card):hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Dark course cards — deeper ink, balanced proportions */
.section-band--dark .course-card {
    background: linear-gradient(168deg, rgba(22, 30, 48, 0.96) 0%, rgba(10, 15, 28, 0.98) 55%, rgba(8, 12, 22, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}
.section-band--dark .course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.22);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(13, 148, 136, 0.12);
}
.section-band--dark .course-card .course-thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(to top, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.35) 55%, transparent 100%);
    pointer-events: none;
}
.section-band--dark .course-card__body {
    padding: 1.125rem 1.25rem 0.625rem;
}
.section-band--dark .course-card__body h2,
.section-band--dark .course-card__body h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    line-height: 1.5;
}
.section-band--dark .course-card__desc {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8125rem;
    line-height: 1.7;
}
.section-band--dark .course-card__footer {
    padding: 0.875rem 1.25rem 1.125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}
.section-band--dark .course-card__footer .btn-primary {
    background: rgba(13, 148, 136, 0.22);
    color: var(--accent-light);
    border: 1px solid rgba(45, 212, 191, 0.28);
    box-shadow: none;
}
.section-band--dark .course-card__footer .btn-primary:hover {
    background: var(--teal-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 24px var(--accent-glow);
}

.section-band--dark .card .text-ink { color: white; }
.section-band--dark .text-muted { color: var(--text-on-dark-muted); }
.section-band--dark .text-accent { color: var(--accent-light); }
.section-band--dark .badge-teal {
    background: rgba(13, 148, 136, 0.25);
    color: var(--accent-light);
    border-color: rgba(45, 212, 191, 0.2);
}
.section-band--dark .empty-state {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: white;
}
.section-band--dark .empty-state .text-muted { color: var(--text-on-dark-muted); }

/* Dark page hero — matches header */
.page-hero {
    position: relative;
    padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(2rem, 6vw, 3.5rem);
    color: white;
    background: var(--header-gradient);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-luxury);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--teal-bar-gradient);
}
.page-hero .section-label { color: var(--accent-light); }
.page-hero .section-label::before { background: var(--accent-light); }
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin: 0.75rem 0 0;
    line-height: 1.2;
}
.page-hero__desc {
    margin-top: 1rem;
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    max-width: 32rem;
    line-height: 1.65;
}
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__desc { margin-inline: auto; }
.page-hero--center .section-label { justify-content: center; }

.cta-panel {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--header-gradient);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-luxury);
    overflow: hidden;
    color: white;
}
.cta-panel::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--teal-bar-gradient);
}
.cta-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(13,148,136,0.15) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(201,162,39,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.cta-panel__title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: white;
    margin: 0;
}
.cta-panel__desc {
    position: relative;
    margin: 0.75rem auto 0;
    max-width: 28rem;
    font-size: 1rem;
    color: var(--text-on-dark-muted);
}
.cta-panel__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.promo-card {
    border: 1px solid rgba(201,162,39,0.18);
    box-shadow: var(--shadow-luxury);
}
.promo-card::before {
    background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(13,148,136,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(201,162,39,0.1) 0%, transparent 50%) !important;
}
.promo-card .badge-gold {
    background: var(--gold);
    color: var(--ink);
    border-color: transparent;
    font-weight: 800;
}

.divider-accent {
    height: 3px;
    width: 48px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
    margin-top: 0.75rem;
}

/* Homepage — features + reviews duo */
.home-duo {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .home-duo {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        gap: 1.25rem;
    }
}
.home-duo__panel {
    padding: 1.25rem 1.375rem 1.375rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.home-duo__trust.home-duo__panel {
    padding: 1.125rem 1.125rem 1.25rem;
}
.home-duo__panel-head {
    margin-bottom: 0.875rem;
}
.home-duo__panel .section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
}
.home-duo__panel-desc {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.home-duo__trust {
    min-height: 0;
}
.home-duo__trust .trust-reviews {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home-duo__trust .trust-reviews--embed > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.home-duo__trust .trust-reviews__header--embed {
    margin-bottom: 0.75rem;
}
.home-duo__trust .trust-reviews__grid {
    flex: 1;
    max-width: none;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}
@media (max-width: 639px) {
    .home-duo__trust .trust-reviews__grid {
        grid-template-columns: 1fr;
    }
}

/* Trust cards — balanced sizing inside duo panel */
.home-duo__trust .trust-card {
    min-width: 0;
    width: 100%;
}
.home-duo__trust .trust-card__link {
    min-height: 11.25rem;
    width: 100%;
}
.home-duo__trust .trust-card__head {
    padding: 0.75rem 0.875rem 0.625rem;
    justify-content: center;
}
.home-duo__trust .trust-card__body {
    padding: 0.75rem 0.875rem 0.625rem;
    gap: 0.4375rem;
}
.home-duo__trust .trust-card__rating-row {
    flex-direction: column;
    gap: 0.3125rem;
}
.home-duo__trust .trust-card__score {
    font-size: 1.375rem;
    line-height: 1;
}
.home-duo__trust .trust-star svg {
    width: 0.9375rem;
    height: 0.9375rem;
}
.home-duo__trust .trust-stars {
    gap: 0.125rem;
}
.home-duo__trust .trust-card__count {
    font-size: 0.75rem;
    line-height: 1.45;
    max-width: 12rem;
}
.home-duo__trust .trust-card__footer {
    padding: 0.625rem 0.875rem 0.75rem;
}
.home-duo__trust .trust-card__cta {
    padding: 0.5625rem 0.75rem;
    font-size: 0.75rem;
}
.home-duo__trust .trust-card__name {
    font-size: 0.8125rem;
}
.home-duo__trust .trust-card__icon {
    width: 1.625rem;
    height: 1.625rem;
}
.home-duo__trust .trust-card__icon svg {
    width: 0.875rem;
    height: 0.875rem;
}
.home-duo__trust .trust-card__logo--google {
    width: 1.125rem;
    height: 1.125rem;
}
.home-duo__trust .trust-card__brand {
    gap: 0.5rem;
}

/* Feature mini cards */
.features-block + .features-block {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}
.features-block__label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-hover);
}
.features-mini-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 639px) {
    .features-mini-grid {
        grid-template-columns: 1fr;
    }
}
.features-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
    padding: 0.75rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 100%;
}
.features-mini-card__title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}
.features-mini-card__desc {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: var(--text-muted);
}
.feature-icon--xs {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.trust-reviews__header--embed {
    text-align: right;
}
.trust-reviews__header--embed .section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
}

.feature-icon--live {
    background: rgba(155, 45, 59, 0.1);
    color: #dc2626;
}
.feature-icon--community {
    background: rgba(13, 148, 136, 0.12);
    color: var(--accent-hover);
}

.home-promo {
    max-width: 100%;
}

.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.75rem 1rem 0;
    transition: padding 0.3s var(--ease);
}
.site-header-wrap.is-scrolled { padding-top: 0.5rem; }

.site-header-top {
    background: linear-gradient(92deg, var(--ink-soft) 0%, var(--accent-deep) 38%, var(--ink-soft) 100%);
    border-radius: 0.875rem 0.875rem 0 0;
    overflow: hidden;
    position: relative;
}
.site-header-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(200,148,58,0.12), transparent);
    pointer-events: none;
}
.site-header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
}
.site-header-top__start {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}
.site-header-top__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
.site-header-top__badge {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: var(--gold);
    border-radius: 9999px;
}
.site-header-top__link {
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
}
.site-header-top__link:hover { color: var(--gold-soft); }

.site-header {
    background: linear-gradient(180deg, rgba(10,15,28,0.98) 0%, rgba(13,19,33,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 20px 50px rgba(10,15,28,0.25), 0 0 0 1px rgba(255,255,255,0.04) inset;
    backdrop-filter: blur(20px);
    transition: border-radius 0.3s var(--ease), box-shadow 0.3s var(--ease);
    overflow: visible;
}
.site-header-wrap.is-scrolled .site-header-top { display: none; }
.site-header-wrap.is-scrolled .site-header {
    border-radius: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 40px rgba(10,15,28,0.35);
}

.site-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    min-height: 4.75rem;
}

/* Logo — official Nibrak image */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    color: #FFFFFF;
}
.site-logo__mark {
    display: block;
    line-height: 0;
}
.site-logo__mark-img {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}
.site-logo__word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0;
    color: currentColor;
}
.site-logo--light .site-logo__word { color: #0A0A0A; }
.site-logo__img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}
.site-logo--header .site-logo__img {
    max-height: 3.125rem;
    max-width: min(13.5rem, 48vw);
}
.site-logo--hero .site-logo__img {
    max-height: 4rem;
    max-width: min(16rem, 78vw);
}
.site-logo--footer .site-logo__img { max-height: 3.5rem; max-width: 14rem; }
.site-logo--auth .site-logo__img { max-height: 4.25rem; max-width: 15rem; }
.site-logo--sidebar .site-logo__img { max-height: 2.375rem; max-width: 10.5rem; }
.site-logo--light { color: #0A0A0A; }
.auth-panel-visual .site-logo--auth { margin-bottom: 2rem; }

.brand-tagline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
}
.brand-tagline--ar {
    margin-top: 0.375rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
}
.brand-tagline__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.brand-tagline__dot--green { background: var(--trade-green); box-shadow: 0 0 8px rgba(0,230,118,0.5); }
.brand-tagline__dot--red { background: var(--trade-red); box-shadow: 0 0 8px rgba(255,59,59,0.45); }

.site-footer__brand-logo .site-logo { display: block; }
.site-footer__tagline { margin-top: 0.75rem; }

.hero-home__chip-dot {
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.hero-home__chip-dot--green { background: var(--trade-green); }
.hero-home__chip-dot--red { background: var(--trade-red); }

/* Nav */
.site-nav {
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9999px;
}
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.25s var(--ease);
}
.site-nav__icon { width: 1rem; height: 1rem; opacity: 0.7; }
.site-nav__link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}
.site-nav__link.is-active {
    color: white;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.site-nav__link.is-active .site-nav__icon { opacity: 1; }

/* Header actions */
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* User account menu */
.user-menu { position: relative; }
.user-menu__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.user-menu__toggle:hover,
.user-menu.is-open .user-menu__toggle {
    color: white;
    background: rgba(255,255,255,0.1);
    border-color: rgba(45,212,191,0.35);
}
.user-menu__icon { width: 1.25rem; height: 1.25rem; }
.user-menu__badge {
    position: absolute;
    top: -0.1875rem;
    left: -0.1875rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.5625rem;
    font-weight: 800;
    line-height: 1rem;
    text-align: center;
}
.user-menu__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    inset-inline-start: 0;
    inset-inline-end: auto;
    z-index: 600;
    min-width: 12.5rem;
    padding: 0.375rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0f1a16;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.site-mobile-menu__auth {
    display: grid;
    gap: 0.625rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
}
.site-header-actions__login.hidden.sm\:inline-flex {
    display: none;
}
@media (min-width: 640px) {
    .site-header-actions__login.hidden.sm\:inline-flex {
        display: inline-flex;
    }
    .site-header-actions__cta.hidden.sm\:inline-flex {
        display: inline-flex;
    }
}
.user-menu__panel.hidden { display: none; }
.user-menu__form { margin: 0; }
.user-menu__item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: none;
    border-radius: 0.625rem;
    background: transparent;
    color: rgba(255,255,255,0.82);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: right;
}
.user-menu__item svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; opacity: 0.85; }
.user-menu__item:hover { background: rgba(255,255,255,0.06); color: white; }
.user-menu__item--accent { color: var(--gold-light); }
.user-menu__item--accent:hover { background: rgba(201,162,39,0.12); color: var(--gold-light); }
.user-menu__item--danger { color: #fca5a5; }
.user-menu__item--danger:hover { background: rgba(248,113,113,0.1); color: #fecaca; }
.user-menu__count {
    margin-right: auto;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    border-radius: 9999px;
    background: rgba(201,162,39,0.18);
    color: var(--gold-light);
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.125rem;
    text-align: center;
}

.site-header-actions__login {
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-radius: 0.625rem;
    transition: color 0.2s, background 0.2s;
}
.site-header-actions__login:hover { color: white; background: rgba(255,255,255,0.06); }
.site-header-actions__login--block { display: block; text-align: center; width: 100%; }

.site-header-actions__dash {
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.625rem;
    transition: all 0.2s;
}
.site-header-actions__dash:hover { color: white; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }

.site-header-actions__logout {
    padding: 0.55rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.2s;
}
.site-header-actions__logout:hover { color: #fca5a5; border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); }

.site-header-actions__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold) 0%, #e5c76b 100%);
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(201,162,39,0.35);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.site-header-actions__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(201,162,39,0.45);
}
.site-header-actions__cta--block { justify-content: center; width: 100%; }

.site-header-actions__whatsapp {
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #25d366;
    text-decoration: none;
    border: 1px solid rgba(37,211,102,0.35);
    border-radius: 9999px;
    background: rgba(37,211,102,0.1);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.site-header-actions__whatsapp svg { width: 1rem; height: 1rem; fill: currentColor; }
.site-header-actions__whatsapp:hover { color: white; background: #25d366; border-color: #25d366; }

.site-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.82);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.site-header-cart:hover { color: white; background: rgba(255,255,255,0.1); border-color: rgba(45,212,191,0.35); }
.site-header-cart svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.site-header-cart__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    border-radius: 9999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1;
}
.site-header-cart--block { width: 100%; justify-content: center; margin-top: 0.5rem; }
.site-mobile-menu__cart { padding: 0 0.25rem; }

@media (max-width: 640px) {
    .site-header-cart__label { display: none; }
}

.cart-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.cart-page__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--ink);
    margin: 0.375rem 0 0;
}
.cart-page__desc { margin: 0.375rem 0 0; color: #64748b; font-size: 0.9375rem; }

.cart-page__grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
}
.cart-page__items {
    display: grid;
    gap: 0.875rem;
    min-width: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.125rem;
}
.cart-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    background: var(--accent-soft);
    color: var(--accent);
}
.cart-item__icon svg { width: 1.375rem; height: 1.375rem; }
.cart-item__type {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-hover);
    margin-bottom: 0.1875rem;
}
.cart-item__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}
.cart-item__meta { margin: 0.25rem 0 0; font-size: 0.75rem; color: #94a3b8; }
.cart-item__side { text-align: left; }
.cart-item__price {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ink);
}
.cart-item__price span { font-size: 0.75rem; font-weight: 600; color: #94a3b8; }
.cart-item__remove {
    margin-top: 0.375rem;
    padding: 0;
    border: none;
    background: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.cart-item__remove:hover { color: #dc2626; text-decoration: underline; }

.cart-summary {
    padding: 1.25rem;
    width: 100%;
    max-width: 28rem;
    margin-inline: 0 auto;
}
.cart-summary.card:hover {
    transform: none;
}
.cart-summary__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--ink);
}
.cart-summary__rows { margin: 1rem 0 1.25rem; }
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4375rem 0;
    font-size: 0.875rem;
    color: #64748b;
}
.cart-summary__row dd { margin: 0; font-weight: 700; color: var(--ink); }
.cart-summary__row--total {
    margin-top: 0.375rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 1rem;
}
.cart-summary__row--total dd { color: var(--accent-hover); font-size: 1.125rem; }
.cart-summary__continue {
    display: block;
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-hover);
    text-decoration: none;
}
.cart-summary__continue:hover { color: var(--accent); }

.cart-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: var(--accent-soft);
    color: var(--accent);
}
.cart-empty__icon svg { width: 2rem; height: 2rem; }
.cart-empty__title {
    margin: 1rem 0 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
}
.cart-empty__desc { margin: 0.375rem 0 0; color: #64748b; font-size: 0.875rem; }
.cart-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: #25d366 !important;
    text-decoration: none;
}
.whatsapp-link svg { width: 1rem; height: 1rem; fill: currentColor; }
.whatsapp-link:hover { color: #5dff92 !important; }
.site-header-top .whatsapp-link { color: rgba(255,255,255,0.95) !important; font-size: 0.8125rem; }
.site-header-top .whatsapp-link:hover { color: #bbf7d0 !important; }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.whatsapp-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,0.45); color: white; }

.whatsapp-float {
    position: fixed;
    inset-inline-start: 1.25rem;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 190;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 0 6px 28px rgba(37,211,102,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float svg { width: 1.625rem; height: 1.625rem; fill: currentColor; }
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 8px 32px rgba(37,211,102,0.55); color: white; }
.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.site-mobile-menu__whatsapp { margin: 0.75rem 0; }
.site-mobile-menu__whatsapp .whatsapp-btn { width: 100%; }

/* Burger */
.site-header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.625rem;
    cursor: pointer;
}
.site-header-burger span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.site-header-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header-burger.is-open span:nth-child(2) { opacity: 0; }
.site-header-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.site-mobile-menu {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 1.25rem 1.25rem;
}
.site-mobile-menu__nav { display: flex; flex-direction: column; gap: 0.35rem; }
.site-mobile-menu__link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: background 0.2s, color 0.2s;
}
.site-mobile-menu__link:hover { color: white; background: rgba(255,255,255,0.06); }
.site-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Legacy nav-link (dashboard etc.) */
.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 0.625rem;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: rgba(13, 148, 136, 0.06); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: var(--teal-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 8px 28px var(--accent-glow); transform: translateY(-1px); }
.btn-gold {
    background: var(--gold-gradient);
    color: var(--ink);
    box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 8px 28px var(--gold-glow); transform: translateY(-1px); }
.btn-outline {
    background: var(--surface-elevated);
    color: var(--text);
    border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-hover); background: var(--accent-soft); }
.btn-outline-light {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: white; color: var(--ink); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(13, 148, 136, 0.15);
}

.hero-dark {
    position: relative;
    overflow: hidden;
    background: var(--header-gradient);
    border-radius: var(--radius-xl);
    color: var(--text-on-dark);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: var(--shadow-luxury);
}
.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 15% 35%, rgba(13, 148, 136, 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 45% 35% at 88% 15%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero-dark::after {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--teal-bar-gradient);
    z-index: 3;
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: float 10s ease-in-out infinite;
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(125deg, rgba(200,148,58,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px, 36px 36px, 36px 36px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 100%);
}
.hero-orb-1 { width: 340px; height: 340px; background: rgba(23,128,95,0.28); top: -12%; left: -8%; }
.hero-orb-2 { width: 220px; height: 220px; background: rgba(200,148,58,0.14); bottom: 8%; right: 6%; animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(20px, -20px, 0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.7s var(--ease) forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}
.badge-teal { background: var(--accent-soft); color: var(--accent-hover); border: 1px solid rgba(13,148,136,0.12); }
.badge-gold { background: var(--gold-soft); color: #7a6218; border: 1px solid rgba(201,162,39,0.18); }
.badge-dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.12); }

.stat-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 0.8125rem; color: var(--text-on-dark-muted); margin-top: 0.35rem; }

/* Homepage hero */
.hero-home__inner {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.25rem 1.5rem;
}
@media (min-width: 640px) {
    .hero-home__inner { padding: 1.5rem 2rem 2rem; }
}
@media (min-width: 1024px) {
    .hero-home__inner { padding: 2rem 2.5rem 2.5rem; }
}

.hero-home__intro {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(12,22,18,0.72) 0%, rgba(8,14,12,0.58) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (min-width: 640px) {
    .hero-home__intro {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.875rem 1.125rem;
    }
}

.hero-home__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}
.hero-home__mark,
.hero-home__brand-text,
.hero-home__brand-name,
.hero-home__brand-sub { display: none; }

.hero-home__chips {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.625rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.22);
}
.hero-home__chip {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.06em;
}

.hero-home__grid {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .hero-home__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.85fr);
        gap: 2.5rem;
        align-items: center;
    }
}

.hero-home__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: white;
}
.hero-home__title-line { display: block; }
.hero-home__title-accent {
    display: block;
    margin-top: 0.375rem;
}

.hero-home__lead {
    margin: 1rem 0 0;
    max-width: 34rem;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.62);
}

.hero-home__highlights {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
@media (min-width: 768px) {
    .hero-home__highlights {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.625rem;
    }
}
.hero-home__highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    font-size: 0.75rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
}
.hero-home__highlight strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 0.125rem;
}
.hero-home__highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: rgba(13,148,136,0.18);
    color: var(--accent-light);
}
.hero-home__highlight-icon svg { width: 1rem; height: 1rem; }
.hero-home__highlight-icon--live { background: rgba(248,113,113,0.14); color: #fca5a5; }
.hero-home__highlight-icon--community { background: rgba(201,162,39,0.14); color: var(--gold-light); }

.hero-home__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
@media (min-width: 480px) {
    .hero-home__actions { flex-direction: row; flex-wrap: wrap; }
}
.hero-home__note {
    margin: 0.875rem 0 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.42);
}
.hero-home__note strong { color: var(--gold-light); font-weight: 700; }

.hero-home__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (max-width: 1023px) {
    .hero-home__stats { margin-top: 0.25rem; }
}
.hero-home__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5.5rem;
    padding: 1rem 1.125rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(8px);
}
.hero-home__stat--wide { grid-column: 1 / -1; }
.hero-home__stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-light);
}
.hero-home__stat-label {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-hover);
}
.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    border-radius: 0;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4.5vw, 2.625rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.course-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(145deg, var(--ink-soft), var(--ink-muted));
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .course-thumb img { transform: scale(1.05); }
.course-thumb-placeholder {
    display: flex; align-items: center; justify-content: center; height: 100%;
    background: linear-gradient(145deg, #0d9488, #0a0f1c);
}

/* Course card — consistent layout & proportions */
.course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.course-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.125rem 1.25rem 0.625rem;
    min-height: 0;
}
.course-card__body h2,
.course-card__body h3 {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-card__desc {
    flex: 1;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
    min-height: calc(0.8125rem * 1.7 * 2);
}
.course-card__meta {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    opacity: 0.8;
}
.course-card__footer {
    flex-shrink: 0;
    padding: 0.875rem 1.25rem 1.125rem;
    margin-top: auto;
}
.course-card__footer .btn {
    width: 100%;
    padding-block: 0.625rem;
    font-size: 0.8125rem;
}

.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.form-input {
    width: 100%; padding: 0.875rem 1rem; font-family: var(--font-body); font-size: 0.9375rem;
    color: var(--ink); background: var(--surface); border: 1.5px solid var(--border);
    border-radius: 0.75rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: white; }

/* ===== Auth pages (Nibrak) ===== */
body.page-auth {
  background: #0A0A0A;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.page-auth .site-top-stack {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}
body.page-auth main {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.page-auth .float-wa,
body.page-auth .whatsapp-float,
body.page-auth [data-whatsapp-float] {
  /* keep WhatsApp; no layout impact */
}

.auth-split {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #F7F4F0;
}
@media (min-width: 1024px) {
  .auth-split {
    grid-template-columns: minmax(28rem, 42%) minmax(0, 1.05fr); /* form | visual */
    grid-template-rows: 1fr;
  }
}

.auth-panel-visual {
  display: none;
  position: relative;
  overflow: hidden;
  background: #0A0A0A;
  min-height: 100%;
}
@media (min-width: 1024px) {
  .auth-panel-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* toward the form column */
    padding: clamp(2.5rem, 5vw, 4.5rem);
  }
}
.auth-panel-visual__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-panel-visual .nb-hero__glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.auth-panel-visual .nb-hero__glow--a {
  inset-inline-start: 8%;
  top: 12%;
  width: min(28rem, 70%);
  height: min(28rem, 70%);
  background: radial-gradient(circle, rgba(245,197,24,.28) 0%, transparent 68%);
  filter: blur(4px);
}
.auth-panel-visual .nb-hero__glow--b {
  inset-inline-end: -8%;
  bottom: -5%;
  width: min(22rem, 55%);
  height: min(22rem, 55%);
  background: radial-gradient(circle, rgba(122,31,43,.45) 0%, transparent 70%);
  filter: blur(6px);
}
.auth-panel-visual .hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 78%);
}
.nb-hero__visual--auth {
  position: absolute !important;
  inset: auto !important;
  inset-inline-end: 6% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: min(34rem, 72%) !important;
  z-index: 1 !important;
  opacity: .9 !important;
  pointer-events: none !important;
  mask-image: radial-gradient(circle at 45% 50%, #000 38%, transparent 78%) !important;
}
.auth-panel-visual__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 30rem);
  display: grid;
  gap: 1rem;
  align-content: center;
}
.auth-panel-visual__brand { margin-bottom: .15rem; }
.auth-panel-visual__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #FFF8EE;
  max-width: 11ch;
}
.auth-panel-visual__desc {
  margin: 0;
  max-width: 32ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 248, 238, .64);
}

.auth-panel-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.25rem);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(122, 31, 43, 0.06) 0%, transparent 55%),
    #F7F4F0;
}
.auth-panel-form__inner {
  width: min(100%, 28rem);
}
.auth-panel-form__mobile-brand { margin-bottom: 1.35rem; }
.auth-panel-form__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #120e0b;
  line-height: 1.2;
}
.auth-panel-form__head p {
  margin: .45rem 0 0;
  color: #6b5b4d;
  font-size: .92rem;
}
.auth-alert {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  font-size: .875rem;
  font-weight: 600;
}
.auth-alert--ok { border: 1px solid #a7f3d0; background: #ecfdf5; color: #065f46; }
.auth-alert--err { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; }

.auth-form {
  margin-top: 1.35rem;
  display: grid;
  gap: .95rem;
  padding: 1.35rem 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(26, 20, 16, .1);
  border-radius: 1rem;
  box-shadow: 0 16px 36px -22px rgba(18, 12, 8, .32);
}
@media (min-width: 480px) {
  .auth-form { padding: 1.5rem 1.45rem 1.55rem; }
}
.auth-form .form-group { margin: 0; }
.auth-form .form-label {
  display: block;
  margin-bottom: .4rem;
  font-size: .84rem;
  font-weight: 700;
  color: #2a211c;
}
.auth-form select.form-input { appearance: auto; cursor: pointer; }
.auth-form .form-input {
  width: 100%;
  min-height: 2.85rem;
  border-radius: .65rem;
  border: 1px solid rgba(26, 20, 16, .16);
  background: #FBF8F4;
  padding: .7rem .9rem;
}
.auth-form .form-input:focus {
  outline: none;
  border-color: #F5C518;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, .22);
  background: #fff;
}
.auth-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
}
.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  color: #4a3f34;
  cursor: pointer;
}
.auth-forgot {
  font-size: .875rem;
  font-weight: 750;
  color: #7A1F2B;
  text-decoration: none;
}
.auth-forgot:hover { text-decoration: underline; }

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  margin-top: .2rem;
  border: 0;
  border-radius: .7rem;
  background: #F5C518 !important;
  background-image: none !important;
  color: #0A0A0A !important;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .2s ease, transform .15s ease;
}
.auth-submit:hover {
  background: #E0B000 !important;
  background-image: none !important;
  color: #0A0A0A !important;
}
.auth-submit:active { transform: scale(.985); }


.auth-level-hint {
  margin: .2rem 0 .7rem;
  font-size: .8rem;
  color: #7a6a5a;
}
.auth-level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
a.auth-level-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.auth-level-chip {
  min-height: 2.55rem;
  border: 1px solid rgba(26, 20, 16, .14);
  border-radius: .65rem;
  background: #FBF8F4;
  color: #2a211c;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .12s ease;
}
.auth-level-chip:hover {
  border-color: rgba(245, 197, 24, .65);
  background: #fff;
}
.auth-level-chip.is-active {
  border-color: #F5C518;
  background: #F5C518;
  color: #0A0A0A;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, .18);
}
.auth-level-detail {
  margin-top: .85rem;
  padding: .95rem 1rem 1rem;
  border-radius: .85rem;
  border: 1px solid rgba(26, 20, 16, .1);
  background: linear-gradient(180deg, #FFFDF8 0%, #F7F1E8 100%);
}
.auth-level-detail__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: .2rem .55rem;
  border-radius: .45rem;
  background: #0A0A0A;
  color: #F5C518;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
}
.auth-level-detail__title {
  margin: .65rem 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #120e0b;
  line-height: 1.35;
}
.auth-level-detail__desc {
  margin: .4rem 0 0;
  font-size: .88rem;
  line-height: 1.65;
  color: #5c4f42;
}
.auth-level-detail__features-label {
  margin: .85rem 0 .4rem;
  font-size: .78rem;
  font-weight: 800;
  color: #7A1F2B;
  letter-spacing: .01em;
}
.auth-level-detail__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}
.auth-level-detail__features li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: .84rem;
  line-height: 1.55;
  color: #2f261f;
}
.auth-level-detail__more {
  display: inline-flex;
  margin-top: .85rem;
  font-size: .84rem;
  font-weight: 800;
  color: #7A1F2B;
  text-decoration: none;
}
.auth-level-detail__more:hover { text-decoration: underline; }
.auth-level-detail__features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .45rem;
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: #F5C518;
}
.auth-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .84rem;
  line-height: 1.6;
  color: #7a6a5a;
}

.dash-sidebar { background: var(--ink); border-left: 1px solid var(--border-dark); }
.dash-nav-link {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
    font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.55);
    border-radius: 0.75rem; text-decoration: none; transition: all 0.2s;
}
.dash-nav-link:hover { color: white; background: rgba(255,255,255,0.06); }
.dash-nav-link.active { color: white; background: linear-gradient(135deg, var(--accent), #0f766e); box-shadow: 0 4px 16px var(--accent-glow); }
.dash-nav-link svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.dash-section-label { padding: 0.625rem 0.75rem 0.25rem; margin-top: 0.75rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }
.dash-section-label:first-child { margin-top: 0; }

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13,148,136,0.35), rgba(45,212,191,0.2));
    border: 2px solid rgba(45,212,191,0.35);
}
.user-avatar--sm { width: 2.5rem; height: 2.5rem; }
.user-avatar--lg { width: 4rem; height: 4rem; }
.user-avatar--xl { width: 6rem; height: 6rem; border-width: 3px; }
.user-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.user-avatar__initials {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: #5eead4;
    line-height: 1;
}
.user-avatar--lg .user-avatar__initials { font-size: 1.375rem; }
.user-avatar--xl .user-avatar__initials { font-size: 2rem; }

.profile-avatar-editor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}
.profile-avatar-editor__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}
.profile-avatar-editor__upload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(13,148,136,0.45);
    background: rgba(13,148,136,0.06);
    color: var(--accent-hover);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.profile-avatar-editor__upload:hover {
    background: rgba(13,148,136,0.1);
    border-color: var(--accent);
}
.profile-avatar-editor__upload svg { width: 1.125rem; height: 1.125rem; }
.profile-avatar-editor__remove {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    cursor: pointer;
}
.profile-avatar-editor__remove input { width: 1rem; height: 1rem; }

.profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.profile-summary__info { min-width: 0; }
.profile-summary__name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}
.profile-summary__meta {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}
.profile-summary__meta--phone {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--accent-hover);
    font-weight: 600;
}
.profile-summary__meta--phone svg { width: 0.9375rem; height: 0.9375rem; flex-shrink: 0; }

.identity-doc-preview {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(13,148,136,0.2);
    background: rgba(13,148,136,0.05);
}
.identity-doc-preview__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.625rem;
    background: white;
    border: 1px solid rgba(13,148,136,0.15);
    overflow: hidden;
    flex-shrink: 0;
    color: var(--accent);
}
.identity-doc-preview__icon svg { width: 1.5rem; height: 1.5rem; }
.identity-doc-preview__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.identity-doc-preview__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
}
.identity-doc-preview__filename,
.identity-doc-preview__link {
    margin: 0.1875rem 0 0;
    font-size: 0.75rem;
}
.identity-doc-preview__link {
    display: inline-block;
    color: var(--accent-hover);
    font-weight: 600;
    text-decoration: none;
}
.identity-doc-preview__link:hover { color: var(--accent); }

.admin-sidebar { background: #070b14; border-left: 1px solid var(--border-dark); }
.admin-section-label { padding: 0.5rem 0.75rem; margin-top: 1rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.admin-nav-link {
    display: block; padding: 0.625rem 0.75rem; font-size: 0.8125rem; font-weight: 500;
    color: rgba(255,255,255,0.5); border-radius: 0.5rem; text-decoration: none;
}
.admin-nav-link:hover { color: white; background: rgba(255,255,255,0.05); }
.admin-nav-link.active { color: white; background: rgba(13,148,136,0.2); border-right: 2px solid var(--accent); }

/* Mobile drawer for admin + dashboard sidebars (RTL: docked on the right) */
.panel-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(7, 11, 20, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.panel-sidebar {
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
}
.panel-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
body.panel-nav-open {
    overflow: hidden;
}
@media (min-width: 1024px) {
    .panel-nav-overlay { display: none !important; }
    .panel-sidebar {
        transform: none;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        width: 16rem;
    }
    .admin-sidebar.panel-sidebar { width: 18rem; }
}

.pricing-card {
    position: relative; display: flex; flex-direction: column; padding: 2rem;
    background: var(--surface-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(13,148,136,0.15); }
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(13,148,136,0.2), var(--shadow);
    margin-top: 1rem;
}
@media (max-width: 1023px) {
    .pricing-card.featured { margin-top: 0; }
}
.pricing-card.featured::before {
    content: 'الأكثر طلباً'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    padding: 0.35rem 1rem; font-size: 0.75rem; font-weight: 700; color: white;
    background: var(--teal-gradient); border-radius: 9999px;
}

.bento-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(12, 1fr); }
.bento-span-4, .bento-span-6, .bento-span-8 { grid-column: span 12; }
@media (min-width: 768px) {
    .bento-span-4 { grid-column: span 4; }
    .bento-span-6 { grid-column: span 6; }
    .bento-span-8 { grid-column: span 8; }
}

.feature-icon {
    display: flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 0.875rem;
    background: var(--accent-soft); color: var(--accent-hover);
    border: 1px solid rgba(13,148,136,0.12);
}

.alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-info { background: #f0fdfa; border: 1px solid #99f6e4; color: #115e59; }

.site-footer {
    position: relative;
    background: #0f1a16;
    color: rgba(255,255,255,0.55);
    margin-top: 0;
    border-top: 2px solid var(--gold);
}
.site-footer a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--gold-light); }

.site-footer__main {
    padding: 2.25rem 0 2rem;
}

.site-footer__grid {
    display: grid;
    gap: 1.75rem 1.5rem;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 640px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: minmax(11rem, 1.35fr) repeat(4, minmax(0, 1fr));
        gap: 1.5rem 2rem;
    }
}

/* Brand column */
.site-footer__brand { max-width: 16rem; }
.site-footer__brand-logo {
    display: inline-block;
    text-decoration: none;
}
.site-footer__brand-name {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.375rem, 2.5vw, 1.625rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.92);
    line-height: 1.15;
    text-transform: uppercase;
}
.site-footer__brand-logo:hover .site-footer__brand-name { color: var(--gold-light); }
.site-footer__tagline {
    margin: 0.625rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.42);
}
.site-footer__brand-contact {
    margin-top: 0.75rem;
}
.site-footer .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #25d366 !important;
}
.site-footer .whatsapp-link:hover { color: #4ade80 !important; }
.site-footer .whatsapp-link svg { width: 1rem; height: 1rem; flex-shrink: 0; fill: currentColor; }

.site-footer__social {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.site-footer__social-link svg { width: 0.75rem; height: 0.75rem; }
.site-footer__social-link:hover {
    background: rgba(201,162,39,0.12);
    border-color: rgba(201,162,39,0.35);
    color: var(--gold-light);
}

.site-footer__license {
    margin-top: 0.625rem;
    padding: 0.4375rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    font-size: 0.5625rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.36);
    white-space: pre-line;
}
.site-footer__license[dir="ltr"] {
    text-align: left;
    font-size: 0.53125rem;
    letter-spacing: 0.01em;
}

/* Link columns */
.site-footer__heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    margin: 0 0 0.875rem;
    padding: 0 0 0.5rem;
    border: none;
    position: relative;
}
.site-footer__heading::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1.75rem;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}
.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
}
.site-footer__links a {
    font-size: 0.8125rem;
    line-height: 1.5;
    display: inline-block;
}
.site-footer__links a:hover { color: var(--gold-light); }

/* Bottom bar */
.site-footer__bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.22);
}
.site-footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.875rem 0;
}
.site-footer__copy {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.4;
}
.site-footer__lang {
    display: inline-flex;
    align-items: center;
}

/* Language switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.22);
    gap: 0.125rem;
}
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.lang-switch__btn:hover { color: rgba(255,255,255,0.92); }
.lang-switch__btn.is-active {
    background: linear-gradient(135deg, rgba(200,148,58,0.28) 0%, rgba(23,128,95,0.22) 100%);
    color: var(--gold-light);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.lang-switch--top {
    border-color: rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.28);
}
.lang-switch--header {
    flex-shrink: 0;
}
.lang-switch--mobile {
    width: 100%;
    justify-content: center;
    padding: 0.25rem;
}
.lang-switch--mobile .lang-switch__btn {
    flex: 1;
    min-width: 0;
    padding-block: 0.5rem;
    font-size: 0.75rem;
}
.site-mobile-menu__lang {
    padding: 0 0 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Trust Reviews (Trustpilot + Google) ── */
.trust-reviews { width: 100%; }
.trust-reviews--cards { padding: 0; }
.section-band--white .trust-reviews--cards { padding: 0; }
.trust-reviews--strip {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    padding: 1.75rem 0;
}
.trust-reviews--inline { margin-top: 2rem; }

.trust-reviews__header {
    text-align: center;
    margin-bottom: 1.25rem;
}
.trust-reviews__label-center {
    justify-content: center;
}
.trust-reviews__title-center {
    margin-top: 0.5rem;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}
.trust-reviews__strip-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
}

.trust-reviews__grid {
    display: grid;
    gap: 0.875rem;
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-inline: auto;
}
@media (min-width: 640px) {
    .trust-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
.trust-reviews--inline .trust-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 28rem;
}
.trust-reviews--strip .trust-reviews__grid {
    max-width: 42rem;
    margin: 0 auto;
}

.trust-card {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.trust-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 10.5rem;
    padding: 0;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.trust-reviews--cards .trust-card__link {
    background: linear-gradient(180deg, var(--surface-elevated) 0%, #f5f3ed 100%);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.trust-reviews--cards .trust-card__link:hover {
    transform: translateY(-2px);
    border-color: rgba(13,148,136,0.22);
    box-shadow: var(--shadow);
}
.trust-reviews--strip .trust-card__link,
.trust-reviews--inline .trust-card__link {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    min-height: auto;
    padding: 0.875rem 1rem;
    gap: 0.375rem;
}
.trust-reviews--strip .trust-card__link:hover,
.trust-reviews--inline .trust-card__link:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    color: white;
}

.trust-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem 0.625rem;
    border-bottom: 1px solid var(--border);
}
.trust-reviews--strip .trust-card__head,
.trust-reviews--inline .trust-card__head {
    padding: 0;
    border-bottom: none;
}
.trust-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.875rem 1rem 0.625rem;
    text-align: center;
}
.trust-reviews--strip .trust-card__body,
.trust-reviews--inline .trust-card__body {
    padding: 0;
    align-items: flex-start;
    text-align: right;
}
.trust-card__footer {
    padding: 0.625rem 1rem 0.875rem;
    margin-top: auto;
}
.trust-reviews--strip .trust-card__footer,
.trust-reviews--inline .trust-card__footer {
    display: none;
}

.trust-card__widget {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.trust-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
}
.trust-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.4375rem;
    flex-shrink: 0;
}
.trust-card__icon svg { width: 0.875rem; height: 0.875rem; }
.trust-card__icon--trustpilot { background: #00b67a; color: white; }
.trust-card__logo--google { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.trust-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
}
.trust-reviews--cards .trust-card__name { color: var(--ink); }
.trust-reviews--strip .trust-card__name,
.trust-reviews--inline .trust-card__name { color: white; }

.trust-card__rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    flex-wrap: wrap;
}
.trust-reviews--strip .trust-card__rating-row,
.trust-reviews--inline .trust-card__rating-row {
    justify-content: flex-start;
}
.trust-card__score {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1;
}
.trust-reviews--cards .trust-card__score { color: var(--ink); }
.trust-reviews--strip .trust-card__score,
.trust-reviews--inline .trust-card__score { color: white; font-size: 1rem; }

.trust-stars { display: inline-flex; gap: 0.0625rem; }
.trust-star { display: inline-flex; color: #e2e8f0; }
.trust-star svg { width: 0.9375rem; height: 0.9375rem; fill: currentColor; }
.trust-reviews--inline .trust-star svg { width: 0.8125rem; height: 0.8125rem; }
.trust-star.is-full { color: #00b67a; }
.trust-stars--google .trust-star.is-full { color: #fbbc04; }
.trust-star.is-half {
    background: linear-gradient(90deg, #00b67a 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #00b67a;
}
.trust-stars--google .trust-star.is-half {
    background: linear-gradient(90deg, #fbbc04 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fbbc04;
}
.trust-reviews--strip .trust-star,
.trust-reviews--inline .trust-star { color: rgba(255,255,255,0.15); }
.trust-reviews--strip .trust-star.is-half,
.trust-reviews--inline .trust-star.is-half {
    background: linear-gradient(90deg, #00b67a 50%, rgba(255,255,255,0.15) 50%);
}
.trust-reviews--strip .trust-stars--google .trust-star.is-half,
.trust-reviews--inline .trust-stars--google .trust-star.is-half {
    background: linear-gradient(90deg, #fbbc04 50%, rgba(255,255,255,0.15) 50%);
}

.trust-card__count {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.trust-reviews--strip .trust-card__count,
.trust-reviews--inline .trust-card__count {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.55);
}

.trust-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5625rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 9999px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    border: 1px solid rgba(13,148,136,0.14);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.trust-card__link:hover .trust-card__cta {
    background: var(--teal-gradient);
    color: white;
    border-color: transparent;
}
.trust-card--trustpilot .trust-card__link:hover { border-color: rgba(0,182,122,0.28); }
.trust-card--google .trust-card__link:hover { border-color: rgba(66,133,244,0.28); }

/* Contact strip */
.contact-strip { padding: 0; }
.contact-strip__inner {
    display: flex; flex-direction: column; gap: 1.5rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border-right: 4px solid var(--accent);
}
@media (min-width: 768px) {
    .contact-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.contact-strip__label {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: var(--accent); margin-bottom: 0.375rem;
}
.contact-strip__title {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    color: var(--ink); margin: 0;
}
.contact-strip__desc { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); max-width: 28rem; }
.contact-strip__channels {
    display: grid; gap: 0.625rem;
    grid-template-columns: 1fr;
    min-width: 0;
}
@media (min-width: 640px) { .contact-strip__channels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-strip__channels { grid-template-columns: repeat(2, minmax(10rem, 1fr)); } }
.contact-strip__channels .whatsapp-btn { grid-column: 1 / -1; }
.contact-strip__channel {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-strip__channel:hover {
    border-color: rgba(13,148,136,0.25);
    background: var(--accent-soft);
    box-shadow: var(--shadow-sm);
}
.contact-strip__channel--ghost { border-style: dashed; }
.contact-strip__channel-icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 2.25rem; height: 2.25rem;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 0.625rem;
}
.contact-strip__channel-icon svg { width: 1.125rem; height: 1.125rem; }
.contact-strip__channel-label { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); }
.contact-strip__channel-value { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }

.logo-mark {
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem;
    background: linear-gradient(135deg, var(--accent), #065f46);
    border-radius: 0.75rem; font-family: var(--font-display);
    font-weight: 800; font-size: 1.125rem; color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.logo-text { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.logo-text-light { color: white; }

.empty-state { text-align: center; padding: 4rem 2rem; background: var(--surface-elevated); border: 1px dashed var(--border-strong); border-radius: var(--radius-xl); }
.container-xl { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container-xl { padding: 0 1.5rem; } }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.divider-gold { height: 3px; width: 48px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; margin-top: 0.75rem; }

/* ── Atmospheric layers ── */
.Nibrak-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.Nibrak-atmosphere--mesh {
    opacity: 1;
    background:
        radial-gradient(ellipse 55% 40% at 88% 8%, rgba(200,148,58,0.09) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 5% 92%, rgba(23,128,95,0.07) 0%, transparent 50%);
}
main,
.site-footer {
    position: relative;
    z-index: 1;
}

@keyframes reveal-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes line-sweep {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* ── Editorial page hero ── */
.page-hero {
    padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 6vw, 4rem);
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(200,148,58,0.08) 0%, transparent 68%);
    pointer-events: none;
}
.page-hero__inner {
    position: relative;
    display: grid;
    gap: 1.5rem;
    align-items: end;
}
@media (min-width: 768px) {
    .page-hero__inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.55fr);
        gap: 2rem;
    }
}
.page-hero__title {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
}
.page-hero__aside {
    padding: 1rem 1.125rem;
    border-inline-start: 2px solid var(--gold);
    background: rgba(255,255,255,0.04);
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    line-height: 1.65;
    transform: translateY(0.5rem);
}
.page-hero .form-input {
    border-radius: 0.5rem;
}

/* ── Hero home — asymmetric editorial ── */
.hero-home {
    isolation: isolate;
    transform: rotate(-0.35deg) translateZ(0);
    margin-inline: -0.25rem;
}
@media (min-width: 1024px) {
    .hero-home__stats {
        transform: translateY(-1.25rem) translateX(-0.75rem);
    }
}
.hero-home__title {
    font-weight: 700;
    letter-spacing: -0.025em;
}
.hero-home__brand-name {
    font-family: var(--font-brand);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
}
.hero-home__stat-value {
    color: var(--gold-light);
    font-variant-numeric: tabular-nums;
}
.hero-home__stat {
    border-inline-start: 2px solid rgba(200,148,58,0.35);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ── Featured courses — 3 in one row, side by side ── */
.home-courses-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
}
.home-courses-row > .course-card {
    flex: 1 1 0;
    min-width: 0;
    width: calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
}
@media (max-width: 900px) {
    .home-courses-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    .home-courses-row > .course-card {
        flex: 0 0 78%;
        width: 78%;
        max-width: 78%;
        scroll-snap-align: start;
    }
}

/* ── Cards — editorial frame ── */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6);
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(200,148,58,0.06);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.card { position: relative; }
.card:hover::before { opacity: 1; }

.btn {
    border-radius: 0.5rem;
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--teal-gradient);
    box-shadow: 0 6px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.site-logo__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.site-nav__link.is-active {
    background: linear-gradient(135deg, rgba(200,148,58,0.22) 0%, rgba(23,128,95,0.35) 100%);
    box-shadow: inset 0 0 0 1px rgba(200,148,58,0.2);
}

.logo-mark {
    background: linear-gradient(145deg, var(--gold) 0%, var(--accent-deep) 100%);
    font-family: var(--font-brand);
    font-style: italic;
    font-weight: 400;
}

/* Rich HTML content (plans, CMS, footer, payment notes) */
.rich-content {
    line-height: 1.75;
    color: #334155;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: #0f172a;
    margin: 1.25em 0 0.5em;
}

.rich-content h1 { font-size: 1.875rem; }
.rich-content h2 { font-size: 1.5rem; }
.rich-content h3 { font-size: 1.25rem; }

.rich-content p { margin: 0.75em 0; }

.rich-content ul,
.rich-content ol {
    margin: 0.75em 0;
    padding-inline-start: 1.5em;
    padding-inline-end: 0;
    list-style-position: outside;
}

.rich-content li { margin: 0.35em 0; }

.rich-content a {
    color: #17805f;
    text-decoration: underline;
}

.rich-content blockquote {
    margin: 1em 0;
    padding: 0.75em 1em;
    border-right: 4px solid #17805f;
    background: #f8fafc;
    color: #475569;
}

.rich-content pre,
.rich-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.rich-content pre {
    margin: 1em 0;
    padding: 1em;
    overflow-x: auto;
    border-radius: 0.75rem;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.875rem;
}

.rich-content :not(pre) > code {
    padding: 0.15em 0.4em;
    border-radius: 0.375rem;
    background: #f1f5f9;
    color: #be123c;
    font-size: 0.875em;
}

.rich-content table {
    display: block;
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rich-content th,
.rich-content td {
    border: 1px solid #e2e8f0;
    padding: 0.5em 0.75em;
    text-align: right;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.rich-content hr {
    margin: 1.5em 0;
    border: none;
    border-top: 1px solid #e2e8f0;
}

/* ── Stitch landing (home) ── */
.home-stitch-hero {
    padding: 0 0 0.5rem;
}
.home-stitch-hero .hero-home {
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.home-stitch-hero .hero-home__highlights { display: none; }
.home-stitch-hero .hero-home__intro {
    margin-bottom: 1.25rem;
}
.home-stitch-hero .hero-home__chips {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.home-stitch-hero .hero-home__chip:first-child {
    background: var(--trade-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.home-stitch-hero .hero-home__chip-dot { display: none; }
.home-stitch-hero .hero-home__actions .btn-outline-light {
    background: var(--trade-red);
    border-color: transparent;
    color: white;
}
.home-stitch-hero .hero-home__actions .btn-outline-light:hover {
    background: #dc2626;
    color: white;
}
.home-stitch-hero .hero-home__note::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--trade-green);
    margin-inline-end: 0.5rem;
    vertical-align: middle;
}
.home-stitch-hero .hero-home__stat {
    background: rgba(13, 38, 35, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.home-stitch-why {
    background: #f2efe4;
    padding: 4rem 0;
}
.home-stitch-why__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}
.home-stitch-why__head .section-label {
    color: var(--text-muted);
    font-weight: 700;
}
.home-stitch-why__head .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0.5rem 0;
}
.home-stitch-why__subtitle {
    margin: 0;
    color: var(--text-muted);
}
.home-stitch-block__title {
    margin: 0 0 1.5rem;
    padding-inline-start: 1rem;
    border-inline-start: 4px solid var(--accent-deep);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--ink);
}
.home-stitch-cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}
@media (max-width: 900px) {
    .home-stitch-cards { grid-template-columns: 1fr; }
}
.home-stitch-card {
    background: #0b2b26;
    border-radius: 1.5rem;
    padding: 1.75rem;
    color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease);
}
.home-stitch-card:hover {
    box-shadow: 0 20px 40px rgba(3,5,8,0.25);
}
.home-stitch-card__img {
    height: 10rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}
.home-stitch-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.home-stitch-card:hover .home-stitch-card__img img {
    transform: scale(1.08);
}
.home-stitch-card__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}
.home-stitch-card__desc {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.home-stitch-card--sm .home-stitch-card__title { font-size: 1.0625rem; }
.home-stitch-card--sm .home-stitch-card__desc { font-size: 0.8125rem; }

.home-stitch-advantages {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
@media (max-width: 900px) {
    .home-stitch-advantages { grid-template-columns: 1fr; }
}
.home-stitch-licenses {
    background: #0b2b26;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 1.75rem;
    color: white;
    height: 100%;
}
.home-stitch-licenses__title {
    margin: 0 0 1rem;
    padding-inline-start: 1rem;
    border-inline-start: 4px solid var(--accent-light);
    font-size: 1.25rem;
    font-weight: 700;
}
.home-stitch-licenses__desc {
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.home-stitch-license-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}
.home-stitch-license-item + .home-stitch-license-item {
    margin-top: 0.875rem;
}
.home-stitch-license-item__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgba(62, 207, 154, 0.15);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-stitch-license-item__icon svg { width: 1.25rem; height: 1.25rem; }
.home-stitch-license-item__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
}
.home-stitch-license-item__desc {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}
.home-stitch-features-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
@media (max-width: 1100px) {
    .home-stitch-features-grid { grid-template-columns: 1fr; }
}

.home-stitch-reviews {
    background: #f2efe4;
    padding: 0 0 4rem;
}
.home-stitch-reviews .trust-reviews__header {
    text-align: center;
    margin-bottom: 2rem;
}

.home-stitch-courses .section-band__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.home-stitch-courses__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
    .home-stitch-courses__grid { grid-template-columns: 1fr; }
}
.home-stitch-course {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}
.home-stitch-course:hover {
    border-color: rgba(62, 207, 154, 0.45);
}
.home-stitch-course__thumb {
    position: relative;
    height: 12rem;
    background: linear-gradient(135deg, #0b2b26, #164d44);
}
.home-stitch-course__thumb .badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 1;
}
.home-stitch-course__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-stitch-course__body {
    padding: 1.5rem;
}
.home-stitch-course__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}
.home-stitch-course__desc {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    line-height: 1.55;
}
.home-stitch-course__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.home-stitch-course__btn:hover {
    background: rgba(255,255,255,0.18);
    color: white;
}

.home-stitch-partners {
    padding: 4rem 0;
    background: var(--surface-dark);
}
.home-stitch-partners__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.home-stitch-partners__head .section-label { color: var(--accent-light); }
.home-stitch-partners__head .section-title { color: white; }
.home-stitch-partners__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
}
@media (max-width: 900px) {
    .home-stitch-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.home-stitch-partner {
    display: flex;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1rem;
    transition: border-color 0.25s var(--ease);
}
.home-stitch-partner:hover { border-color: rgba(62, 207, 154, 0.3); }
.home-stitch-partner img {
    height: 3rem;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
}
.home-stitch-partner:hover img {
    opacity: 1;
    filter: none;
}

.home-stitch-cta {
    padding: 0 0 4rem;
    background: var(--surface-dark);
}
.home-stitch-cta__panel {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, #0a1f1c 0%, #050d0c 100%);
    position: relative;
    overflow: hidden;
}
.home-stitch-cta__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}
.home-stitch-cta__panel > * { position: relative; z-index: 1; }
.home-stitch-cta__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: white;
}
.home-stitch-cta__desc {
    margin: 0 auto 1.75rem;
    max-width: 36rem;
    color: var(--text-on-dark-muted);
    font-size: 1.0625rem;
}
.home-stitch-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
}

/* Course lesson video player — plain CSS (Tailwind CDN does not scan PHP-rendered HTML) */
.lesson-video-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.lesson-video-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #000;
}

.lesson-video-embed iframe,
.lesson-video-embed video,
.lesson-video-shell iframe,
.lesson-video-shell video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    border: 0;
    display: block;
}

.lesson-video-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000;
}

.lesson-video-stage--empty {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: #0f172a;
    color: #cbd5e1;
}

/* Player page: prevent flex overflow + tighter mobile chrome */
.course-player {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.course-player__main,
.course-player__aside {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 639px) {
    .course-player__stage-wrap {
        margin-inline: -1rem;
        width: calc(100% + 2rem);
        max-width: none;
    }

    .course-player .lesson-video-stage {
        border-radius: 0;
    }

    .course-player__meta {
        padding: 1rem !important;
    }

    .access-usage-timer__inner {
        padding: 0.65rem 1rem;
    }

    .access-usage-timer__clock {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
        letter-spacing: 0.04em;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .course-player__stage-wrap {
        margin-inline: -1.5rem;
        width: calc(100% + 3rem);
        max-width: none;
    }

    .course-player .lesson-video-stage {
        border-radius: 0;
    }
}

.access-usage-timer-shell {
    position: relative;
    z-index: 40;
}

/* Sit under sticky site header — never cover the top menu */
.site-nav-stitch.sticky + .access-usage-timer-shell,
.site-top-stack .access-usage-timer-shell {
    position: relative;
    top: auto;
    z-index: 40;
}

.site-top-stack {
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-top-stack .site-nav-stitch {
    position: relative;
    top: auto;
    z-index: 51;
}

.access-usage-timer {
    border-bottom: 1px solid rgba(23, 128, 95, 0.18);
    background: linear-gradient(90deg, rgba(23, 128, 95, 0.12), rgba(200, 148, 58, 0.08));
    backdrop-filter: blur(10px);
}

.access-usage-timer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: grid;
    gap: 0.55rem;
}

.access-usage-timer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.access-usage-timer__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f6047;
}

.access-usage-timer__plan {
    font-size: 0.78rem;
    color: #475569;
}

.access-usage-timer__clock-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1rem;
}

.access-usage-timer__clock {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #030508;
}

.access-usage-timer__status {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.access-usage-timer__window {
    margin: 0;
    font-size: 0.78rem;
    color: #475569;
}

.access-usage-timer__window strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #0f6047;
}

.access-usage-timer.is-running .access-usage-timer__status {
    color: #17805f;
}

.access-usage-timer.is-paused .access-usage-timer__status {
    color: #b45309;
}

.access-usage-timer.is-expired .access-usage-timer__status {
    color: #dc2626;
}

.access-usage-timer__bar {
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.access-usage-timer__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #17805f, #3ecf9a);
    transition: width 0.35s ease;
}

.access-usage-timer.is-paused .access-usage-timer__bar-fill {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.access-usage-timer.is-expired .access-usage-timer__bar-fill {
    background: #dc2626;
    width: 0 !important;
}

.access-usage-timer__breakdown {
    margin: 0;
    font-size: 0.8rem;
    color: #334155;
}

.access-usage-timer__breakdown strong {
    color: #0f6047;
}

.access-usage-timer__dot {
    margin-inline: 0.35rem;
    color: #94a3b8;
}

.access-usage-card {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(23, 128, 95, 0.18);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(23, 128, 95, 0.08), rgba(255, 255, 255, 0.95) 42%, rgba(200, 148, 58, 0.08));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 1.25rem 1.35rem;
}

.access-usage-card--empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border-color: #e2e8f0;
}

.access-usage-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.access-usage-card__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f6047;
}

.access-usage-card__title {
    margin: 0.25rem 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.access-usage-card__hint {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

.access-usage-card__meta {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.75);
}

.access-usage-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.access-usage-card__meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.access-usage-card__meta-value {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    word-break: break-word;
}

.access-usage-card__meta-value--money {
    color: #0f6047;
}

.access-usage-card__meta-note {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
}

.access-usage-card__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .access-usage-card__grid {
        grid-template-columns: 1fr;
    }
}

.access-usage-card__stat {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.88);
    padding: 1rem;
}

.access-usage-card__stat--remain {
    border-color: rgba(23, 128, 95, 0.25);
}

.access-usage-card__stat--used {
    border-color: rgba(200, 148, 58, 0.28);
}

.access-usage-card__stat-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.access-usage-card__stat-value {
    margin: 0.45rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.access-usage-card__parts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #475569;
}

.access-usage-card__parts strong {
    color: #0f172a;
    font-size: 1rem;
}

.access-usage-card__clock {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.access-usage-card__footer {
    margin-top: 1rem;
}

.access-usage-card__bar {
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.access-usage-card__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #17805f, #c8943a);
    transition: width 0.35s ease;
}

.access-usage-card__footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: #64748b;
}


/* ========== Nibrak homepage + chrome (v110) ========== */
body:has(.nb-home) {
  background: #050505 !important;
  background-image: none !important;
  color: #F8FAFC;
}
.nb-home {
  background: #050505;
  color: #F8FAFC;
}

.nb-wrap { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }

.nb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0.9rem 1.65rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.nb-btn--primary {
  background: #F5C518; color: #0A0A0A;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 4px 20px rgba(245,197,24,.4);
}
.nb-btn--primary:hover {
  background: #FFE066;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 8px 28px rgba(245,197,24,.5);
}
.nb-btn--ghost {
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nb-btn--ghost:hover {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
}
.nb-btn--on-dark { color: #fff; }
.nb-btn--slim {
  min-height: 42px; padding: 0.55rem 1.15rem; border-radius: .85rem;
  background: #F5C518; color: #050505;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(245,197,24,.28);
}
.nb-btn--slim:hover { background: #FFE066; }
.nb-btn--nav { min-height: 40px; padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* Nav */
.nb-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,5,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nb-nav__bar {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto;
  min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nb-nav__brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.nb-nav__logo {
  display: block;
  height: 2.55rem;
  width: auto;
  max-width: min(13rem, 52vw);
  object-fit: contain;
}
.nb-nav__mark-img {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245,197,24,.35));
}
.nb-nav__mark {
  width: 1.05rem; height: 1.05rem; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0 16%, var(--gold) 17% 58%, var(--accent) 59% 100%);
  box-shadow: 0 0 0 4px rgba(245,197,24,.16), 0 0 22px var(--gold-glow);
  animation: nb-pulse 2.8s var(--ease) infinite;
}
.nb-nav__word {
  font-family: var(--font-brand); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.35rem;
  color: #fff;
}
html[lang="ar"] .nb-nav__word {
  letter-spacing: 0;
  font-family: var(--font-display);
}
.nb-nav__links { gap: 1.75rem; }
.nb-nav__link {
  color: rgba(255,255,255,.62); font-size: .9rem; font-weight: 500; text-decoration: none;
  transition: color .2s;
}
.nb-nav__link:hover, .nb-nav__link.is-active { color: #fff; }
.nb-nav__actions { display: flex; align-items: center; gap: .75rem; }
.nb-nav__login { color: rgba(255,255,255,.7); font-size: .9rem; text-decoration: none; }
.nb-nav__login:hover { color: #fff; }
.nb-nav__lang { align-items: center; gap: .35rem; font-size: .8rem; color: rgba(255,255,255,.45); }
.nb-nav__lang a { color: rgba(255,255,255,.55); text-decoration: none; padding: 0 .35rem; }
.nb-nav__lang .is-active { color: var(--gold-light); font-weight: 700; padding: 0 .35rem; }
.nb-nav__sep { opacity: .35; }
.nb-nav__burger {
  width: 2.75rem; height: 2.75rem; border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.12); background: transparent; color: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .28rem;
}
.nb-nav__burger span { display: block; width: 1.15rem; height: 2px; background: currentColor; }
.nb-nav__mobile {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #050505; padding: 1rem 1rem 1.25rem;
}
.nb-nav__mobile-link {
  display: block; padding: .7rem .75rem; border-radius: .75rem;
  color: rgba(255,255,255,.72); text-decoration: none; font-size: .95rem;
}
.nb-nav__mobile-link:hover, .nb-nav__mobile-link.is-active { background: rgba(255,255,255,.06); color: #fff; }

@keyframes nb-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(122,31,43,.18), 0 0 18px var(--accent-glow); }
  50% { box-shadow: 0 0 0 7px rgba(122,31,43,.08), 0 0 28px var(--accent-glow); }
}

/* Hero — open composition, full-bleed atmosphere */
.nb-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100dvh - 4rem);
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 55% 50% at 72% 42%, rgba(122,31,43,.28) 0%, transparent 58%),
    radial-gradient(ellipse 40% 38% at 12% 78%, rgba(245,197,24,.1) 0%, transparent 52%),
    radial-gradient(ellipse 32% 30% at 92% 82%, rgba(155,45,59,.1) 0%, transparent 55%),
    linear-gradient(168deg, #050505 0%, #0F0F0F 45%, #141414 100%);
  color: #fff;
  padding: 5.5rem 0 6rem;
}
.nb-hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 55% at 55% 40%, #000 15%, transparent 72%);
}
.nb-hero__glow {
  position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none;
}
.nb-hero__glow--a {
  width: 34rem; height: 34rem; inset-inline-end: -4%; top: 5%;
  background: rgba(245,197,24,.2); animation: nb-drift 10s ease-in-out infinite alternate;
}
.nb-hero__glow--b {
  width: 24rem; height: 24rem; inset-inline-start: -6%; bottom: 0;
  background: rgba(245,197,24,.1); animation: nb-drift 12s ease-in-out infinite alternate-reverse;
}
.nb-hero__glow--c {
  width: 18rem; height: 18rem; inset-inline-end: 28%; bottom: 8%;
  background: rgba(253,224,71,.08); animation: nb-drift 14s ease-in-out infinite alternate;
}
@keyframes nb-drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(18px,-22px,0); }
}
.nb-hero__inner {
  position: relative; z-index: 2;
  width: min(1200px, calc(100% - 2.5rem)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
}
.nb-hero__copy {
  position: relative;
  max-width: 38rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nb-hero__brand {
  margin: 0 0 .85rem;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  font-weight: 800; letter-spacing: -.07em; line-height: .92;
  color: #FFFFFF;
  text-shadow: 0 0 60px rgba(122,31,43,.35);
  animation: nb-brand-in .9s var(--ease) both;
}
.nb-hero__brand--ar {
  font-family: var(--font-display);
  letter-spacing: 0;
}
.nb-hero__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 700; line-height: 1.4; color: rgba(255,255,255,.96);
  max-width: 18ch;
}
.nb-hero__lead {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-family: var(--font-body);
  color: rgba(248,250,252,.62);
  font-size: 1.08rem; line-height: 1.85; font-weight: 400;
}
.nb-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.nb-hero__visual {
  position: absolute;
  z-index: 1;
  inset-inline-end: max(-4%, calc(50% - 42rem));
  top: 50%;
  transform: translateY(-50%);
  width: min(34rem, 48vw);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .95;
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 78%);
}
.nb-cloud {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.nb-orbit {
  position: absolute; inset: 20%;
  z-index: 1;
}
.nb-orbit__ring {
  position: absolute; border-radius: 50%;
  pointer-events: none;
  opacity: .45;
}
.nb-orbit__ring--1 {
  inset: 0;
  border: 1px dashed rgba(245,197,24,.38);
  animation: nb-spin 40s linear infinite;
}
.nb-orbit__ring--2 {
  inset: 14%;
  border: 1px solid rgba(232,93,42,.32);
  animation: nb-spin 52s linear infinite reverse;
}
.nb-orbit__core {
  position: absolute; inset: 24%; border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow:
    0 0 28px rgba(245,197,24,.45),
    0 0 64px rgba(232,93,42,.28),
    0 0 90px rgba(176,32,48,.18);
  animation: nb-core-breathe 3.6s var(--ease) infinite;
}
.nb-orbit__core-mark {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(245,197,24,.5))
    drop-shadow(0 0 28px rgba(232,93,42,.32));
  border-radius: 50%;
}
.nb-orbit__core-pulse {
  position: absolute; inset: -18%; border-radius: 50%;
  border: 1px solid rgba(245,197,24,.35);
  animation: nb-ring-pulse 3.2s var(--ease) infinite;
  pointer-events: none;
}

/* Sparse glowing orbs — yellow → orange → red */
.nb-orbs {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.nb-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
  filter: blur(.2px);
}
.nb-orb--1 {
  width: .55rem; height: .55rem; top: 14%; left: 22%;
  background: #FFE066;
  box-shadow: 0 0 10px #FFE066, 0 0 22px rgba(245,197,24,.85);
  animation: nb-drift-a 7.5s ease-in-out infinite alternate, nb-glow 2.8s ease-in-out infinite;
}
.nb-orb--2 {
  width: .95rem; height: .95rem; top: 28%; right: 16%;
  background: #F5C518;
  box-shadow: 0 0 14px rgba(245,197,24,.95), 0 0 28px rgba(232,93,42,.45);
  animation: nb-drift-b 9.2s ease-in-out infinite alternate, nb-glow 3.4s ease-in-out .4s infinite;
}
.nb-orb--3 {
  width: .4rem; height: .4rem; bottom: 24%; left: 18%;
  background: #E85D2A;
  box-shadow: 0 0 12px rgba(232,93,42,.95);
  animation: nb-drift-c 6.8s ease-in-out infinite alternate, nb-glow 2.4s ease-in-out .8s infinite;
}
.nb-orb--4 {
  width: .7rem; height: .7rem; bottom: 18%; right: 24%;
  background: #FF8A3D;
  box-shadow: 0 0 16px rgba(255,138,61,.9), 0 0 30px rgba(176,32,48,.35);
  animation: nb-drift-d 8.6s ease-in-out infinite alternate, nb-glow 3.1s ease-in-out 1.1s infinite;
}
.nb-orb--5 {
  width: .35rem; height: .35rem; top: 48%; left: 8%;
  background: #B02030;
  box-shadow: 0 0 8px #B02030, 0 0 18px rgba(232,93,42,.55);
  animation: nb-drift-e 10.4s ease-in-out infinite alternate, nb-glow 2.6s ease-in-out .2s infinite;
}
.nb-orb--6 {
  width: .5rem; height: .5rem; top: 12%; right: 34%;
  background: #FFB347;
  box-shadow: 0 0 12px rgba(255,179,71,.9);
  animation: nb-drift-f 7.9s ease-in-out infinite alternate, nb-glow 3.8s ease-in-out 1.5s infinite;
}

@keyframes nb-spin { to { transform: rotate(360deg); } }
@keyframes nb-core-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.1); }
}
@keyframes nb-ring-pulse {
  0% { transform: scale(.88); opacity: .55; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes nb-glow {
  0%, 100% { opacity: .45; filter: brightness(.9); }
  50% { opacity: 1; filter: brightness(1.35); }
}
@keyframes nb-drift-a {
  0% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(18px, -22px) scale(1.15); }
  70% { transform: translate(-12px, 14px) scale(.9); }
  100% { transform: translate(10px, 8px) scale(1.05); }
}
@keyframes nb-drift-b {
  0% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-24px, 16px) scale(.85); }
  100% { transform: translate(14px, -20px) scale(1.1); }
}
@keyframes nb-drift-c {
  0% { transform: translate(0, 0); }
  50% { transform: translate(22px, -18px) scale(1.3); }
  100% { transform: translate(-10px, 12px) scale(.95); }
}
@keyframes nb-drift-d {
  0% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-16px, -14px) scale(1.2); }
  100% { transform: translate(20px, 10px) scale(.88); }
}
@keyframes nb-drift-e {
  0% { transform: translate(0, 0); }
  45% { transform: translate(26px, 18px) scale(1.4); }
  100% { transform: translate(-8px, -22px) scale(1); }
}
@keyframes nb-drift-f {
  0% { transform: translate(0, 0) scale(1); }
  55% { transform: translate(-20px, 24px) scale(.8); }
  100% { transform: translate(12px, -10px) scale(1.15); }
}
@keyframes nb-brand-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-orbit__ring,
  .nb-orbit__core,
  .nb-orbit__core-pulse,
  .nb-orb {
    animation: none !important;
  }
  .nb-orb { opacity: .75; }
}

/* Sections */
.nb-section { padding: 5.5rem 0; }
.nb-section--mist { background: var(--surface); color: var(--text); }
.nb-section--ink { background: #050505; color: #fff; }
.nb-section__head { margin-bottom: 2.5rem; max-width: 40rem; }
.nb-section__row {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.nb-section__row .nb-section__head { margin-bottom: 0; }
.nb-eyebrow {
  margin: 0 0 .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.nb-eyebrow--signal { color: var(--gold-light); }
.nb-section__title {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 750; letter-spacing: -.03em; line-height: 1.2;
}
.nb-section__title--light { color: #F8FAFC; }
.nb-section__sub { margin: 0; color: rgba(248,250,252,.58); font-size: 1.02rem; line-height: 1.7; }
.nb-link-all {
  color: #F5C518; text-decoration: none; font-size: .92rem; font-weight: 600;
  border-bottom: 1px solid rgba(245,197,24,.35); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.nb-link-all:hover { color: #FFE066; border-color: rgba(255,224,102,.55); }

/* Path section — Stitch Luminous Knowledge (dark glass) */
.nb-section--abyss {
  background: #050505;
  color: #F8FAFC;
}

/* Mid-page break: warm burgundy + gold atmosphere */
.nb-section--ember {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #F8FAFC;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(122, 31, 43, .42) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 88% 75%, rgba(245, 197, 24, .14) 0%, transparent 50%),
    linear-gradient(165deg, #14090d 0%, #1c0f14 48%, #10080b 100%);
  border-block: 1px solid rgba(245, 197, 24, .14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.nb-section--ember .nb-section__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  opacity: .55;
}
.nb-section--ember > .nb-wrap {
  position: relative;
  z-index: 1;
}
.nb-section--ember .nb-skills__item {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(245, 197, 24, .16);
}
.nb-section--ember .nb-skills__item:hover {
  border-color: rgba(245, 197, 24, .35);
  background: rgba(255, 255, 255, .07);
}

/* Lifted slate band for courses */
.nb-section--slate {
  position: relative;
  color: #F8FAFC;
  background:
    radial-gradient(ellipse 55% 50% at 70% 0%, rgba(122, 31, 43, .16) 0%, transparent 60%),
    linear-gradient(180deg, #0B0B0B 0%, #111111 55%, #0A0A0A 100%);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.nb-path-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
.nb-path-section__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .55;
}
.nb-path-section__glow--a {
  width: 28rem; height: 28rem;
  top: -8rem; inset-inline-end: -6rem;
  background: rgba(122, 31, 43, .35);
}
.nb-path-section__glow--b {
  width: 22rem; height: 22rem;
  bottom: -6rem; inset-inline-start: 10%;
  background: rgba(245, 197, 24, .18);
}
.nb-path-section__glow--c {
  width: 18rem; height: 18rem;
  top: 40%; inset-inline-start: -4rem;
  background: rgba(155, 45, 59, .16);
}
.nb-path-section__head { position: relative; z-index: 1; max-width: 40rem; }
.nb-path-section__sub { color: rgba(248, 250, 252, .58) !important; }

.nb-path-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: .4rem .85rem .4rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #F8FAFC;
  background: rgba(28, 12, 16, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.nb-path-pill__dot {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: linear-gradient(135deg, #7A1F2B, #F5C518);
  box-shadow: 0 0 12px rgba(245, 197, 24, .55);
}

.nb-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.nb-path--four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .nb-path--four { grid-template-columns: repeat(2, 1fr); }
}
.nb-path__rail {
  display: none;
  position: absolute;
  top: 3.25rem;
  inset-inline: 8%;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(122, 31, 43, .55),
    rgba(245, 197, 24, .45),
    rgba(155, 45, 59, .45),
    transparent
  );
  box-shadow: 0 0 18px rgba(122, 31, 43, .35);
  pointer-events: none;
}
@media (min-width: 901px) {
  .nb-path__rail { display: block; }
}
.nb-path__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #F8FAFC;
  min-height: 18.5rem;
  padding: 1.85rem 1.55rem 1.55rem;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(36, 18, 22, .92) 0%, rgba(14, 10, 12, .96) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-inline-start: 3px solid var(--path-accent, #F5C518);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .65);
  transition:
    transform .35s var(--ease),
    border-color .35s,
    box-shadow .35s,
    background .35s;
}
.nb-path__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--path-accent, #F5C518) 14%, transparent), transparent 42%);
  pointer-events: none;
  opacity: .85;
  transition: opacity .35s;
}
.nb-path__item--blue { --path-glow: rgba(245, 197, 24, .22); --path-accent: #F5C518; }
.nb-path__item--gold { --path-glow: rgba(245, 197, 24, .28); --path-accent: #F5C518; }
.nb-path__item--spark { --path-glow: rgba(155, 45, 59, .28); --path-accent: #C45B6A; }

.nb-path__item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .2);
  border-inline-start-color: var(--path-accent, #F5C518);
  background: linear-gradient(165deg, rgba(48, 22, 28, .96) 0%, rgba(16, 10, 12, .98) 100%);
  box-shadow:
    0 28px 50px -16px rgba(0, 0, 0, .7),
    0 0 0 1px color-mix(in srgb, var(--path-accent, #F5C518) 25%, transparent);
}
.nb-path__item:hover::before { opacity: 1; }

.nb-path__index {
  position: absolute;
  top: .35rem;
  inset-inline-end: .7rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.08em;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.nb-path__icon { display: none !important; }

.nb-path__label,
.nb-path__tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--path-accent, #F5C518);
}
.nb-path__title {
  position: relative;
  z-index: 1;
  margin: 0 0 .75rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  color: #FFF8EE;
  max-width: 12ch;
}
.nb-path__desc {
  position: relative;
  z-index: 1;
  margin: 0 0 1.6rem;
  color: rgba(248, 250, 252, .62);
  font-size: .95rem;
  line-height: 1.75;
  flex: 1;
  max-width: 28ch;
}
.nb-path__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  width: 100%;
  font-size: .88rem;
  font-weight: 750;
  color: #FFE066;
  transition: color .25s, gap .25s;
}
.nb-path__item--gold .nb-path__cta { color: #FFE066; }
.nb-path__item--spark .nb-path__cta { color: #E8A0A8; }
.nb-path__item:hover .nb-path__cta { gap: .7rem; color: #fff; }
.nb-path__cta-arrow { font-size: 1rem; line-height: 1; }

.nb-courses-section { padding-top: 1rem; }
.nb-courses {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.nb-course {
  border-radius: 1.35rem; overflow: hidden;
  background: rgba(28, 12, 16, .55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 36px -10px rgba(0,0,0,.4);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.nb-course:hover {
  border-color: rgba(255,255,255,.26);
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 24px 48px -12px rgba(0,0,0,.5), 0 0 40px -12px rgba(122,31,43,.35);
}
.nb-course__media { position: relative; height: 11rem; background: #12080A; }
.nb-course__media img { width: 100%; height: 100%; object-fit: cover; }
.nb-course__placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(122,31,43,.45), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(245,197,24,.18), transparent 40%),
    linear-gradient(145deg, #12080A, #1A0C10);
}
.nb-course__level {
  position: absolute; top: .85rem; inset-inline-end: .85rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .03em;
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(245,197,24,.12); color: #F5C518;
  border: 1px solid rgba(245,197,24,.32);
  backdrop-filter: blur(10px);
}
.nb-course__body { padding: 1.3rem 1.3rem 1.45rem; }
.nb-course__title { margin: 0 0 .5rem; font-size: 1.08rem; font-weight: 700; color: #F8FAFC; letter-spacing: -.02em; }
.nb-course__desc { margin: 0 0 1.15rem; color: rgba(248,250,252,.55); font-size: .9rem; line-height: 1.65; }

.nb-signals-section { padding-top: 1rem; }
.nb-signals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.nb-signal {
  --signal-glow: rgba(122,31,43,.3);
  --signal-accent: #7A1F2B;
  display: block; text-decoration: none; color: inherit;
  padding: 1.55rem 1.4rem; border-radius: 1.35rem;
  background: rgba(28, 12, 16, .55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 36px -10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.nb-signal--blue { --signal-glow: rgba(122,31,43,.32); --signal-accent: #7A1F2B; }
.nb-signal--gold { --signal-glow: rgba(245,197,24,.28); --signal-accent: #F5C518; }
.nb-signal--spark { --signal-glow: rgba(155,45,59,.28); --signal-accent: #9B2D3B; }
.nb-signal:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 24px 48px -12px rgba(0,0,0,.5), 0 0 36px -10px var(--signal-glow);
}
.nb-signal__icon {
  display: grid; place-items: center;
  width: 2.55rem; height: 2.55rem; margin-bottom: 1rem;
  border-radius: .8rem; font-size: 1.3rem !important;
  color: var(--signal-accent);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 22px -6px var(--signal-glow);
}
.nb-signal h3 { margin: 0 0 .45rem; font-size: 1.1rem; font-weight: 750; color: #F8FAFC; }
.nb-signal p { margin: 0; color: rgba(248,250,252,.55); font-size: .92rem; line-height: 1.65; }

/* Soft skills */
.nb-teach-section {
  padding: 5rem 0;
}
.nb-teach-section .nb-path__item {
  min-height: 15.5rem;
}

.nb-ratings-section { padding: 4.5rem 0; }
.nb-ratings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 44rem;
}

/* Split: student voices + platform ratings */
.nb-voice-section { padding: 3.75rem 0; }
.nb-voice-section .nb-section__title {
  white-space: nowrap;
  font-size: clamp(1.05rem, 2.8vw + .35rem, 2.2rem);
}
.nb-voice {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr);
  gap: 1rem;
  align-items: stretch;
}
.nb-voice--solo { grid-template-columns: 1fr; }
.nb-voice__opinions,
.nb-voice__ratings {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nb-voice__side-title {
  margin: 0 0 .55rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #F5C518;
}
.nb-voice__stories {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: .55rem;
  flex: 1;
}
.nb-voice__rating-list {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: .55rem;
  flex: 1;
  min-height: 0;
}
.nb-voice .nb-proof__story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .65rem .8rem;
  border-radius: .8rem;
}
.nb-voice .nb-proof__quote {
  margin: 0 0 .3rem;
  font-size: .86rem;
  line-height: 1.4;
}
.nb-voice .nb-proof__meta {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .55rem;
}
.nb-voice .nb-proof__meta strong { font-size: .8rem; }
.nb-voice .nb-proof__meta span { font-size: .7rem; }
.nb-voice__note {
  margin: .75rem 0 0;
  font-size: .72rem;
}
.nb-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-decoration: none;
  padding: .75rem .9rem;
  border-radius: .8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,197,24,.18);
  color: #F8FAFC;
  min-height: 0;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.nb-rating:hover {
  transform: translateY(-2px);
  border-color: rgba(245,197,24,.4);
  background: rgba(255,255,255,.08);
}
.nb-rating__score-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  flex: 0 0 auto;
}
.nb-rating__score {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}
.nb-rating__stars {
  color: #F5C518;
  letter-spacing: .06em;
  font-size: .72rem;
  line-height: 1;
}
.nb-rating__stars--tp { color: #00B67A; }
.nb-rating__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  min-width: 0;
  text-align: end;
}
.nb-rating__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: .05rem;
}
.nb-rating__logo svg { width: 20px; height: 20px; }
.nb-rating__brand {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(248,250,252,.92);
  line-height: 1.2;
}
.nb-rating__count {
  color: rgba(248,250,252,.55);
  font-size: .7rem;
  line-height: 1.3;
}
.nb-rating__widget { width: 100%; }
.nb-rating--trustpilot { border-color: rgba(0,182,122,.28); }
.nb-rating--trustpilot:hover { border-color: rgba(0,182,122,.5); }
.nb-rating--google { border-color: rgba(66,133,244,.28); }
.nb-rating--google:hover { border-color: rgba(66,133,244,.5); }

@media (max-width: 900px) {
  .nb-voice { grid-template-columns: 1fr; }
  .nb-voice__stories,
  .nb-voice__rating-list {
    grid-template-rows: none;
    flex: none;
  }
  .nb-ratings { grid-template-columns: 1fr; }
}
.nb-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem 1.25rem;
}
.nb-skills__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  color: rgba(248,250,252,.88);
  font-size: .98rem;
  line-height: 1.55;
  font-weight: 600;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.nb-skills__mark {
  flex: 0 0 auto;
  width: .55rem; height: .55rem;
  margin-top: .45rem;
  border-radius: 50%;
  background: #F5C518;
  box-shadow: 0 0 12px rgba(245,197,24,.55);
}

/* Proof / demo stories */
.nb-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.nb-proof__story {
  padding: 1.6rem 1.45rem;
  border-radius: 1.35rem;
  background: rgba(28, 12, 16, .45);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nb-proof__quote {
  margin: 0 0 1.25rem;
  color: rgba(248,250,252,.88);
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 500;
}
.nb-proof__meta {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.nb-proof__meta strong {
  color: #fff;
  font-size: .95rem;
}
.nb-proof__meta span {
  color: rgba(245,197,24,.85);
  font-size: .82rem;
  font-weight: 600;
}
.nb-proof__note {
  margin: 1.35rem 0 0;
  color: rgba(248,250,252,.4);
  font-size: .82rem;
  line-height: 1.55;
}

/* Languages catalog */
.nb-hero--compact {
  min-height: auto;
  padding: 4.5rem 0 3rem;
}
.nb-langs-section { padding-top: 1rem; }
.nb-langs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.nb-skills-hub-section { padding-top: 1rem; }
.nb-skills-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.nb-skill-course {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #F8FAFC;
  min-height: 16rem;
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: 1.35rem;
  background: rgba(28, 12, 16, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
a.nb-skill-course:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,.45);
  background: rgba(40, 14, 20, .72);
}
.nb-skill-course__top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}
.nb-skill-course__icon {
  font-size: 1.85rem;
  color: #F5C518;
  line-height: 1;
}
.nb-skill-course--spark .nb-skill-course__icon { color: #C45C6A; }
.nb-skill-course--blue .nb-skill-course__icon { color: #7EB8FF; }
.nb-skill-course__badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .28rem .55rem;
  border-radius: 999px;
  color: #0A0A0A;
  background: #F5C518;
}
.nb-skill-course__tag {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(245,197,24,.85);
}
.nb-skill-course__name {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #fff;
}
.nb-skill-course__desc {
  margin: 0 0 1.15rem;
  flex: 1;
  color: rgba(248,250,252,.62);
  font-size: .92rem;
  line-height: 1.6;
}
.nb-skill-course__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: #F5C518;
}
.nb-lang {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #F8FAFC;
  min-height: 14.5rem;
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: 1.35rem;
  background: rgba(28, 12, 16, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
a.nb-lang:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,.45);
  background: rgba(40, 14, 20, .72);
}
.nb-lang--soon,
.nb-lang--later {
  opacity: .72;
}
.nb-lang__top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.nb-lang__flag {
  font-size: 1.85rem;
  line-height: 1;
}
.nb-lang__badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
}
.nb-lang__badge--available {
  color: #050505;
  background: #F5C518;
  border-color: transparent;
}
.nb-lang__badge--soon {
  color: #FFE066;
  background: rgba(245,197,24,.12);
  border-color: rgba(245,197,24,.28);
}
.nb-lang__badge--later {
  color: rgba(248,250,252,.55);
  background: rgba(255,255,255,.04);
}
.nb-lang__name {
  margin: 0 0 .45rem;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -.02em;
}
.nb-lang__desc {
  margin: 0;
  color: rgba(248,250,252,.55);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
}
.nb-lang__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.1rem;
  font-size: .86rem;
  font-weight: 700;
  color: #F5C518;
}

.nb-cta {
  position: relative; overflow: hidden;
  padding: 2rem 0 6rem;
  background: #050505;
  color: #fff; text-align: center;
}
.nb-cta__panel {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(122,31,43,.35), transparent 60%),
    rgba(28, 12, 16, .6);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 24px 56px -16px rgba(0,0,0,.55),
    0 0 60px -20px rgba(122,31,43,.4);
}
.nb-cta__actions { justify-content: center; }
.nb-cta__title {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em;
}
.nb-cta__desc { margin: 0 auto 1.65rem; color: rgba(248,250,252,.58); max-width: 32rem; line-height: 1.7; }

@media (max-width: 900px) {
  .nb-hero { min-height: auto; padding: 3.5rem 0 4rem; }
  .nb-hero__visual {
    position: relative;
    inset: auto;
    transform: none;
    width: min(18rem, 70vw);
    margin: 0 auto 1.5rem;
    opacity: .85;
  }
  .nb-hero__inner { display: block; }
  .nb-hero__copy { max-width: none; text-align: center; }
  .nb-hero__title { max-width: none; margin-inline: auto; }
  .nb-hero__lead { margin-inline: auto; }
  .nb-hero__actions { justify-content: center; }
  .nb-path, .nb-path--four, .nb-courses, .nb-signals, .nb-skills, .nb-proof, .nb-langs, .nb-skills-hub, .nb-ratings { grid-template-columns: 1fr; }
  .nb-path__item { min-height: 0; }
  .nb-path-section { padding: 4rem 0 4.5rem; }
  .nb-cloud { width: 100%; }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .nb-langs { grid-template-columns: repeat(2, 1fr); }
  .nb-skills-hub { grid-template-columns: 1fr; }
}


/* ===== Legal / CMS document pages ===== */
.nb-legal {
  background: #0a0a0a;
  color: #f3ebe1;
}
.nb-legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid rgba(232, 184, 74, 0.18);
  background:
    radial-gradient(ellipse 70% 80% at 80% -10%, rgba(232, 184, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(232, 184, 74, 0.08), transparent 50%),
    #0a0a0a;
}
.nb-legal-hero__glow {
  position: absolute;
  inset: auto -10% -40% auto;
  width: min(42rem, 70vw);
  height: min(42rem, 70vw);
  background: radial-gradient(circle, rgba(232, 184, 74, 0.12), transparent 68%);
  pointer-events: none;
}
.nb-legal-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}
.nb-legal-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin: 0 0 1.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(243, 235, 225, 0.55);
}
.nb-legal-crumb a {
  color: #e8b84a;
  text-decoration: none;
}
.nb-legal-crumb a:hover { color: #f3ebe1; }
.nb-legal-hero__title {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff8ee;
  max-width: 16ch;
}
.nb-legal-hero__meta {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(243, 235, 225, 0.62);
}
.nb-legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}
.nb-legal-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(232, 184, 74, 0.28);
  color: rgba(243, 235, 225, 0.82);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nb-legal-tabs__item:hover {
  border-color: rgba(232, 184, 74, 0.55);
  color: #fff8ee;
}
.nb-legal-tabs__item.is-active {
  background: #e8b84a;
  border-color: #e8b84a;
  color: #111;
}
.nb-legal-edit {
  display: inline-flex;
  margin-top: 1.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #e8b84a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.nb-legal-body {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: #f7f4f0;
  color: #1a1410;
}
.nb-legal-doc--roomy {
  max-width: 48rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.15vw, 1.18rem);
  line-height: 1.9;
  color: #2a221c;
}
.nb-legal-doc--roomy > *:first-child { margin-top: 0; }
.nb-legal-doc--roomy h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  font-weight: 800;
  color: #120e0b;
  letter-spacing: -0.02em;
}
.nb-legal-doc--roomy h3 {
  margin: 1.85rem 0 0.65rem;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 800;
  color: #1c1612;
}
.nb-legal-doc--roomy h4 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #2a221c;
}
.nb-legal-doc--roomy p {
  margin: 0 0 1.05rem;
}
.nb-legal-doc--roomy ul,
.nb-legal-doc--roomy ol {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.35rem;
  display: grid;
  gap: 0.55rem;
}
.nb-legal-doc--roomy li::marker {
  color: #b8892f;
}
.nb-legal-doc--roomy a {
  color: #8f5c24;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.nb-legal-doc--roomy strong {
  color: #120e0b;
  font-weight: 800;
}
.nb-legal-doc--roomy em {
  color: #5a4a3a;
}
@media (max-width: 700px) {
  .nb-legal-hero__title { max-width: none; }
  .nb-legal-tabs__item { flex: 1 1 calc(50% - 0.55rem); justify-content: center; }
}

/* Spanish level detail page */
.nb-level-page {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 4rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: #0A0A0A;
  color: #FFF8EE;
}
.nb-level-page__glow {
  position: absolute;
  inset-inline-end: -10%;
  top: 10%;
  width: min(28rem, 70%);
  height: min(28rem, 70%);
  background: radial-gradient(circle, rgba(245,197,24,.22) 0%, transparent 68%);
  pointer-events: none;
}
.nb-level-page__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.nb-level-page__badge {
  display: inline-flex;
  margin-top: 1.25rem;
  min-width: 3rem;
  padding: .35rem .7rem;
  border-radius: .55rem;
  background: #F5C518;
  color: #0A0A0A;
  font-weight: 800;
  font-size: 1rem;
}
.nb-level-page__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.nb-level-page__desc {
  margin: .85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,248,238,.68);
  max-width: 38ch;
}
.nb-level-page__panel {
  margin-top: 1.75rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  background: rgba(255,255,255,.04);
}
.nb-level-page__features-title {
  margin: 0 0 .75rem;
  font-size: .9rem;
  font-weight: 800;
  color: #F5C518;
}
.nb-level-page__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .65rem;
}
.nb-level-page__features li {
  position: relative;
  padding-inline-start: 1.2rem;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255,248,238,.82);
}
.nb-level-page__features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55rem;
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: #F5C518;
}
.nb-level-page__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.nb-level-page__back {
  width: 100%;
  margin-top: .35rem;
  color: rgba(255,248,238,.55);
  font-size: .88rem;
  text-decoration: none;
}
.nb-level-page__back:hover { color: #F5C518; }
.nb-level-page__switch {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.nb-level-page__switch-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8rem;
  min-height: 2.4rem;
  padding: 0 .7rem;
  border-radius: .55rem;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,248,238,.7);
  text-decoration: none;
  font-weight: 800;
}
.nb-level-page__switch-chip:hover { border-color: rgba(245,197,24,.5); color: #fff; }
.nb-level-page__switch-chip.is-active {
  background: #F5C518;
  border-color: #F5C518;
  color: #0A0A0A;
}
/* ── Pricing page (Stitch → Nibrak) ───────────────────────── */
.nb-pricing__hero {
  min-height: calc(88dvh - 4rem);
  padding-bottom: 4.5rem;
}
.nb-pricing__flash {
  padding: 1.25rem 0 0;
}
.nb-pricing__alert {
  border-radius: .65rem;
  padding: .85rem 1.1rem;
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: .65rem;
}
.nb-pricing__alert--error {
  border: 1px solid rgba(185, 28, 28, .28);
  background: rgba(254, 226, 226, .95);
  color: #7f1d1d;
}
.nb-pricing__alert--ok {
  border: 1px solid rgba(5, 150, 105, .28);
  background: rgba(209, 250, 229, .95);
  color: #065f46;
}

/* Protocol — parchment plane */
.nb-pricing__protocol {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(122, 31, 43, .06) 0%, transparent 55%),
    linear-gradient(180deg, #F7F4F0 0%, #EFE9E1 100%);
  color: #0A0A0A;
  padding: 4.5rem 0 4.75rem;
}
.nb-pricing__protocol-head {
  display: grid;
  gap: .85rem;
  max-width: 40rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(10, 10, 10, .1);
}
.nb-pricing__protocol-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0A0A0A;
}
.nb-pricing__protocol-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(10, 10, 10, .62);
}
.nb-pricing__protocol-lead strong { color: #0A0A0A; font-weight: 700; }

.nb-pricing__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
}
.nb-pricing__step {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
}
.nb-pricing__step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: #7A1F2B;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}
.nb-pricing__step-title {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0A0A0A;
}
.nb-pricing__step-desc {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(10, 10, 10, .58);
}

/* Tiers */
.nb-pricing__tiers { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.nb-pricing__tiers-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}
.nb-pricing__tiers-head .nb-section__sub { margin-inline: auto; }

.nb-pricing__tier-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.nb-pricing__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.45rem 1.4rem;
  background: #171717;
  border: 1px solid rgba(232, 226, 217, .1);
  border-radius: .5rem;
  color: #F7F4F0;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.nb-pricing__tier:hover {
  border-color: rgba(232, 226, 217, .22);
}
.nb-pricing__tier--featured {
  background: #1A1214;
  border: 1px solid rgba(122, 31, 43, .7);
  box-shadow: 0 0 40px -10px rgba(122, 31, 43, .35);
  transform: translateY(-6px);
}
.nb-pricing__tier-ribbon {
  position: absolute;
  inset-block-start: -.7rem;
  inset-inline-end: 1.1rem;
  margin: 0;
  padding: .28rem .7rem;
  background: #7A1F2B;
  color: #F7F4F0;
  font-size: .72rem;
  font-weight: 700;
  border: 1px solid rgba(245, 197, 24, .35);
  border-radius: .25rem;
}
.nb-pricing__tier-label {
  margin: 0 0 .85rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(247, 244, 240, .55);
}
.nb-pricing__tier--featured .nb-pricing__tier-label { color: #F5C518; }
.nb-pricing__tier-price {
  margin: 0 0 .55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .55rem;
}
.nb-pricing__tier-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.nb-pricing__tier-amount--sm {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: 0;
}
.nb-pricing__tier-unit {
  font-size: .95rem;
  color: rgba(247, 244, 240, .5);
}
.nb-pricing__tier-plus {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #F5C518;
}
.nb-pricing__tier-was {
  margin: -.25rem 0 .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(247, 244, 240, .45);
  text-decoration: line-through;
}
.nb-pricing__tier-ribbon--soft {
  background: rgba(122, 31, 43, .85);
}
.nb-pricing__offer-deadline {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(247, 244, 240, .78);
}
.nb-pricing__offer-deadline strong {
  color: #F5C518;
}
.nb-pricing__tier-meta {
  margin: 0 0 1.25rem;
  font-size: .86rem;
  line-height: 1.55;
  color: rgba(247, 244, 240, .48);
}
.nb-pricing__tier-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(232, 226, 217, .1);
  display: grid;
  gap: .65rem;
  flex: 1;
}
.nb-pricing__tier-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(247, 244, 240, .72);
}
.nb-pricing__tier-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: .45rem;
  height: .45rem;
  border-radius: 1px;
  background: #F5C518;
  opacity: .85;
}
.nb-pricing__tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .65rem 1.1rem;
  border-radius: .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.nb-pricing__tier-cta--ghost {
  color: #F7F4F0;
  border: 1px solid rgba(232, 226, 217, .22);
  background: transparent;
}
.nb-pricing__tier-cta--ghost:hover {
  border-color: rgba(245, 197, 24, .55);
  color: #F5C518;
}
.nb-pricing__tier-cta--solid {
  color: #F7F4F0;
  background: #7A1F2B;
  border: 1px solid rgba(245, 197, 24, .28);
}
.nb-pricing__tier-cta--solid:hover {
  background: #601721;
  transform: translateY(-1px);
}

/* Guarantee callout */
.nb-pricing__guarantee {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 1.75rem;
  align-items: start;
  padding: 1.65rem 1.75rem;
  background:
    linear-gradient(118deg, rgba(122, 31, 43, .95) 0%, #5C1620 55%, #4A1018 100%);
  border: 1px solid rgba(245, 197, 24, .35);
  border-radius: .5rem;
  box-shadow: 0 0 48px -12px rgba(245, 197, 24, .18);
}
.nb-pricing__guarantee-mark {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: .4rem;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(10, 10, 10, .35);
  border: 1px solid rgba(245, 197, 24, .45);
  color: #F5C518;
}
.nb-pricing__guarantee-mark span {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.nb-pricing__guarantee-mark small {
  display: block;
  margin-top: .15rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(245, 197, 24, .75);
}
.nb-pricing__guarantee-kicker {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(245, 197, 24, .9);
}
.nb-pricing__guarantee-title {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.55;
  color: #F7F4F0;
}
.nb-pricing__guarantee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.nb-pricing__guarantee-list li {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(247, 244, 240, .82);
}
.nb-pricing__guarantee-list strong { color: #fff; }

/* Catalog */
.nb-pricing__catalog { padding-top: 4rem; padding-bottom: 3.5rem; }
.nb-pricing__catalog-head {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.nb-pricing__catalog-head .nb-section__sub { margin-inline: auto; }

.nb-pricing__track { margin-bottom: 2.5rem; }
.nb-pricing__track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nb-pricing__track-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
}
.nb-pricing__track-soon {
  font-size: .75rem;
  font-weight: 700;
  color: #F5C518;
  border: 1px solid rgba(245, 197, 24, .35);
  background: rgba(122, 31, 43, .2);
  padding: .28rem .65rem;
  border-radius: .25rem;
}

.nb-pricing__course-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.nb-pricing__course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: rgba(23, 23, 23, .85);
  border: 1px solid rgba(232, 226, 217, .08);
  border-radius: .4rem;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.nb-pricing__course:hover {
  border-color: rgba(245, 197, 24, .35);
  background: rgba(40, 18, 22, .72);
  transform: translateY(-2px);
}
.nb-pricing__course--featured {
  border-color: rgba(245, 197, 24, .45);
  background:
    linear-gradient(118deg, rgba(122, 31, 43, .28) 0%, rgba(23, 23, 23, .95) 55%);
  box-shadow: 0 0 32px -10px rgba(245, 197, 24, .18);
}
.nb-pricing__course-main { min-width: 0; flex: 1; }
.nb-pricing__course-title {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #F7F4F0;
}
.nb-pricing__course-meta {
  margin: 0;
  font-size: .84rem;
  color: rgba(247, 244, 240, .48);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
}
.nb-pricing__course-dot { opacity: .5; }
.nb-pricing__course-title a {
  color: inherit;
  text-decoration: none;
}
.nb-pricing__course-title a:hover { color: #F5C518; }
.nb-pricing__course--choices {
  align-items: stretch;
}
.nb-pricing__course-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(7.5rem, 1fr));
  gap: .55rem;
  flex-shrink: 0;
  min-width: min(100%, 17rem);
}
.nb-pricing__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .75rem .7rem;
  text-decoration: none;
  text-align: center;
  border-radius: .4rem;
  background: rgba(10, 10, 10, .45);
  border: 1px solid rgba(245, 197, 24, .28);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.nb-pricing__choice:hover {
  border-color: rgba(245, 197, 24, .65);
  background: rgba(122, 31, 43, .28);
  transform: translateY(-2px);
}
.nb-pricing__choice--alt {
  border-color: rgba(232, 226, 217, .18);
}
.nb-pricing__choice--alt:hover {
  border-color: rgba(245, 197, 24, .5);
}
.nb-pricing__choice-dur {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(247, 244, 240, .55);
}
.nb-pricing__choice-amt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.nb-pricing__choice-amt small {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(247, 244, 240, .55);
}
.nb-pricing__choice-go {
  margin-top: .15rem;
  font-size: .72rem;
  font-weight: 800;
  color: #0A0A0A;
  background: #F5C518;
  border-radius: .25rem;
  padding: .2rem .55rem;
}
.nb-pricing__course-action .nb-pricing__course-cta {
  text-decoration: none;
}
@media (max-width: 640px) {
  .nb-pricing__course-choices {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }
}
.nb-pricing__course-highlight { color: #F5C518; font-weight: 600; }
.nb-pricing__course-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: .55rem;
  flex-shrink: 0;
  min-width: 8.75rem;
  padding: .75rem .85rem;
  border-radius: .4rem;
  background: rgba(10, 10, 10, .45);
  border: 1px solid rgba(245, 197, 24, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.nb-pricing__course:hover .nb-pricing__course-action {
  border-color: rgba(245, 197, 24, .45);
  background: rgba(122, 31, 43, .22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 0 20px -8px rgba(245, 197, 24, .25);
}
.nb-pricing__course-price {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
}
.nb-pricing__course-price small {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(247, 244, 240, .55);
  margin-inline-start: .15rem;
}
.nb-pricing__course-price--muted {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(247, 244, 240, .55);
  letter-spacing: 0;
}
.nb-pricing__course-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: .35rem .7rem;
  border-radius: .3rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #0A0A0A;
  background: #F5C518;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: background .2s, transform .2s var(--ease);
}
.nb-pricing__course:hover .nb-pricing__course-cta {
  background: #FFE066;
}

.nb-pricing__empty {
  padding: 2.25rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: .45rem;
  background: rgba(255, 255, 255, .02);
}
.nb-pricing__empty-title {
  margin: 0;
  font-weight: 700;
  color: #F7F4F0;
}
.nb-pricing__empty-desc {
  margin: .4rem 0 0;
  font-size: .88rem;
  color: rgba(247, 244, 240, .45);
}
.nb-pricing__empty-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  font-size: .9rem;
  color: #F5C518;
  text-decoration: none;
}
.nb-pricing__empty-link:hover { color: #FFE066; }

.nb-pricing__ai-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 64rem;
  margin-inline: auto;
}

@media (max-width: 960px) {
  .nb-pricing__steps { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
  .nb-pricing__tier-band { grid-template-columns: 1fr; }
  .nb-pricing__tier--featured { transform: none; }
  .nb-pricing__ai-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nb-pricing__steps { grid-template-columns: 1fr; }
  .nb-pricing__guarantee { grid-template-columns: 1fr; }
  .nb-pricing__guarantee-mark { width: 3.75rem; height: 3.75rem; }
  .nb-pricing__course {
    flex-direction: column;
    align-items: stretch;
  }
  .nb-pricing__course-action {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .85rem;
  }
  .nb-pricing__course-price { text-align: start; }
  .nb-pricing__course-cta {
    flex-shrink: 0;
    min-width: 7.5rem;
  }
}
