/* [HEADER] */
/* ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 23px;
    z-index: 5000;
    background: transparent;
    pointer-events: none;
}

header>* {
    pointer-events: auto;
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.prof-header-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 5px;
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
}

body.prof-active .prof-header-label {
    display: none;
}

body.prof-active .hamburger {
    display: none;
}

.logo .bs-tag {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 800;
    font-style: normal;
    font-size: 0.8rem;
}

.logo .logo-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.header-close-btn {
    display: none;
    cursor: pointer;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s;
}

.header-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

body.view-login-active .header-close-btn,
body.view-courses-active .header-close-btn,
body.view-course-details-active .header-close-btn {
    display: flex;
    color: #666;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 1.8rem;
    transition: color 0.3s;
}

body.view-course-details-active .header-close-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5001;
}

body.view-login-active .header-close-btn:hover,
body.view-courses-active .header-close-btn:hover,
body.view-course-details-active .header-close-btn:hover {
    color: #fff;
}

/* Playbooks Logo Color Override */
body.view-courses-active .logo .logo-name {
    color: #666;
}

body.view-login-active .hamburger,
body.view-courses-active .hamburger,
body.view-course-details-active .hamburger,
body.view-standalone-active .hamburger {
    display: none !important;
}

.header-title {
    display: none;
    font-size: 2.2rem;
    font-weight: 700;
    color: #666;
    letter-spacing: -1px;
    position: absolute;
    left: 40px;
    pointer-events: none;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 120px);
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
}

/* [NEW: CTA BUTTON FOR CHAPTERS] */
.cta {
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    padding-left: 2px;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
    margin-right: 10px;
    position: relative;
    color: #888;
    display: none;
    font-family: var(--font-main);
    font-weight: 500;
}

.cta::before {
    content: "\21DD";
    font-size: 28px;
    position: absolute;
    top: -12px;
    right: -10px;
    transform: translateX(100%);
}

.cta:active {
    transform: scale(0.9);
}

.cta::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #888;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.cta:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Only show CTA on chapters and playbooks page */
body.view-course-details-active .cta,
body.view-courses-active .cta,
body.view-standalone-active .cta {
    display: block;
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5002;
}

body.view-course-details-active .header-close-btn,
body.view-courses-active .header-close-btn,
body.view-courses-active .prof-header-label,
body.view-courses-active .header-title,
body.view-standalone-active .header-close-btn,
body.view-standalone-active .prof-header-label,
body.view-standalone-active .header-title {
    display: none !important;
}

body.view-course-details-active .header-title {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

body.view-course-details-active .logo,
body.view-course-details-active .prof-header-label,
body.view-course-details-active .hamburger,
body.view-standalone-active .logo {
    display: none !important;
}

body.view-course-details-active .header-title {
    display: block;
}

.hamburger {
    cursor: pointer;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2em;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

.line {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* --- HOME PAGE SPECIFIC REFINEMENTS --- */
body.view-home-active .logo .logo-name {
    color: #fff !important;
}

body.view-home-active .hamburger .line {
    stroke: #fff !important;
    color: #fff;
    transition: all 0.3s;
}

.header-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

body.view-login-active .header-close-btn,
body.view-courses-active .header-close-btn,
body.view-course-details-active .header-close-btn {
    display: flex;
    color: #666;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 1.8rem;
    transition: color 0.3s;
}

body.view-course-details-active .header-close-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5001;
}

body.view-login-active .header-close-btn:hover,
body.view-courses-active .header-close-btn:hover,
body.view-course-details-active .header-close-btn:hover {
    color: #fff;
}

/* Playbooks Logo Color Override */
body.view-courses-active .logo .logo-name {
    color: #666;
}

body.view-login-active .hamburger,
body.view-courses-active .hamburger,
body.view-course-details-active .hamburger,
body.view-standalone-active .hamburger {
    display: none !important;
}

.header-title {
    display: none;
    font-size: 2.2rem;
    font-weight: 700;
    color: #666;
    letter-spacing: -1px;
    position: absolute;
    left: 40px;
    pointer-events: none;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 120px);
    transition: opacity 0.3s, color 0.3s, transform 0.3s;
}

/* [NEW: CTA BUTTON FOR CHAPTERS] */
.cta {
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    padding-left: 2px;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
    margin-right: 10px;
    position: relative;
    color: #888;
    display: none;
    font-family: var(--font-main);
    font-weight: 500;
}

.cta::before {
    content: "\21DD";
    font-size: 28px;
    position: absolute;
    top: -12px;
    right: -10px;
    transform: translateX(100%);
}

.cta:active {
    transform: scale(0.9);
}

.cta::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #888;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.cta:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Only show CTA on chapters and playbooks page */
body.view-course-details-active .cta,
body.view-courses-active .cta,
body.view-standalone-active .cta {
    display: block;
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5002;
}

body.view-course-details-active .header-close-btn,
body.view-courses-active .header-close-btn,
body.view-courses-active .prof-header-label,
body.view-courses-active .header-title,
body.view-standalone-active .header-close-btn,
body.view-standalone-active .prof-header-label,
body.view-standalone-active .header-title {
    display: none !important;
}

body.view-course-details-active .header-title {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

body.view-course-details-active .logo,
body.view-course-details-active .prof-header-label,
body.view-course-details-active .hamburger,
body.view-standalone-active .logo {
    display: none !important;
}



.hamburger {
    cursor: pointer;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2em;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

.line {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* --- HOME PAGE SPECIFIC REFINEMENTS --- */
body.view-home-active .logo .logo-name {
    color: #fff !important;
}

body.view-home-active .hamburger .line {
    stroke: #fff !important;
}

/* Removed margin overrides to maintain UI stability globally */


/* ========================================= */
/* [PAGE 1: ORIGINAL HERO] */
/* ========================================= */
.hero-parallax-wrapper {
    position: relative;
    width: 100%;
}

.first-page {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px 8px;
    /* Align horizontal offset with logo/menu */
    color: white;
    overflow: hidden;
    z-index: 0;
    scroll-snap-align: start;
}

.capabilities-section {
    width: 100vw;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.cap-word {
    font-size: clamp(5rem, 18vw, 18rem);
    font-weight: 900;
    letter-spacing: -4px;
    color: #141414;
    line-height: 0.85;
    user-select: none;
    white-space: nowrap;
    font-family: var(--font-main);
}

.background-layer {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    right: 12px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: -2;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
}

.background-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.background-layer.active {
    opacity: 1;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-bottom: 25px;
    padding: 15px;
}

.line-1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    margin-bottom: 2px;
}

.line-2 {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    display: block;
}

/* ========================================= */


/* ========================================= */
/* MENU STYLES */
/* ========================================= */
body.menu-open {
    overflow: hidden;
}

body.menu-open .logo {
    color: #3a3a3a;
    text-shadow: none;
    pointer-events: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(2, 2, 2, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 6000;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    overflow: hidden;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.menu-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.menu-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 65%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05) 50%, transparent);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.menu-overlay.active .menu-background::after {
    opacity: 1;
    transform: translateY(0);
}

.menu-container {
    flex: 1;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 55px) 55px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.menu-top-brand {
    position: absolute;
    top: 0;
    left: 40px;
    padding-top: 32px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #666;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 7500;
}

.menu-close-btn {
    display: none;
}

.login-close-btn {
    display: none !important;
}

.playbooks-close-btn {
    display: none !important;
}

@media (min-width: 481px) {

    #login-close-btn,
    #playbooks-close-btn {
        display: none !important;
    }
}


.cta-menu {
    color: #888 !important;
    position: fixed !important;
    top: 32px !important;
    right: 48px !important;
    display: none;
    z-index: 8000;
}

.menu-overlay.active .cta-menu {
    display: block;
}

.cta-menu::before {
    color: #888 !important;
}

.cta-menu::after {
    background-color: #888 !important;
}

.menu-close-btn:hover {
    color: #444;
    transform: none;
}

.menu-overlay.active .menu-top-brand {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.menu-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-label {
    font-size: 0.71rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.menu-sidebar {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active .menu-sidebar {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.auth-section {
    margin-bottom: 50px;
}

.auth-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: #bbbbbb;
    transition: all 0.3s ease;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}

.auth-btn svg {
    color: #666;
    transition: all 0.3s ease;
    width: 18px;
    height: 18px;
}

.auth-btn:hover {
    color: #ffffff;
    border-bottom-color: #888;
}

.auth-btn:hover svg {
    color: #ffffff;
    transform: translateX(4px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.text-link {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.text-link:hover {
    color: #ffffff;
}

.menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 15%;
    padding-left: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.nav-item {
    overflow: hidden;
    margin-left: 0;
}

@media (min-width: 901px) {
    .nav-item:nth-child(2) {
        margin-left: 60px;
    }

    .nav-item:nth-child(3) {
        margin-left: 30px;
    }

    .nav-item:nth-child(4) {
        margin-left: 90px;
    }

    .nav-item:nth-child(5) {
        margin-left: 45px;
    }
}

.nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: clamp(2.35rem, 3.8vw, 4.25rem);
    font-weight: 300;
    color: #666666;
    text-decoration: none;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    transition: color 0.4s ease, transform 0.4s ease;
    transform: translateY(40px);
    opacity: 0;
    padding: 8px 0;
    cursor: pointer;
}

.menu-overlay.active .nav-link {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, color 0.4s ease;
}

.menu-overlay.active .nav-item:nth-child(1) .nav-link {
    transition-delay: 0.1s;
}

.menu-overlay.active .nav-item:nth-child(2) .nav-link {
    transition-delay: 0.15s;
}

.menu-overlay.active .nav-item:nth-child(3) .nav-link {
    transition-delay: 0.2s;
}

.menu-overlay.active .nav-item:nth-child(4) .nav-link {
    transition-delay: 0.25s;
}

.menu-overlay.active .nav-item:nth-child(5) .nav-link {
    transition-delay: 0.3s;
}

.nav-num {
    font-size: 1.12rem;
    color: var(--primary);
    font-weight: 300;
    font-family: var(--font-mono, monospace);
    margin-right: 32px;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.5;
    position: relative;
    top: -12px;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateX(20px);
}

.nav-link:hover .nav-num {
    opacity: 1;
    color: var(--primary);
    transform: translateY(-5px);
}

.menu-footer {
    padding: 25px 55px;
    display: flex;
    justify-content: flex-end;
    font-size: 0.71rem;
    color: #444;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    opacity: 0;
    text-transform: uppercase;
}

.menu-overlay.active .menu-footer {
    opacity: 1;
    transition: opacity 0.8s ease 0.5s;
}

@media (max-width: 900px) {
    .menu-container {
        padding: calc(var(--header-height) + 40px) 30px 30px;
    }

    .menu-columns {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .menu-nav {
        padding-right: 0;
        width: 100%;
    }

    .menu-sidebar {
        flex: none;
        width: 100%;
    }

    .nav-link {
        font-size: 2.5rem;
    }

    .menu-background::after {
        display: none;
    }
}

/* ========================================= */
/* [AUTH VIEW - SPLIT LAYOUT REDESIGN] */
/* ========================================= */
.auth-split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #000;
    color: #555;
    position: relative;
}

.auth-footer-bottom {
    position: absolute;
    bottom: 25px;
    left: 40px;
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 1px;
    z-index: 100;
}

/* Left Column (Info) */
.auth-info-col {
    padding: 140px 10% 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.auth-brand-icon {
    background: var(--primary);
    color: #555;
    padding: 6px 8px;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 2px;
}

.auth-info-main {
    margin-top: 40px;
}

.auth-label-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 30px;
}

.auth-label-wrap::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.auth-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.auth-headline span {
    color: var(--primary);
}

.auth-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #777;
    max-width: 500px;
}

.auth-metrics-footer {
    display: flex;
    gap: 60px;
    margin-top: 80px;
}

.auth-metric-item .m-val {
    font-size: 2.2rem;
    font-weight: 400;
    font-family: var(--font-main);
    margin-bottom: 5px;
    color: #555;
}

.auth-metric-item .m-val span {
    color: var(--primary);
}

.auth-metric-item .m-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-weight: 700;
}

/* Right Column (Form) */
.auth-form-col {
    background: #050505;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 100px;
}

.auth-form-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
}

.auth-form-tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #111;
    margin-bottom: 50px;
}

.auth-tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    color: #444;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.auth-tab-btn:hover {
    color: #888;
}

.auth-tab-btn.active {
    color: #555;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.auth-form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #555;
}

.auth-form-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 40px;
}

.auth-field-group {
    margin-bottom: 25px;
}

.auth-field-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 700;
}

.auth-input-wrap {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-input-wrap:focus-within {
    border-color: #333;
    background: rgba(255, 255, 255, 0.04);
}

.auth-input-wrap i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 0.9rem;
}

.auth-input-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px 18px 55px;
    color: #555;
    font-size: 0.95rem;
    font-family: var(--font-mono);
}

.auth-input-wrap input:focus,
.auth-input-wrap input:focus-visible {
    outline: none !important;
}

.auth-input-wrap input:-webkit-autofill,
.auth-input-wrap input:-webkit-autofill:hover,
.auth-input-wrap input:-webkit-autofill:focus,
.auth-input-wrap input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #555 !important;
}

.auth-input-wrap .toggle-password {
    left: auto;
    right: 15px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.auth-input-wrap .toggle-password:hover {
    color: #999;
}

/* Side-by-side fields row */
.auth-field-row {
    display: flex;
    gap: 10px;
}

.auth-field-row .auth-field-group {
    flex: 1;
}

/* Terms & Conditions checkbox */
.auth-tos-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 6px;
    cursor: pointer;
}

.auth-tos-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #333;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.auth-tos-wrap input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.auth-tos-wrap input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.auth-tos-wrap label {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* OTP / Verification Code Input */
.auth-otp-field input {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 12px;
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #aaa;
}

/* Forgot password link */
.auth-forgot-link {
    display: inline-block;
    font-size: 0.72rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 2px;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: var(--primary);
}

/* Auth step panels — smooth transitions */
.auth-step-panel {
    display: none;
}

.auth-step-panel.active {
    display: block;
    animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status messages */
.auth-status-msg {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin: 12px 0;
    letter-spacing: 1px;
}

.auth-status-msg.error {
    color: #e61010;
}

.auth-status-msg.success {
    color: #888;
}

/*
         * REGISTER FORM OVERRIDES
         * Specifically compact the register form so it doesn't scroll,
         * without affecting the original Sign In sizes.
         */
#split-register-panel .auth-form-title {
    margin-bottom: 5px;
}

#split-register-panel .auth-form-subtitle {
    margin-bottom: 12px;
}

#split-register-panel .auth-field-group {
    margin-bottom: 12px;
}

#split-register-panel .auth-field-label {
    margin-bottom: 6px;
    font-size: 0.65rem;
}

#split-register-panel .auth-pill-group {
    margin-top: 5px !important;
}

#split-register-panel .auth-tos-wrap {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Back link in auth flows */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 16px;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-back-link:hover {
    color: #888;
}

.auth-input-wrap input::placeholder {
    color: #222;
}

.auth-submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: #555;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    cursor: pointer;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s;
}

.auth-submit-btn:hover {
    background: #b3002d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(218, 41, 28, 0.3);
}

/* Pill Style Buttons */
.auth-pill-btn {
    width: 100%;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    margin-bottom: 15px;
    text-decoration: none;
    font-family: var(--font-main);
}

.pill-white {
    background: #555;
    color: #000;
}

.pill-white:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pill-dark {
    background: rgba(255, 255, 255, 0.05);
    color: #555;
    border-color: rgba(255, 255, 255, 0.1);
}

.pill-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.pill-red {
    background: #da291c;
    color: #fff;
}

.pill-red:hover {
    background: #b3002d;
    transform: translateY(-2px);
}

/* Dark red Authenticator button specifically for Login page */
body.view-login-active .auth-pill-btn.pill-red {
    background: var(--primary);
}

body.view-login-active .auth-pill-btn.pill-red:hover {
    background: #700000;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.pill-black {
    background: #000;
    color: #555;
    border-color: rgba(255, 255, 255, 0.1);
}

.pill-black:hover {
    background: #111;
    transform: translateY(-2px);
}

.auth-return-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: #444;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-return-link:hover {
    color: #888;
}

.auth-return-link i {
    margin-right: 10px;
    font-size: 0.7rem;
}

@media (max-width: 1100px) {
    .auth-split-view {
        grid-template-columns: 1fr;
    }

    .auth-info-col {
        padding: 60px 40px;
    }

    .auth-metrics-footer {
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 30px;
    }

    .auth-form-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.03);
        padding: 60px 30px;
    }

    .auth-field-row {
        flex-direction: column;
        gap: 0;
    }
}

.success-msg {
    color: #4caf50;
    font-size: 0.85rem;
    margin: -10px 0 20px;
    display: none;
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-left: 2px solid #4caf50;
}

/* ========================================= */
/* [V2 REDESIGN - ADMIN SUITES] */
/* ========================================= */
.admin-v2-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-v2-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.command-center-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* The "Thin Line" */
    border-radius: 12px;
    padding: 24px;
    /* backdrop-filter removed for performance */
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.command-center-card:hover {
    border-color: rgba(218, 41, 28, 0.2);
}


.v2-stat-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.v2-stat-box {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 18px;
    text-align: left;
    transition: all 0.3s ease;
}

.v2-stat-box:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.v2-stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    margin-bottom: 2px;
    letter-spacing: -1px;
}

.v2-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #444;
    font-weight: 800;
}

.trend-indicator {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.trend-up {
    color: #fff;
}

.trend-down {
    color: var(--primary);
}

/* Sparkline bars */
.spark-container {
    height: 30px;
    width: 80px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-top: 10px;
}

.spark-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    transition: height 0.3s ease;
}

/* Analytics V2 */
.analytics-hub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.signal-map-v2 {
    height: 350px;
    background: #020202;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}


@keyframes scan {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(100%);
    }
}

.log-stream-v2 {
    height: 350px;
    background: #080808;
    border: 1px solid #1a1b1e;
    border-radius: 12px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    overflow-y: auto;
    color: #444;
}

.log-entry {
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 2px solid transparent;
}

.log-info {
    border-left-color: #333;
    color: #666;
}

.log-warn {
    border-left-color: #f1c40f;
    color: #888;
    background: rgba(241, 196, 15, 0.03);
}

.log-alrt {
    border-left-color: var(--primary);
    color: #888;
    background: rgba(218, 41, 28, 0.05);
}

/* Security V2 */
.security-vault-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1b1e;
}

.status-badge-v2 {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-online {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.status-alert {
    background: rgba(218, 41, 28, 0.1);
    color: var(--primary);
    border-color: rgba(218, 41, 28, 0.2);
}

/* Settings V2 */
.settings-v2-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.settings-v2-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.s-v2-link {
    padding: 10px 16px;
    border-radius: 8px;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.s-v2-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #888;
}

.s-v2-link.active {
    background: rgba(218, 41, 28, 0.05);
    color: #fff;
}

.settings-v2-content {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid #1a1b1e;
    border-radius: 12px;
    padding: 30px;
}

@media (max-width: 900px) {

    .dashboard-v2-grid,
    .analytics-hub,
    .settings-v2-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* [ADMIN SECTION VISIBILITY TOGGLES] */
/* ========================================= */
.section-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    gap: 15px;
}

.section-toggle-row:last-child {
    border-bottom: none;
}

.section-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
}

.section-toggle-label i {
    color: #444;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.section-subtext-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
    color: #aaa;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    border-radius: 4px;
    width: 140px;
    transition: border-color 0.2s;
}

.section-subtext-input:focus {
    border-color: var(--primary);
    outline: none;
    color: #fff;
}

.section-order-btns {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.section-order-btn {
    background: transparent;
    border: none;
    color: #444;
    cursor: pointer;
    padding: 0 4px;
    font-size: 0.8rem;
}

.section-order-btn:hover {
    color: #fff;
}

.toggle-switch {
    position: relative;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 24px;
    transition: all 0.3s;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #444;
    border-radius: 50%;
    transition: all 0.3s;
}

.toggle-switch input:checked+.toggle-slider {
    background: rgba(139, 0, 0, 0.3);
    border-color: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    background: var(--primary);
    transform: translateY(-50%) translateX(22px);
}

.toggle-status-on {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.toggle-status-off {
    color: #333;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

/* Custom Animated Button Style */
/* Split-underline expands from centre outward on hover */
.custom-animated-btn {
    font-size: 14px;
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    outline: none;
    display: inline-block;
    overflow: visible;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
    padding: 8px 4px;
}

.custom-animated-btn:focus,
.custom-animated-btn:hover {
    color: #fff;
}

/* Left half — anchored at right:50%, grows leftward */
.custom-animated-btn::before {
    content: "";
    pointer-events: none;
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width;
}

/* Right half — anchored at left:50%, grows rightward */
.custom-animated-btn::after {
    content: "";
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width;
}

.custom-animated-btn:focus::before,
.custom-animated-btn:hover::before,
.custom-animated-btn:focus::after,
.custom-animated-btn:hover::after {
    width: 50%;
}

/* SVG Delete Button */
.delete-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
}

.delete-svgIcon {
    width: 15px;
    transition-duration: 0.3s;
}

.delete-svgIcon path {
    fill: white;
}

.delete-button:hover {
    width: 90px;
    border-radius: 50px;
    background-color: rgb(255, 69, 69);
}

.delete-button:hover .delete-svgIcon {
    width: 20px;
    transform: rotate(360deg);
}

.delete-button::before {
    display: none;
    content: "Delete";
    color: white;
    font-size: 2px;
}

.delete-button:hover::before {
    display: block;
    padding-right: 10px;
    font-size: 13px;
}

/* SVG Edit Button */
.edit-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
}

.edit-svgIcon {
    width: 17px;
    transition-duration: 0.3s;
}

.edit-svgIcon path {
    fill: white;
}

.edit-button:hover {
    width: 120px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: rgb(255, 69, 69);
    align-items: center;
}

.edit-button:hover .edit-svgIcon {
    width: 20px;
    transition-duration: 0.3s;
    transform: translateY(60%);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.edit-button::before {
    display: none;
    content: "Edit";
    color: white;
    transition-duration: 0.3s;
    font-size: 2px;
}

.edit-button:hover::before {
    display: block;
    padding-right: 10px;
    font-size: 13px;
    opacity: 1;
    transform: translateY(0px);
    transition-duration: 0.3s;
}

/* --- PROFILE ACTION PANELS --- */
.action-panel-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 250px;
    background: #0a0a0a;
    border: 1px solid #1a1b1e;
    border-radius: 8px;
    padding: 15px;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-panel-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-panel-dropdown h4 {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
}

.action-panel-dropdown .notif-item {
    font-size: 0.75rem;
    color: #aaa;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.4;
}

.action-panel-dropdown .notif-item:last-child {
    border-bottom: none;
}

.action-panel-dropdown textarea {
    width: 100%;
    height: 80px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

.action-panel-dropdown textarea:focus {
    border-color: var(--elegant-red);
    outline: none;
}

/* Notification Bell */
.notification {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    --color: #a5a5b0;
    --size: 22px;
    font-size: var(--size);
    fill: var(--color);
}

.notification[data-count]::before {
    content: attr(data-count);
    color: white;
    font-size: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--elegant-red, red);
    position: absolute;
    right: -6px;
    top: -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.notification[data-count="0"]::before,
.notification:not([data-count])::before {
    display: none;
}

.notification .bell-regular {
    position: absolute;
    animation: keyframes-fill .5s;
    transition: transform 0.2s ease;
}

.notification .bell-solid {
    position: absolute;
    display: none;
    animation: keyframes-fill .5s;
    transition: transform 0.2s ease;
}

.notification:hover .bell-regular,
.notification:hover .bell-solid {
    transform: scale(1.2);
}

/* Show solid (filled) bell when there are unread notifications */
.notification:not([data-count="0"]) .bell-regular {
    display: none;
}

.notification:not([data-count="0"]) .bell-solid {
    display: block;
}

@keyframes keyframes-fill {
    0% {
        opacity: 0;
    }

    25% {
        transform: rotate(25deg);
    }

    50% {
        transform: rotate(-20deg) scale(1.2);
    }

    75% {
        transform: rotate(15deg);
    }
}

/* Comment Button */
.comment-group {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-btn-svg {
    width: 32px;
    height: 32px;
    transition-duration: 200ms;
}

.comment-group:hover .comment-btn-svg {
    transform: scale(1.25);
    stroke: var(--elegant-red, #991b1b);
}

.comment-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 20;
    padding: 4px 8px;
    background-color: transparent;
    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    transition: all 300ms ease-in-out;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.comment-group:hover .comment-tooltip,
.notification:hover .comment-tooltip {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* NEW: Notification & Comment UI Enhancements */
.unread-glow {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    border-left: 1px solid #444 !important;
    background: rgba(255, 255, 255, 0.02);
}

.highlight-pulse {
    animation: highlight-pulse-animation 2s infinite;
}

@keyframes highlight-pulse-animation {
    0% {
        box-shadow: 0 0 0px var(--primary);
    }

    50% {
        box-shadow: 0 0 20px var(--primary);
    }

    100% {
        box-shadow: 0 0 0px var(--primary);
    }
}

.prof-sidebar-action-btn.has-unread::after {
    content: attr(data-count);
    position: absolute;
    top: -5px;
    right: -5px;
    background: #555;
    color: #ccc;
    font-size: 9px;
    font-weight: 900;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    z-index: 10;
}

/* [GLASSMORPHIC NOTIFICATIONS] */
.notif-feed-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-card {
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease-out;
    /* backdrop-filter removed for performance */
    border-radius: 20px;
    height: 90px;
    overflow: visible;
}

.notification-card:hover {
    transform: translateY(-4px);
}

.notification-card:active {
    transform: scale(0.98);
}

.notification-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
}

.notification-path {
    transition: all 0.3s ease;
}

.notification-card:hover .notification-path {
    stroke: rgba(255, 255, 255, 0.25);
}

.notification-content {
    position: relative;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    box-sizing: border-box;
}

.notification-avatar {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* backdrop-filter removed for performance */
    color: #888;
    font-size: 1.2rem;
}

.notification-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.notification-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #aaa;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.notification-time {
    font-size: 0.7rem;
    color: #666;
    font-family: var(--font-mono);
}

.notification-message {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-actions {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.notif-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    cursor: pointer;
    transition: color 0.2s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.notif-action-btn:hover {
    color: #ddd;
}

/* Adapt unread styling to SVG path */
.notification-card.is-unread .notification-path {
    stroke: #555;
    stroke-width: 1;
}

.comment-card {
    position: relative;
    width: 100%;
    cursor: default;
    transition: all 0.3s ease-out;
    /* backdrop-filter removed for performance */
    border-radius: 20px;
    margin-bottom: 25px;
    min-height: 90px;
    height: auto;
    overflow: visible;
}

.comment-card .notification-svg {
    height: 100%;
    min-height: 90px;
}

.comment-metadata {
    font-size: 0.65rem;
    color: #444;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.comment-text-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.comment-card:hover .comment-text-reveal {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 12px;
}

.comment-card:hover .notification-path {
    stroke: rgba(255, 255, 255, 0.2);
}

/* ========================================= */
/* Shine Text Effect (section headings)      */
/* ========================================= */
/* From Uiverse.io by neerajbaniwal — adapted for inline heading use */
.btn-shine {
    color: #fff;
    background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
    background-position: 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s infinite linear;
    animation-fill-mode: forwards;
    -webkit-text-size-adjust: none;
    font-weight: 600;
    font-size: 1.4rem;
    font-family: "Poppins", var(--font-main);
    white-space: nowrap;
    display: inline-block;
}

@-moz-keyframes shine {
    0% {
        background-position: 0;
    }

    60% {
        background-position: 180px;
    }

    100% {
        background-position: 180px;
    }
}

@-webkit-keyframes shine {
    0% {
        background-position: 0;
    }

    60% {
        background-position: 180px;
    }

    100% {
        background-position: 180px;
    }
}

@-o-keyframes shine {
    0% {
        background-position: 0;
    }

    60% {
        background-position: 180px;
    }

    100% {
        background-position: 180px;
    }
}

@keyframes shine {
    0% {
        background-position: 0;
    }

    60% {
        background-position: 180px;
    }

    100% {
        background-position: 180px;
    }
}

/* ========================================= */
.wordmark-wrap {
    width: 100%;
    pointer-events: none;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 25px rgba(74, 74, 74, 0.15));
}

.wordmark-wrap svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.glitch-red {
    display: inline-block;
    fill: var(--red-main);
    animation: none !important;
    transform: none !important;
}

.text-glitch-red {
    color: var(--red-main);
    display: inline-block;
    animation: none !important;
    transform: none !important;
}

.hero-tagline {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 500;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
}

.typewriter::after {
    content: '|';
    color: var(--red-main);
    animation: blink 1s step-start infinite;
    margin-left: 6px;
    font-weight: 300;
    font-size: 0.95em;
    position: relative;
    top: -1px;
}

.hero-center-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 34px 0 30px;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
    text-align: center;
}

.hero-pyramid-card {
    width: min(100%, 980px);
    position: relative;
    text-align: center;
    padding: 0;
    background: none;
    border: none;
    clip-path: none;
    backdrop-filter: none;
    box-shadow: none;
}

.hero-pyramid-card::before,
.hero-pyramid-card::after {
    display: none;
}

.hero-pyramid-title {
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.15;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 28px;
}

.hero-pyramid-desc {
    max-width: 880px;
    margin: 0 auto;
    font-size: clamp(14px, 1.5vw, 20px);
    color: #666;
    line-height: 1.7;
    font-weight: 500;
    text-align: center;
    font-family: var(--font-heading);
}

.hero-pyramid-desc span {
    display: block;
}

.hero-pyramid-desc .line-1 {
    max-width: 880px;
    margin: 0 auto;
}

.hero-pyramid-desc .line-2 {
    max-width: 780px;
    margin: 0 auto;
}

.hero-pyramid-desc .line-3 {
    max-width: 650px;
    margin: 0 auto;
}

.hero-pyramid-desc .line-4 {
    max-width: 500px;
    margin: 0 auto;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 1s 0.7s forwards;
}

.hero-services span {
    font-size: 13px;
    color: #444;
    font-weight: 400;
}

.hero-services .sep {
    margin: 0 10px;
    color: #222;
}

.hero-cta-wrap {
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-main-text {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--red-main);
    border-right: none;
    padding: 16px 30px;
    transition: all .4s ease;
}

.btn-main:hover .btn-main-text {
    background: var(--red-main);
    color: #000;
    box-shadow: 0 0 20px var(--red-glow);
}

.btn-main-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--red-main);
    color: #000;
    font-size: 18px;
    transition: all .4s ease;
}

.btn-main:hover .btn-main-icon {
    background: #fff;
    transform: translateX(5px);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--red-main);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===================== CERT SECTION ===================== */
.cert-section {
    min-height: auto;
    padding: 30px 52px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000000;
    overflow: hidden;
}

.cert-section::before {
    display: none;
}

.cert-main-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

#top-expanded {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        max-height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        margin 0.7s ease;
    transform: translateY(-30px);
}

#top-expanded[hidden] {
    display: none;
}

.cert-header-section {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.cert-subtitle {
    display: inline-block;
    color: var(--red-main);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 18px;
    padding: 5px 14px;
    border: 1px solid rgba(74, 74, 74, 0.3);
    border-radius: 3px;
    background: rgba(74, 74, 74, 0.04);
}

.cert-main-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
    line-height: 1.1;
    text-transform: uppercase;
}

.cert-main-title .red {
    color: var(--red-main);
    text-shadow: 0 0 14px rgba(74, 74, 74, 0.3);
}

.cert-description {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.nodes-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.cert-section .node {
    text-align: center;
    width: 14%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(-18px) scale(0.94);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-circle-full {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid var(--border-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
    background: rgba(10, 10, 10, 0.7);
    /* backdrop-filter removed for performance */
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    color: #777;
}

.icon-circle-full:hover {
    border-color: var(--red-main);
    color: var(--red-main);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(74, 74, 74, 0.18), inset 0 0 12px rgba(74, 74, 74, 0.08);
}

.icon-circle-full::after {
    content: '';
    position: absolute;
    bottom: -9px;
    width: 6px;
    height: 6px;
    background: var(--red-main);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(74, 74, 74, 0.65);
    opacity: 0.85;
}

.node h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ddd;
    letter-spacing: 0.4px;
}

.node p {
    color: var(--text-dim);
    font-size: 0.76rem;
    line-height: 1.5;
}

.cert-section button.node {
    appearance: none;
    border: 0;
    padding: 0;
    font: inherit;
    background: transparent;
    cursor: pointer;
}



.pathway-modal-open {
    overflow: hidden;
}

.pathway-chapter-modal {
    /* Base Natural Theme Colors (Light Mode) */
    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: oklch(0.205 0 0);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.97 0 0);
    --secondary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.97 0 0);
    --muted-foreground: oklch(0.556 0 0);
    --accent: oklch(0.97 0 0);
    --accent-foreground: oklch(0.205 0 0);
    --destructive: oklch(0.577 0.245 27.325);
    --border: oklch(0.922 0 0);
    --input: oklch(0.922 0 0);
    --ring: oklch(0.708 0 0);
    --radius: 0.625rem;

    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

/* Dark theme overrides for pathway-chapter-modal */
.dark .pathway-chapter-modal,
body.view-home-active .pathway-chapter-modal {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.205 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.922 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --ring: oklch(0.556 0 0);
}

.pathway-chapter-modal[hidden] {
    display: none;
}

.pathway-chapter-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pathway-chapter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pathway-chapter-dialog {
    position: relative;
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px 20px 20px;
    font-family: var(--font-main) !important;
}

.pathway-chapter-modal.is-open .pathway-chapter-dialog {
    transform: scale(1) translateY(0);
}

.pathway-chapter-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--muted-foreground) !important;
    font-size: 1.6rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 0;
    box-shadow: none;
}

.pathway-chapter-close:hover,
.pathway-chapter-close:focus-visible {
    color: var(--destructive) !important;
    background: none;
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.pathway-chapter-kicker {
    font-size: 0.65rem;
    color: var(--muted-foreground) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.7;
    font-family: var(--font-main) !important;
}

.pathway-chapter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground) !important;
    letter-spacing: 1px;
    margin: 0 44px 16px 0;
    text-transform: uppercase;
    font-family: var(--font-main) !important;
}

.pathway-chapter-title i {
    color: var(--primary) !important;
    margin-right: 8px;
}

.pathway-chapter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    overflow-y: auto;
    padding-right: 6px;
    flex: 1;
}

.pathway-chapter-grid::-webkit-scrollbar {
    width: 4px;
}

.pathway-chapter-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius);
}

.pathway-chapter-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--background) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    padding: 12px 16px;
    transition: background-color 0.2s, border-color 0.2s;
    min-height: auto;
    font-family: var(--font-main) !important;
}

.pathway-chapter-card:hover {
    background: var(--accent) !important;
}

.pathway-chapter-icon {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: grid;
    place-items: center;
    color: var(--primary) !important;
    border: 1px solid var(--border) !important;
    background: var(--card) !important;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pathway-chapter-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pathway-chapter-copy span {
    display: block;
    color: var(--primary) !important;
    font-family: var(--font-main) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.pathway-chapter-copy strong {
    display: block;
    color: var(--foreground) !important;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--font-main) !important;
}

.pathway-chapter-copy p {
    margin: 4px 0 0;
    color: var(--muted-foreground) !important;
    font-size: 0.72rem;
    line-height: 1.4;
    font-family: var(--font-main) !important;
}

#lines-container {
    width: 100%;
    max-width: 1200px;
    height: 0;
    opacity: 0;
    position: relative;
    margin-top: -12px;
    z-index: 1;
    overflow: visible;
    transition:
        height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease;
    filter: drop-shadow(0 0 8px rgba(74, 74, 74, 0.22));
}

.lines-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lines-svg path {
    fill: none;
    stroke: rgba(74, 74, 74, 0.35);
    stroke-width: 1.5;
    stroke-dasharray: 6 7;
    animation: moveDash 18s linear infinite;
}

@keyframes moveDash {
    to {
        stroke-dashoffset: -1000;
    }
}

#hub-container {
    height: 0;
    opacity: 0;
    transform: scale(0.25) translateY(20px);
    transition:
        height 0.75s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.55s ease,
        transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    cursor: pointer;
}

.central-hub {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hub-circle-outer {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 1px dashed rgba(74, 74, 74, 0.28);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: spinSlow 18s linear infinite;
}

.hub-circle-outer::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(74, 74, 74, 0.1);
    animation: spinSlow 10s linear infinite reverse;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

.hub-circle-inner {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    border: 2px solid var(--red-main);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.6rem;
    color: #fff;
    background: radial-gradient(circle, rgba(74, 74, 74, 0.18) 0%, #020202 78%);
    box-shadow: 0 0 28px rgba(74, 74, 74, 0.28), inset 0 0 18px rgba(74, 74, 74, 0.14);
    transition: all 0.4s ease;
    animation: pulseCore 3s ease-in-out infinite;
    position: absolute;
}

@keyframes pulseCore {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(74, 74, 74, 0.22), inset 0 0 10px rgba(74, 74, 74, 0.1);
    }

    50% {
        box-shadow: 0 0 42px rgba(74, 74, 74, 0.45), inset 0 0 22px rgba(74, 74, 74, 0.22);
    }
}

.hub-circle-inner:hover {
    transform: scale(1.08);
}

.hub-dot {
    position: absolute;
    top: -28px;
    width: 8px;
    height: 8px;
    background: var(--red-main);
    border-radius: 50%;
    box-shadow: 0 0 14px 4px rgba(74, 74, 74, 0.65);
}

.interactive-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 980px;
    z-index: 2;
    margin-top: 10px;
    flex-wrap: wrap;
    transition: margin-top 0.7s ease, transform 0.7s ease;
}

.feature-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    /* backdrop-filter removed for performance */
    border: 2px solid rgba(74, 74, 74, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-wrapper::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(74, 74, 74, 0.4);
    transition: all 0.4s ease;
}

.feature-wrapper:hover {
    transform: translateY(-6px);
    border-color: var(--red-main);
    box-shadow: 0 0 20px rgba(74, 74, 74, 0.4);
}

.feature-wrapper.is-active {
    transform: translateY(-4px);
    background: rgba(74, 74, 74, 0.15);
    border-color: var(--red-main);
    box-shadow: 0 0 25px rgba(74, 74, 74, 0.5), inset 0 0 15px rgba(74, 74, 74, 0.3);
}

.feature-wrapper.is-active::before {
    border-color: var(--red-main);
    animation: spinSlow 8s linear infinite;
}

.clickable-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    color: #8b8b8b;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    z-index: 2;
    transition: all 0.35s ease;
}

.feature-wrapper:hover .clickable-circle,
.feature-wrapper.is-active .clickable-circle {
    color: #fff;
    letter-spacing: 2px;
}

.instruction-text {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.32);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
}

.pathway-active #top-expanded {
    max-height: 900px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 6px;
    margin-bottom: 6px;
}

.pathway-active .node {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pathway-active .node:nth-child(1) {
    transition-delay: 0.08s;
}

.pathway-active .node:nth-child(2) {
    transition-delay: 0.16s;
}

.pathway-active .node:nth-child(3) {
    transition-delay: 0.24s;
}

.pathway-active .node:nth-child(4) {
    transition-delay: 0.32s;
}

.pathway-active .node:nth-child(5) {
    transition-delay: 0.40s;
}

.pathway-active .node:nth-child(6) {
    transition-delay: 0.48s;
}

.pathway-active #lines-container {
    height: 220px;
    opacity: 1;
    transition-delay: 0.28s;
}

.pathway-active #hub-container {
    height: 170px;
    opacity: 1;
    transform: scale(1) translateY(0);
    margin-top: -46px;
    margin-bottom: 24px;
    transition-delay: 0.42s;
}

.pathway-active .interactive-circles {
    margin-top: 0;
    transform: translateY(4px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== MAP SECTION — STICKY ===================== */
.sticky-end-wrap {
    position: relative;
}

.map-sticky-wrapper {
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.scroll-delay-spacer {
    display: block;
    width: 100%;
    height: clamp(16px, 3vh, 45px);
    pointer-events: none;
}

@media (min-height: 1050px) {
    .map-sticky-wrapper {
        top: 0;
        bottom: auto;
    }
}

.map-network-section {
    position: relative;
    padding: 42px 52px 6px;
    background: #000000;
    overflow: visible;
}

.map-network-section::before {
    display: none;
}

.map-network-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.map-network-head {
    margin-bottom: 36px;
    text-align: center;
}

.map-network-title {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.map-network-title .red {
    color: var(--red-main);
}

.map-network-sub {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

.world-map-shell {
    position: relative;
    width: 100%;
    height: clamp(520px, 60vw, 760px);
    border: 1px solid var(--border-dim);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
        rgba(6, 6, 6, 0.95);
    overflow: hidden;
    box-shadow:
        inset 0 0 35px rgba(0, 0, 0, 0.45),
        0 20px 50px rgba(0, 0, 0, 0.35);
}

.world-map-shell::before,
.world-map-shell::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid var(--red-main);
    z-index: 3;
    opacity: 0.65;
}

.world-map-shell::before {
    top: 14px;
    left: 14px;
    border-right: none;
    border-bottom: none;
}

.world-map-shell::after {
    bottom: 14px;
    right: 14px;
    border-left: none;
    border-top: none;
}

.world-map-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/world-map-low-resolution.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    filter: invert(1) brightness(0.16) grayscale(1);
    opacity: 0.32;
    transform: scale(1);
}

.world-map-fade {
    position: absolute;
    inset: 0;
    /*background:
    radial-gradient(circle at 50% 50%, transparent 35%, rgba(2, 2, 2, 0.10) 70%, rgba(2, 2, 2, 0.32) 100%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.08), rgba(2, 2, 2, 0.18)); */
    background: rgba(2, 2, 2, 0.10);
    z-index: 1;
}

.map-nodes-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.map-node {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.map-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--wine-main);
    box-shadow:
        0 0 0 2px rgba(90, 16, 35, 0.14),
        0 0 10px rgba(90, 16, 35, 0.35),
        0 0 18px rgba(90, 16, 35, 0.15);
    position: relative;
    z-index: 2;
}

.map-dot::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border: 1px solid rgba(90, 16, 35, 0.58);
    border-radius: 50%;
    animation: mapPulse 2.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.map-dot::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border: 1px solid rgba(90, 16, 35, 0.28);
    border-radius: 50%;
    animation: mapPulse 2.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-delay: 0.8s;
}

@keyframes mapPulse {
    0% {
        width: 9px;
        height: 9px;
        opacity: 1;
    }

    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.map-label {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
}

.map-node:hover .map-label {
    color: var(--text-main);
}

.map-node-1 {
    top: 24%;
    left: 18%;
}

.map-node-2 {
    top: 31%;
    left: 27%;
}

.map-node-3 {
    top: 28%;
    left: 39%;
}

.map-node-4 {
    top: 36%;
    left: 49%;
}

.map-node-5 {
    top: 32%;
    left: 58%;
}

.map-node-6 {
    top: 44%;
    left: 68%;
}

.map-node-7 {
    top: 56%;
    left: 24%;
}

.map-node-8 {
    top: 54%;
    left: 39%;
}

.map-node-9 {
    top: 61%;
    left: 52%;
}

.map-node-10 {
    top: 66%;
    left: 66%;
}

.map-node-11 {
    top: 73%;
    left: 82%;
}

/*
===================== FIX: SCREENS LARGER THAN iPad 11-inch ===================== */
@media (min-width: 1195px) {
    .world-map-shell {
        height: 630px;
        background: rgba(6, 6, 6, 0.95);
    }

    /*  .world-map-fade {
    background:
      radial-gradient(circle at 50% 50%, transparent 35%, rgba(2, 2, 2, 0.10) 70%, rgba(2, 2, 2, 0.32) 100%);
  }*/
}

.mobile-only-footer {
    display: none;
}

/* ===================== FOOTER ===================== */
.site-footer {
    position: relative;
    z-index: 2;
    margin: -48px 24px 0;
    background: #7a7a7a;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6);

    opacity: 0;
    transform: translateY(70px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer.footer-animating {
    will-change: opacity, transform, filter;
}

.site-footer.footer-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.site-footer .footer-top,
.site-footer .footer-bottom {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer.footer-visible .footer-top {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.site-footer.footer-visible .footer-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
}

.footer-top {
    padding: 100px 60px;
}

.footer-top h2 {
    color: #020202;
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 40px;
    max-width: 900px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.footer-top a.footer-link {
    color: #020202;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3px solid #020202;
    padding-bottom: 4px;
    font-size: 18px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.footer-top a.footer-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    background: #050505;
    border-radius: 40px 40px 0 0;
    padding: 80px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-nav-links {
    display: flex;
    gap: 100px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-nav-col h4 {
    color: #4A4A4A;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.footer-nav-col a {
    color: #8b8b8b;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 17px;
    transition: color 0.3s;
}

.footer-nav-col a:hover {
    color: #ffffff;
}

.footer-message {
    max-width: 340px;
}

.footer-message h3 {
    color: #7a7a7a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 35px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.footer-message a {
    color: #7a7a7a;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 2px solid #7a7a7a;
    padding-bottom: 4px;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.footer-message a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    from {
        opacity: .4;
        transform: scale(1);
    }

    to {
        opacity: .7;
        transform: scale(1.05);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
    .nodes-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    #lines-container {
        display: none !important;
    }

    .cert-section .node {
        width: 28%;
    }

    .world-map-shell {
        height: 640px;
    }

    .map-label {
        font-size: 11px;
    }
}

@media (max-width: 780px) {

    #hero,
    .cert-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cert-section {
        padding-bottom: 18px;
    }

    .cert-main-title {
        font-size: 1.8rem;
    }

    .cert-section .node {
        width: 44%;
    }

    .pathway-chapter-modal {
        padding: 16px;
    }

    .pathway-chapter-dialog {
        max-height: calc(100vh - 32px);
        padding: 22px 16px 16px;
    }

    .pathway-chapter-grid {
        grid-template-columns: 1fr;
    }

    .interactive-circles {
        gap: 14px;
    }

    .feature-wrapper {
        width: 90px;
        height: 90px;
    }

    .clickable-circle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-pyramid-title {
        letter-spacing: 1.5px;
    }

    .hero-pyramid-desc .line-1,
    .hero-pyramid-desc .line-2,
    .hero-pyramid-desc .line-3,
    .hero-pyramid-desc .line-4 {
        max-width: 100%;
    }

    .map-network-section {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 32px;
        padding-bottom: 5px;
    }

    .scroll-delay-spacer {
        height: clamp(8px, 2vh, 28px);
    }

    .world-map-shell {
        height: 760px;
    }

    .world-map-bg {
        background-size: cover;
        background-position: center;
    }

    .map-label {
        font-size: 10px;
        letter-spacing: 0.5px;
        white-space: normal;
        min-width: 100px;
        text-align: center;
        line-height: 1.4;
    }

    .map-node-1 {
        top: 18%;
        left: 23%;
    }

    .map-node-2 {
        top: 25%;
        left: 42%;
    }

    .map-node-3 {
        top: 22%;
        left: 68%;
    }

    .map-node-4 {
        top: 33%;
        left: 52%;
    }

    .map-node-5 {
        top: 41%;
        left: 75%;
    }

    .map-node-6 {
        top: 49%;
        left: 59%;
    }

    .map-node-7 {
        top: 56%;
        left: 28%;
    }

    .map-node-8 {
        top: 64%;
        left: 45%;
    }

    .map-node-9 {
        top: 72%;
        left: 67%;
    }

    .map-node-10 {
        top: 81%;
        left: 48%;
    }

    .map-node-11 {
        top: 88%;
        left: 76%;
    }

    .site-footer {
        margin: -32px 12px 0;
        border-radius: 28px 28px 0 0;
    }

    .footer-top {
        padding: 60px 30px;
    }

    .footer-top h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        padding: 60px 30px;
        flex-direction: column;
        border-radius: 28px 28px 0 0;
        gap: 60px;
    }

    .footer-nav-links {
        gap: 60px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

    .footer-nav-col {
        min-width: 120px;
    }

    .footer-message h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-footer,
    .site-footer .footer-top,
    .site-footer .footer-bottom {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

#view-landing .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}

#view-landing .footer-nav-links {
    display: flex !important;
    gap: 100px !important;
}

#view-landing .footer-nav-col {
    display: flex !important;
    flex-direction: column !important;
}

#view-landing .footer-message {
    max-width: 340px !important;
}

/* =============================================
           FIX: cert-header-section - override global header flex
           ============================================= */
.cert-header-section {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    z-index: auto !important;
    background: transparent !important;
    pointer-events: auto !important;
    text-align: center;
    margin-bottom: 50px;
}

.cert-header-section>* {
    pointer-events: auto;
}

/* =============================================
           FIX: footer-bottom - scoped to #view-home
           ============================================= */
#view-home .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 80px 60px !important;
}

#view-home .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 100px !important;
}

#view-home .footer-nav-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

#view-home .footer-message {
    max-width: 340px !important;
}

@media (max-width: 780px) {
    #view-home .footer-bottom {
        height: 760px;
    }

    .world-map-bg {
        background-size: cover;
        background-position: center;
    }

    .map-label {
        font-size: 10px;
        letter-spacing: 0.5px;
        white-space: normal;
        min-width: 100px;
        text-align: center;
        line-height: 1.4;
    }

    .map-node-1 {
        top: 18%;
        left: 23%;
    }

    .map-node-2 {
        top: 25%;
        left: 42%;
    }

    .map-node-3 {
        top: 22%;
        left: 68%;
    }

    .map-node-4 {
        top: 33%;
        left: 52%;
    }

    .map-node-5 {
        top: 41%;
        left: 75%;
    }

    .map-node-6 {
        top: 49%;
        left: 59%;
    }

    .map-node-7 {
        top: 56%;
        left: 28%;
    }

    .map-node-8 {
        top: 64%;
        left: 45%;
    }

    .map-node-9 {
        top: 72%;
        left: 67%;
    }

    .map-node-10 {
        top: 81%;
        left: 48%;
    }

    .map-node-11 {
        top: 88%;
        left: 76%;
    }

    .site-footer {
        margin: -32px 12px 0;
        border-radius: 28px 28px 0 0;
    }

    .footer-top {
        padding: 60px 30px;
    }

    .footer-top h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        padding: 60px 30px;
        flex-direction: column;
        border-radius: 28px 28px 0 0;
        gap: 60px;
    }

    .footer-nav-links {
        gap: 60px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

    .footer-nav-col {
        min-width: 120px;
    }

    .footer-message h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-footer,
    .site-footer .footer-top,
    .site-footer .footer-bottom {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

#view-landing .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}

#view-landing .footer-nav-links {
    display: flex !important;
    gap: 100px !important;
}

#view-landing .footer-nav-col {
    display: flex !important;
    flex-direction: column !important;
}

#view-landing .footer-message {
    max-width: 340px !important;
}

/* =============================================
           FIX: cert-header-section - override global header flex
           ============================================= */
.cert-header-section {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    z-index: auto !important;
    background: transparent !important;
    pointer-events: auto !important;
    text-align: center;
    margin-bottom: 50px;
}

.cert-header-section>* {
    pointer-events: auto;
}

/* =============================================
           FIX: footer-bottom - scoped to #view-home
           ============================================= */
#view-home .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 80px 60px !important;
}

#view-home .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 100px !important;
}

#view-home .footer-nav-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

#view-home .footer-message {
    max-width: 340px !important;
}

@media (max-width: 780px) {
    #view-home .footer-bottom {
        flex-direction: column !important;
        padding: 60px 30px !important;
        gap: 60px !important;
    }

    #view-home .footer-nav-links {
        flex-direction: row !important;
        gap: 60px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

/* ===================== HERO (Restored) ===================== */
#hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 52px 30px;
    position: relative;
    background: #000000;
    z-index: 10;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(74, 74, 74, 0.1) 0%, transparent 60%);
    filter: blur(120px);
    z-index: -1;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

.wordmark-wrap {
    width: 100%;
    pointer-events: none;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 25px rgba(74, 74, 74, 0.15));
}

.wordmark-wrap svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.glitch-red {
    display: inline-block;
    fill: var(--red-main);
    animation: none !important;
    transform: none !important;
}
.text-glitch-red {
    color: var(--red-main);
    display: inline-block;
    animation: none !important;
    transform: none !important;
}

/* Ensure the first page does not show behind footer or other sections */
body.view-home-active .cert-section,
body.view-home-active .map-container {
    position: relative;
    z-index: 20;
    background: #000000;
}

body.view-home-active .site-footer {
    position: relative;
    z-index: 30;
}

body.view-home-active {
    background: #000000;
}

/* =============================================
   FOOTER PARALLAX EFFECT (Slide-over)
   ============================================= */
.sticky-end-wrap {
    position: relative;
    width: 100%;
}

.map-sticky-wrapper {
    position: sticky !important;
    /* JS will set --map-sticky-top to calc(100vh - elementHeight) */
    top: var(--map-sticky-top, 0px) !important;
    bottom: auto !important;
    z-index: 1;
}

body.view-home-active .scroll-delay-spacer {
    height: 30vh !important;
}

body.view-home-active .site-footer {
    position: relative;
    z-index: 30;
}

/* --- PROFILE DRAWER STYLES (DESKTOP HIDDEN) --- */
@media (min-width: 1013px) {
    .prof-sidebar-backdrop {
        display: none !important;
    }
    .prof-sidebar-close-btn {
        display: none !important;
    }

    .mobile-only-prof-toggle {
        display: none !important;
    }
}

.bookmark-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(239, 68, 68, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s, opacity 0.2s;
    z-index: 10;
    position: relative;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bookmark-delete-btn:hover {
    color: rgba(239, 68, 68, 1);
}

/* ========================================= */

