:root {
    --primary-color: #2C2216;
    /* Maroon */
    --secondary-color: #C5A95F;
    /* Golden */
    --light-bg-text-color: #000;
    /* Black */
    --dark-bg-text-color: #fff;
    /* White */
    --heading-color: #16243E;
    /* Navy */
    --e90-shell-h: calc(100dvh - 250px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    min-height: 100dvh;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'manrope';
    src: url('../fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
li {
    font-family: 'manrope';
}



.container,
.container-xxl {
    max-width: 1400px !important;
}

.header-sec {
    background: url(../images/ecosystem-banner.webp);
    min-height: 220px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 24px 12px;
}

.header-wrapper a img {
    width: min(180px, 38vw);
}

.header-image-control {
    display: inline-block;
    border-radius: 999px;
    transition: transform .2s ease, filter .2s ease;
}

.header-image-control:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.header-image-control:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.app {
    display: flex;
    height: var(--e90-shell-h, calc(100vh - 0px));
    min-height: 0;
    gap: 10px;
    margin: 10px 10px 0 10px;
}

/* Common scroll areas */
.left,
.main,
.right {
    height: 100%;
    overflow-y: auto;
}

/* Left Aside */
.left {
    width: 280px;
    /* background: #111; */
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 12px;
    border-radius: 7px;
}

/* Main Content */
.main {
    flex: 1;
}

/* Right Aside */
.right {
    width: 280px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 12px;
    border-radius: 7px;
}

/* Inner spacing */
.inner {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 7px;
}

/* Optional: smooth scroll */
.left,
.main,
.right {
    scroll-behavior: smooth;
}

.monitoring-heading {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    color: #000;
}

.geolocation-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.geolocation-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-bg-text-color);
}

.geolocation-parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.geo-box {
    /* background: #111; */
    color: #000;
    padding: 10px 12px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.geo-box img {
    width: 30px;
    margin-bottom: 5px;
}

.geo-box h6 {
    font-size: 12px;
    margin: 0;
}

.geo-box p {
    font-size: 12px;
    margin: 0;
}

.geolocation-text {
    color: #000;
    font-size: 12px;
    opacity: 0.75;
    margin-top: 12px;
}

.sources-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.sources-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-bg-text-color);
}

.social-boxes-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.social-box span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: red;
    background: rgba(0, 0, 0, 0.12);
}

.social-box {
    color: #000;
    padding: 10px 12px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.social-box h6 {
    font-size: 12px;
    margin: 0;
}

.social-box p {
    font-size: 12px;
    margin: 0;
}

.social-text {
    color: #000;
    font-size: 12px;
    opacity: 0.75;
    margin-top: 12px;
}

.engagement-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

/* Wrapper */
.engagement-wrapper h3 {
    color: #000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Parent */
.engagemanet-parent {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Box */
.engagement-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
}

/* Title */
.engagement-title {
    font-size: 12px;
    text-transform: capitalize;
}

/* Values */
.time,
.scroll-dept,
.engagement-counts {
    font-size: 12px;
    font-weight: 600;
}

/* Bottom text */
.engagement-text {
    margin-top: 10px;
    font-size: 12px;
    color: #000;
    opacity: 0.75;
}

.system-pulse-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.system-pulse-wrapper h3 {
    color: #000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.system-pulse-box-parent {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Box */
.system-pulse-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
}

/* Title */
.system-pulse-box h6 {
    font-size: 12px;
    text-transform: capitalize;
    margin: 0;
}

.system-pulse-box p {
    font-size: 12px;
    margin: 0;
}

.interaction-aside {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(197, 169, 95, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 243, 233, 0.66) 100%);
    border-color: rgba(197, 169, 95, 0.18);
    box-shadow: 0 24px 60px rgba(44, 34, 22, 0.1);
    backdrop-filter: blur(18px);
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 169, 95, 0.4) rgba(0, 0, 0, 0.05);
}

.interaction-aside::-webkit-scrollbar {
    width: 8px;
}

.interaction-aside::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
}

.interaction-aside::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(197, 169, 95, 0.72), rgba(44, 34, 22, 0.72));
    border-radius: 999px;
}

.interaction-aside .inner {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.52) 100%);
    border-color: rgba(197, 169, 95, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.interaction-aside .monitoring-heading,
.interaction-aside .geolocation-wrapper,
.interaction-aside .sources-wrapper,
.interaction-aside .engagement-wrapper,
.interaction-aside .system-pulse-wrapper,
.interaction-aside .geo-box,
.interaction-aside .social-box,
.interaction-aside .engagement-box,
.interaction-aside .system-pulse-box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.interaction-aside .monitoring-heading,
.interaction-aside .geolocation-wrapper,
.interaction-aside .sources-wrapper,
.interaction-aside .engagement-wrapper,
.interaction-aside .system-pulse-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(248, 241, 229, 0.6) 100%);
    border: 1px solid rgba(24, 24, 24, 0.08);
    box-shadow:
        0 14px 34px rgba(44, 34, 22, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        background 0.4s ease;
}

.interaction-aside .monitoring-heading::before,
.interaction-aside .geolocation-wrapper::before,
.interaction-aside .sources-wrapper::before,
.interaction-aside .engagement-wrapper::before,
.interaction-aside .system-pulse-wrapper::before,
.interaction-aside .geo-box::after,
.interaction-aside .social-box::after,
.interaction-aside .engagement-box::after,
.interaction-aside .system-pulse-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.52) 34%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.interaction-aside .monitoring-heading>*,
.interaction-aside .geolocation-wrapper>*,
.interaction-aside .sources-wrapper>*,
.interaction-aside .engagement-wrapper>*,
.interaction-aside .system-pulse-wrapper>*,
.interaction-aside .geo-box>*,
.interaction-aside .social-box>*,
.interaction-aside .engagement-box>*,
.interaction-aside .system-pulse-box>* {
    position: relative;
    z-index: 1;
}

.interaction-aside .monitoring-heading:hover::before,
.interaction-aside .geolocation-wrapper:hover::before,
.interaction-aside .sources-wrapper:hover::before,
.interaction-aside .engagement-wrapper:hover::before,
.interaction-aside .system-pulse-wrapper:hover::before,
.interaction-aside .geo-box:hover::after,
.interaction-aside .social-box:hover::after,
.interaction-aside .engagement-box:hover::after,
.interaction-aside .system-pulse-box:hover::after {
    transform: translateX(130%);
}

.interaction-aside .monitoring-heading:hover,
.interaction-aside .geolocation-wrapper:hover,
.interaction-aside .sources-wrapper:hover,
.interaction-aside .engagement-wrapper:hover,
.interaction-aside .system-pulse-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 169, 95, 0.3);
    box-shadow:
        0 22px 50px rgba(44, 34, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.interaction-aside .geo-box,
.interaction-aside .social-box,
.interaction-aside .engagement-box,
.interaction-aside .system-pulse-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 243, 233, 0.76) 100%);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        background 0.35s ease;
}

.interaction-aside .geo-box:hover,
.interaction-aside .social-box:hover,
.interaction-aside .engagement-box:hover,
.interaction-aside .system-pulse-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(197, 169, 95, 0.34);
    box-shadow:
        0 16px 28px rgba(44, 34, 22, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.interaction-aside .geo-box img,
.interaction-aside .social-box span,
.interaction-aside .social-box i,
.interaction-aside .time,
.interaction-aside .scroll-dept,
.interaction-aside .engagement-counts,
.interaction-aside .system-content {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.35s ease,
        filter 0.35s ease,
        background 0.35s ease;
}

.interaction-aside .geo-box:hover img,
.interaction-aside .social-box:hover span,
.interaction-aside .social-box:hover i {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(44, 34, 22, 0.18));
}

.interaction-aside .geo-box:hover p,
.interaction-aside .social-box:hover p,
.interaction-aside .engagement-box:hover .time,
.interaction-aside .engagement-box:hover .scroll-dept,
.interaction-aside .engagement-box:hover .engagement-counts,
.interaction-aside .system-pulse-box:hover .system-content {
    transform: translateY(-1px);
    color: var(--primary-color);
}

.interaction-aside .social-box i {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    color: #315c96;
}

.interaction-aside .social-box:first-child span {
    color: #8f2d2d;
}

.interaction-aside .monitoring-heading,
.interaction-aside .geolocation-wrapper,
.interaction-aside .sources-wrapper,
.interaction-aside .engagement-wrapper,
.interaction-aside .system-pulse-wrapper {
    opacity: 0;
    animation: interactionAsideReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.interaction-aside .monitoring-heading {
    animation-delay: 0.04s;
}

.interaction-aside .geolocation-wrapper {
    animation-delay: 0.12s;
}

.interaction-aside .sources-wrapper {
    animation-delay: 0.2s;
}

.interaction-aside .engagement-wrapper {
    animation-delay: 0.28s;
}

.interaction-aside .system-pulse-wrapper {
    animation-delay: 0.36s;
}

.interaction-aside .geo-box,
.interaction-aside .social-box,
.interaction-aside .engagement-box,
.interaction-aside .system-pulse-box {
    opacity: 0;
    animation: interactionAsideTileReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.interaction-aside .geo-box:nth-child(1) {
    animation-delay: 0.42s;
}

.interaction-aside .geo-box:nth-child(2) {
    animation-delay: 0.48s;
}

.interaction-aside .geo-box:nth-child(3) {
    animation-delay: 0.54s;
}

.interaction-aside .geo-box:nth-child(4) {
    animation-delay: 0.6s;
}

.interaction-aside .geo-box:nth-child(5) {
    animation-delay: 0.66s;
}

.interaction-aside .geo-box:nth-child(6) {
    animation-delay: 0.72s;
}

.interaction-aside .social-box:nth-child(1) {
    animation-delay: 0.56s;
}

.interaction-aside .social-box:nth-child(2) {
    animation-delay: 0.64s;
}

.interaction-aside .engagement-box:nth-child(1) {
    animation-delay: 0.62s;
}

.interaction-aside .engagement-box:nth-child(2) {
    animation-delay: 0.7s;
}

.interaction-aside .engagement-box:nth-child(3) {
    animation-delay: 0.78s;
}

.interaction-aside .system-pulse-box:nth-child(1) {
    animation-delay: 0.7s;
}

.interaction-aside .system-pulse-box:nth-child(2) {
    animation-delay: 0.78s;
}

.interaction-aside .system-pulse-box:nth-child(3) {
    animation-delay: 0.86s;
}

.interaction-aside .scroll-dept.is-bumped,
.interaction-aside .engagement-counts.is-bumped,
.interaction-aside .viewport-value.is-bumped {
    animation: interactionAsideValueBump 0.42s ease;
}

@keyframes interactionAsideReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
        filter: blur(10px);
    }

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

@keyframes interactionAsideTileReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: blur(8px);
    }

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

@keyframes interactionAsideValueBump {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

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

    .interaction-aside .monitoring-heading,
    .interaction-aside .geolocation-wrapper,
    .interaction-aside .sources-wrapper,
    .interaction-aside .engagement-wrapper,
    .interaction-aside .system-pulse-wrapper,
    .interaction-aside .geo-box,
    .interaction-aside .social-box,
    .interaction-aside .engagement-box,
    .interaction-aside .system-pulse-box,
    .interaction-aside .geo-box img,
    .interaction-aside .social-box span,
    .interaction-aside .social-box i,
    .interaction-aside .time,
    .interaction-aside .scroll-dept,
    .interaction-aside .engagement-counts,
    .interaction-aside .system-content {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* Right Aside */
.eco-heading {
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    color: #000;
}

.profile-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.profile-wrapper h3 {
    color: #000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    margin-bottom: 12px;
}

.profile-wrapper p {
    font-size: 12px;
    color: #000;
    opacity: 0.75;
    margin: 0;
}

.profile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.profile-link:hover {
    color: var(--heading-color);
}

.profile-link i {
    color: var(--secondary-color);
    transition: transform 0.35s ease;
}

.profile-link:hover i {
    transform: translateX(4px);
}

.ecosystem-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.ecosystem-heading {
    color: #000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.eco-counts-wrapper {
    max-width: 400px;
}

/* 2 column grid */
.grid-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

/* box styling */
.box {
    background: #f6f6f6;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.box h6 {
    font-size: 11px;
    color: #111;
    margin-bottom: 0;
    opacity: 0.7;
}

.box p {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    opacity: 0.7;
}

/* section titles */
.section-title {
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0 15px;
    color: #111;
    opacity: 0.7;
}

.books-cat-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* each box */
.stone {
    background: #f6f6f6;
    padding: 3px;
    border-radius: 8px;
    text-align: center;
}

/* title */
.stone h6 {
    font-size: 12px;
    margin-bottom: 2px;
    color: #000;
}

/* subtitle */
.stone p {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

/* image + number inline */
.stone-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* image size control */
.stone-img img {
    width: 22px;
    height: auto;
}

/* number styling */
.stone-text {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.navigations-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
    overflow: visible;
    /* critical */
}

.navigation-links {
    display: block;
    /* not flex, to avoid column constraints */
    overflow: visible;
}

.navigation-links h6 {
    color: #000;
    opacity: 0.7;
    font-size: 13px;
    margin-top: 12px;
}

.nav-item {
    /* background: #f6f6f6; */
    border-radius: 6px;
    margin-bottom: 8px;
    /* space between items */
    overflow: visible;
    display: block;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.nav-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 12px;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    font-size: 22px;
}

.nav-row .nav-link {
    flex: 1;
    min-width: 0;
}

.dropdown-toggle-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(22, 36, 62, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 34px;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    padding: 0 12px 0px 30px;
    margin: 0;
    background: transparent;
    border: none;
    position: static;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    padding: 2px 0;
    font-size: 18px;
    color: #555;
    text-decoration: none;
    transition: padding-left 0.2s ease;
}

.nested-dropdown {
    margin: 4px 0;
}

.nested-menu {
    padding-left: 18px;
}

.dropdown-menu a:hover {
    color: #000;
    padding-left: 6px;
}

.arrow {
    border: solid #000;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.down {
    transform: rotate(45deg);
}

.up {
    transform: rotate(-135deg);
}

.recent-activity-wrapper {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
    border-radius: 7px;
}

.recent-activity-heading h3 {
    color: #000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    margin-bottom: 12px;
}

.activity-text p {
    font-size: 12px;
    color: #111;
    opacity: 0.7;
    margin-bottom: 5px;
}

.ecosystem-aside {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(22, 36, 62, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(241, 236, 227, 0.68) 100%);
    border-color: rgba(22, 36, 62, 0.12);
    box-shadow: 0 24px 60px rgba(22, 36, 62, 0.08);
    backdrop-filter: blur(18px);
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 169, 95, 0.4) rgba(0, 0, 0, 0.05);
}


.ecosystem-aside::-webkit-scrollbar {
    width: 8px;
}

.ecosystem-aside::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
}

.ecosystem-aside::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(197, 169, 95, 0.72), rgba(44, 34, 22, 0.72));
    border-radius: 999px;
}

.ecosystem-aside .inner {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.52) 100%);
    border-color: rgba(22, 36, 62, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ecosystem-aside .eco-heading,
.ecosystem-aside .profile-wrapper,
.ecosystem-aside .ecosystem-wrapper,
.ecosystem-aside .navigations-wrapper,
.ecosystem-aside .recent-activity-wrapper,
.ecosystem-aside .box,
.ecosystem-aside .stone,
.ecosystem-aside .nav-item,
.ecosystem-aside .dropdown-menu a {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ecosystem-aside .eco-heading,
.ecosystem-aside .profile-wrapper,
.ecosystem-aside .ecosystem-wrapper,
.ecosystem-aside .navigations-wrapper,
.ecosystem-aside .recent-activity-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(248, 242, 232, 0.6) 100%);
    border: 1px solid rgba(24, 24, 24, 0.08);
    box-shadow:
        0 14px 34px rgba(22, 36, 62, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        background 0.4s ease;
}

.ecosystem-aside .eco-heading::before,
.ecosystem-aside .profile-wrapper::before,
.ecosystem-aside .ecosystem-wrapper::before,
.ecosystem-aside .navigations-wrapper::before,
.ecosystem-aside .recent-activity-wrapper::before,
.ecosystem-aside .box::after,
.ecosystem-aside .stone::after,
.ecosystem-aside .nav-item::after,
.ecosystem-aside .dropdown-menu a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.55) 34%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.ecosystem-aside .eco-heading>*,
.ecosystem-aside .profile-wrapper>*,
.ecosystem-aside .ecosystem-wrapper>*,
.ecosystem-aside .navigations-wrapper>*,
.ecosystem-aside .recent-activity-wrapper>*,
.ecosystem-aside .box>*,
.ecosystem-aside .stone>*,
.ecosystem-aside .nav-item>*,
.ecosystem-aside .dropdown-menu a>* {
    position: relative;
    z-index: 1;
}

.ecosystem-aside .eco-heading:hover::before,
.ecosystem-aside .profile-wrapper:hover::before,
.ecosystem-aside .ecosystem-wrapper:hover::before,
.ecosystem-aside .navigations-wrapper:hover::before,
.ecosystem-aside .recent-activity-wrapper:hover::before,
.ecosystem-aside .box:hover::after,
.ecosystem-aside .stone:hover::after,
.ecosystem-aside .nav-item:hover::after,
.ecosystem-aside .dropdown-menu a:hover::after {
    transform: translateX(130%);
}

.ecosystem-aside .eco-heading:hover,
.ecosystem-aside .profile-wrapper:hover,
.ecosystem-aside .ecosystem-wrapper:hover,
.ecosystem-aside .navigations-wrapper:hover,
.ecosystem-aside .recent-activity-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 169, 95, 0.28);
    box-shadow:
        0 22px 50px rgba(22, 36, 62, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.ecosystem-aside .navigation-links h6,
.ecosystem-aside .section-title {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ecosystem-aside .box,
.ecosystem-aside .stone,
.ecosystem-aside .nav-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 242, 233, 0.78) 100%);
    border: 1px solid rgba(22, 36, 62, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        background 0.35s ease;
}

.ecosystem-aside .box:hover,
.ecosystem-aside .stone:hover,
.ecosystem-aside .nav-item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(197, 169, 95, 0.36);
    box-shadow:
        0 16px 28px rgba(22, 36, 62, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-aside .stone-img img,
.ecosystem-aside .stone-text,
.ecosystem-aside .box p,
.ecosystem-aside .nav-link,
.ecosystem-aside .nav-item>a,
.ecosystem-aside .dropdown-menu a,
.ecosystem-aside .dropdown-toggle-btn,
.ecosystem-aside .arrow {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.35s ease,
        filter 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.ecosystem-aside .stone:hover .stone-img img {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 10px 18px rgba(22, 36, 62, 0.18));
}

.ecosystem-aside .stone:hover .stone-text,
.ecosystem-aside .box:hover p {
    transform: translateY(-1px);
    color: var(--heading-color);
}

.ecosystem-aside .nav-item {
    margin-bottom: 10px;
    border-radius: 14px;
    overflow: visible;
}

.ecosystem-aside .nav-link,
.ecosystem-aside .nav-item>a {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 22px;
    /* font-weight: 700; */
    line-height: 1.2;
}

.ecosystem-aside .dropdown-toggle-btn {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-aside .dropdown-toggle-btn:hover,
.ecosystem-aside .dropdown-toggle-btn.is-active {
    transform: translateX(2px);
    border-color: rgba(197, 169, 95, 0.36);
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.2) 0%, rgba(22, 36, 62, 0.06) 100%);
}

.ecosystem-aside .nav-item:hover .nav-link,
.ecosystem-aside .nav-item:hover>a {
    color: var(--heading-color);
    transform: translateX(4px);
}

.ecosystem-aside .nav-item.is-active,
.ecosystem-aside .nav-item>a.is-active,
.ecosystem-aside .nav-link.is-active {
    border-color: rgba(197, 169, 95, 0.42);
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.24) 0%, rgba(22, 36, 62, 0.08) 100%);
    box-shadow:
        0 18px 34px rgba(22, 36, 62, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.ecosystem-aside .nav-item.is-active>.nav-link,
.ecosystem-aside .nav-item.is-active>a,
.ecosystem-aside .nav-link.is-active,
.ecosystem-aside .nav-item>a.is-active {
    color: var(--heading-color);
}

.ecosystem-aside .dropdown-menu {
    padding: 6px 10px 4px 18px;
}

.ecosystem-aside .nested-menu {
    padding: 2px 4px 2px 16px;
}

.ecosystem-aside .dropdown-menu.active {
    animation: ecosystemDropdownReveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ecosystem-aside .dropdown-menu .nav-item {
    margin-bottom: 6px;
    border-radius: 12px;
}

.ecosystem-aside .dropdown-menu .nav-link {
    font-size: 17px;
    padding: 8px 10px;
}

.ecosystem-aside .dropdown-menu a {
    display: block;
    margin: 6px 0;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.66);
}

.ecosystem-aside .process-menu a.is-hidden {
    display: none;
}

.ecosystem-aside .load-more-process {
    width: 100%;
    margin: 8px 0 2px;
    padding: 9px 12px;
    border: 1px solid rgba(197, 169, 95, 0.34);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.18) 0%, rgba(22, 36, 62, 0.06) 100%);
    color: var(--heading-color);
    cursor: pointer;
    font-size: 15px;
    line-height: 1.2;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.ecosystem-aside .load-more-process:hover {
    transform: translateX(6px);
    border-color: rgba(197, 169, 95, 0.48);
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.26) 0%, rgba(22, 36, 62, 0.08) 100%);
}

.ecosystem-aside .dropdown-menu a:hover,
.ecosystem-aside .dropdown-menu a.is-active {
    transform: translateX(6px);
    color: var(--heading-color);
    border-color: rgba(197, 169, 95, 0.34);
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.18) 0%, rgba(22, 36, 62, 0.06) 100%);
}

.ecosystem-aside .nested-menu a {
    font-size: 15px;
}

.ecosystem-aside .nav-item.is-active .arrow,
.ecosystem-aside .nav-item:hover .arrow {
    border-color: var(--heading-color);
    filter: drop-shadow(0 4px 10px rgba(22, 36, 62, 0.18));
}

.ecosystem-aside .eco-heading,
.ecosystem-aside .profile-wrapper,
.ecosystem-aside .ecosystem-wrapper,
.ecosystem-aside .navigations-wrapper,
.ecosystem-aside .recent-activity-wrapper {
    opacity: 0;
    animation: ecosystemAsideReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ecosystem-aside .eco-heading {
    animation-delay: 0.04s;
}

.ecosystem-aside .profile-wrapper {
    animation-delay: 0.12s;
}

.ecosystem-aside .ecosystem-wrapper {
    animation-delay: 0.2s;
}

.ecosystem-aside .navigations-wrapper {
    animation-delay: 0.28s;
}

.ecosystem-aside .recent-activity-wrapper {
    animation-delay: 0.36s;
}

.ecosystem-aside .box,
.ecosystem-aside .stone,
.ecosystem-aside .nav-item,
.ecosystem-aside .dropdown-menu a {
    opacity: 0;
    animation: ecosystemAsideTileReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ecosystem-aside .grid-boxes .box:nth-child(1) {
    animation-delay: 0.42s;
}

.ecosystem-aside .grid-boxes .box:nth-child(2) {
    animation-delay: 0.5s;
}

.ecosystem-aside .books-cat-wrapper .stone:nth-child(1) {
    animation-delay: 0.54s;
}

.ecosystem-aside .books-cat-wrapper .stone:nth-child(2) {
    animation-delay: 0.62s;
}

.ecosystem-aside .books-cat-wrapper .stone:nth-child(3) {
    animation-delay: 0.7s;
}

.ecosystem-aside .navigation-links .nav-item:nth-of-type(1) {
    animation-delay: 0.56s;
}

.ecosystem-aside .navigation-links .nav-item:nth-of-type(2) {
    animation-delay: 0.64s;
}

.ecosystem-aside .navigation-links .nav-item:nth-of-type(3) {
    animation-delay: 0.72s;
}

.ecosystem-aside .navigation-links .nav-item:nth-of-type(4) {
    animation-delay: 0.8s;
}

.ecosystem-aside .navigation-links .nav-item:nth-of-type(5) {
    animation-delay: 0.88s;
}

.ecosystem-aside .dropdown-menu a:nth-child(1) {
    animation-delay: 0.78s;
}

.ecosystem-aside .dropdown-menu a:nth-child(2) {
    animation-delay: 0.86s;
}

@keyframes ecosystemAsideReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
        filter: blur(10px);
    }

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

@keyframes ecosystemAsideTileReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: blur(8px);
    }

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

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

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

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

    .ecosystem-aside .eco-heading,
    .ecosystem-aside .profile-wrapper,
    .ecosystem-aside .ecosystem-wrapper,
    .ecosystem-aside .navigations-wrapper,
    .ecosystem-aside .recent-activity-wrapper,
    .ecosystem-aside .box,
    .ecosystem-aside .stone,
    .ecosystem-aside .nav-item,
    .ecosystem-aside .dropdown-menu a,
    .ecosystem-aside .stone-img img,
    .ecosystem-aside .stone-text,
    .ecosystem-aside .box p,
    .ecosystem-aside .nav-link,
    .ecosystem-aside .nav-item>a,
    .ecosystem-aside .arrow {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* Main */
.next-previous-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 12px 0px;
}

.next-previous-wrapper a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.14);
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.7;
    border-radius: 30px;
}

.next-previous-wrapper a i {
    margin-right: 6px;
}

.next-btn a i {
    margin-left: 6px;
}

.navigation-tabs-wrapper {
    display: flex;
    gap: 15px;
    padding: 12px 0;
}

.navigation-tabs-wrapper a {
    border: 1px solid rgba(0, 0, 0, 0.14);
    padding: 6px 15px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    border-radius: 30px;
    opacity: 0.7;
}

.accordion-container {
    /* max-width: 720px; */
    width: 100%;
    background: #f6f6f6;
    border-radius: 1.5rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* accordion header — left heading, right group */
.accordion-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 12px;
    background: #f6f6f6;
    border-bottom: 1px solid #e9edf2;
    border-radius: 20px;
}

.heading-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.2px;
    font-family: 'manrope';
}

/* right side controls – button + select */
.controls-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* toggle button (open/close) */
.toggle-btn {
    background: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #000;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
}

.toggle-btn:hover {
    background: #2d3a4b;
    transform: scale(0.96);
    color: #fff;
}

.toggle-btn:active {
    transform: scale(0.94);
}

/* dropdown select */
.topic-select {
    background: #f8fafc;
    border: 1px solid #cfdee9;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.topic-select:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.topic-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* accordion body (collapsible area) */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    background: #fefefe;
    border-radius: 0 0 1.5rem 1.5rem;
    padding: 0;
}

.accordion-body.open {
    max-height: 500px;
    /* enough for dynamic content */
}

/* inner content panel */
.content-panel {
    padding: 1.8rem 1.8rem 2rem 1.8rem;
    border-top: 1px solid #eef2f8;
    background: #ffffff;
    border-radius: 0 0 1.5rem 1.5rem;
}

.dynamic-text {
    font-size: 1rem;
    line-height: 1.55;
    color: #1e293b;
}

.dynamic-text p {
    margin-bottom: 0.75rem;
}

.dynamic-text strong {
    color: #0f2b3d;
    font-weight: 700;
}


/* responsive */
@media (max-width: 550px) {
    .accordion-header {
        flex-direction: column;
        align-items: stretch;
    }

    .controls-group {
        justify-content: space-between;
    }

    .content-panel {
        padding: 1.5rem;
    }
}

.eco-main-text {
    padding: 32px 12px;
}

.eco-main-text p {
    font-size: 22px;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.h-products-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
}

/* LEFT SIDE (image + title) */
.h-product-img {
    /* display: flex; */
    align-items: center;
    gap: 10px;
    min-width: 150px;
    text-align: center;
}

.h-product-img img {
    width: 110px;
    height: auto;
    border-radius: 4px;
}

.h-product-img p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-top: 11px;
}

/* MIDDLE (description) */
.h-product-desc {
    flex: 1;
}

.h-product-desc p {
    margin: 0;
    font-size: 13px;
    color: #000;
    line-height: 1.4;
}

/* RIGHT SIDE (price + buttons) */
.h-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* pricing */
.pricing span {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.pricing strike {
    margin-right: 6px;
    color: #999;
    font-weight: 400;
}

/* buttons */
.purchase-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

.purchase-btns img {
    width: 170px;
    cursor: pointer;
    transition: 0.2s ease;
}

.purchase-btns img:hover {
    transform: scale(1.03);
}

a.custom-product-btns {
    padding: 9px 24px;
    background: #000;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.ecosystem-main {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(197, 169, 95, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(245, 240, 232, 0.7) 100%);
    border: 1px solid rgba(22, 36, 62, 0.08);
    border-radius: 10px;
    box-shadow: 0 26px 65px rgba(22, 36, 62, 0.07);
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 36, 62, 0.45) rgba(0, 0, 0, 0.05);
}

.ecosystem-main::-webkit-scrollbar {
    width: 8px;
}

.ecosystem-main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
}

.ecosystem-main::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(197, 169, 95, 0.72), rgba(22, 36, 62, 0.7));
    border-radius: 999px;
}

.ecosystem-main .main-shell {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.56) 100%);
    border-color: rgba(22, 36, 62, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-main .main-shell>*,
.ecosystem-main .next-previous-wrapper a,
.ecosystem-main .tablets,
.ecosystem-main .accordion-container,
.ecosystem-main .accordion-header,
.ecosystem-main .toggle-btn,
.ecosystem-main .topic-select,
.ecosystem-main .eco-main-text,
.ecosystem-main .h-products-box,
.ecosystem-main .purchase-btns img,
.ecosystem-main a.custom-product-btns {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ecosystem-main .next-previous-wrapper a::before,
.ecosystem-main .tablets::before,
.ecosystem-main .accordion-container::before,
.ecosystem-main .eco-main-text::before,
.ecosystem-main .h-products-box::before,
.ecosystem-main a.custom-product-btns::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.56) 34%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.ecosystem-main .next-previous-wrapper a>*,
.ecosystem-main .tablets>*,
.ecosystem-main .accordion-container>*,
.ecosystem-main .eco-main-text>*,
.ecosystem-main .h-products-box>*,
.ecosystem-main a.custom-product-btns>* {
    position: relative;
    z-index: 1;
}

.ecosystem-main .next-previous-wrapper a:hover::before,
.ecosystem-main .tablets:hover::before,
.ecosystem-main .accordion-container:hover::before,
.ecosystem-main .eco-main-text:hover::before,
.ecosystem-main .h-products-box:hover::before,
.ecosystem-main a.custom-product-btns:hover::before {
    transform: translateX(130%);
}

.ecosystem-main .next-previous-wrapper a,
.ecosystem-main .tablets a,
.ecosystem-main .tablets .nav-tab-button,
.ecosystem-main .toggle-btn,
.ecosystem-main .topic-select,
.ecosystem-main .accordion-container,
.ecosystem-main .eco-main-text,
.ecosystem-main .h-products-box,
.ecosystem-main a.custom-product-btns {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        opacity 0.35s ease;
}

.ecosystem-main .next-previous-wrapper a {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 241, 230, 0.72) 100%);
    box-shadow:
        0 10px 24px rgba(22, 36, 62, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ecosystem-main .next-previous-wrapper a:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 169, 95, 0.34);
    color: var(--heading-color);
    box-shadow:
        0 16px 32px rgba(22, 36, 62, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-main .previous-btn a:hover i {
    transform: translateX(-3px);
}

.ecosystem-main .next-btn a:hover i {
    transform: translateX(3px);
}

.ecosystem-main .next-previous-wrapper a i {
    transition: transform 0.35s ease;
}

.ecosystem-main .tablets {
    border-radius: 999px;
}

.ecosystem-main .tablets form {
    margin: 0;
}

.ecosystem-main .tablets a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 241, 230, 0.72) 100%);
    box-shadow:
        0 10px 22px rgba(22, 36, 62, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-main .tablets .nav-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 241, 230, 0.72) 100%);
    box-shadow:
        0 10px 22px rgba(22, 36, 62, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.ecosystem-main .tablets:hover a,
.ecosystem-main .tablets:hover .nav-tab-button,
.ecosystem-main .tablets.is-active a,
.ecosystem-main .tablets.is-active .nav-tab-button {
    transform: translateY(-3px);
    border-color: rgba(197, 169, 95, 0.36);
    color: var(--heading-color);
    opacity: 1;
    box-shadow:
        0 14px 28px rgba(22, 36, 62, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-main .tablets.is-active a,
.ecosystem-main .tablets.is-active .nav-tab-button {
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.24) 0%, rgba(22, 36, 62, 0.08) 100%);
}

.blog-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.blog-card {
    display: grid;
    gap: 18px;
    padding: 22px 22px 26px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(20, 33, 61, 0.64);
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-card-link {
    justify-self: flex-start;
    margin-top: 4px;
}

.blog-article {
    display: grid;
    gap: 16px;
}

.blog-article-excerpt {
    font-weight: 600;
}

.blog-pagination {
    margin-top: 24px;
}

.blog-intro-panel {
    margin-top: 14px;
    display: grid;
    gap: 18px;
}

.blog-intro-panel h2 {
    font-size: 52px;
    line-height: 1;
    margin: 0;
}

.blog-intro-panel p {
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 16px;
}

.blog-intro-links {
    display: grid;
    gap: 6px;
}

.blog-intro-links span {
    font-size: 16px;
    color: rgba(20, 33, 61, 0.55);
}

.blog-intro-links p {
    color: rgba(20, 33, 61, 0.65);
}

.ecosystem-main .blog-card .heading-title {
    font-size: 28px;
    line-height: 1.2;
}

.ecosystem-main .blog-card p {
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 16px;
}

.signal-meter {
    width: 100%;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.08);
    overflow: hidden;
}

.signal-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0b74b 0%, #cc8a16 100%);
    animation: signalPulse 2s ease-in-out infinite;
}

.social-box--surging span,
.social-box--steady span {
    color: #cc8a16;
}

.live-feed-wrapper .live-feed-list {
    display: grid;
    gap: 10px;
}

.live-feed-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.live-feed-item strong {
    font-size: 0.9rem;
}

.live-feed-item span {
    color: rgba(20, 33, 61, 0.66);
    font-size: 0.82rem;
}

.ecosystem-main .form-control,
.ecosystem-main .action-button {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(20, 33, 61, 0.12);
    background: rgba(255, 255, 255, 0.88);
    color: var(--heading-color);
    font: inherit;
}

.ecosystem-main .action-button {
    width: auto;
    cursor: pointer;
    font-weight: 700;
}

.ecosystem-main .action-button--primary {
    background: linear-gradient(135deg, #f0b74b 0%, #c98b1f 100%);
    border-color: transparent;
    color: #13213e;
}

@keyframes signalPulse {
    0%, 100% { opacity: 0.82; transform: scaleX(0.98); }
    50% { opacity: 1; transform: scaleX(1); }
}

.ecosystem-main .accordion-container {
    border: 1px solid rgba(22, 36, 62, 0.08);
    box-shadow:
        0 18px 42px rgba(22, 36, 62, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-main .accordion-container:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 169, 95, 0.26);
    box-shadow:
        0 26px 52px rgba(22, 36, 62, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-main .accordion-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(244, 237, 226, 0.72) 100%);
}

.ecosystem-main .heading-title {
    transition: transform 0.35s ease, color 0.35s ease;
}

.ecosystem-main .accordion-container:hover .heading-title {
    transform: translateX(3px);
    color: var(--heading-color);
}

.ecosystem-main .toggle-btn {
    background: linear-gradient(180deg, #ffffff 0%, #f0ece4 100%);
    border: 1px solid rgba(22, 36, 62, 0.08);
    box-shadow:
        0 10px 22px rgba(22, 36, 62, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ecosystem-main .toggle-btn:hover {
    background: linear-gradient(135deg, #16243e 0%, #314766 100%);
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 14px 28px rgba(22, 36, 62, 0.18);
}

.ecosystem-main .topic-select {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 241, 234, 0.84) 100%);
    border-color: rgba(22, 36, 62, 0.12);
    box-shadow:
        0 10px 22px rgba(22, 36, 62, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-main .topic-select:hover,
.ecosystem-main .topic-select:focus {
    transform: translateY(-2px);
    border-color: rgba(197, 169, 95, 0.42);
    box-shadow:
        0 14px 28px rgba(22, 36, 62, 0.1),
        0 0 0 3px rgba(197, 169, 95, 0.12);
}

.ecosystem-main .accordion-body.open .content-panel {
    animation: ecosystemMainContentReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-main .content-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 245, 237, 0.92) 100%);
}

.ecosystem-main .dynamic-text h4 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--heading-color);
    transition: transform 0.35s ease, color 0.35s ease;
}

.ecosystem-main .accordion-container:hover .dynamic-text h4 {
    transform: translateX(2px);
}

.ecosystem-main .eco-main-text {
    border: 1px solid rgba(197, 169, 95, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.14) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(22, 36, 62, 0.06) 100%);
    box-shadow:
        0 18px 42px rgba(22, 36, 62, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ecosystem-main .eco-main-text:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 169, 95, 0.34);
    box-shadow:
        0 24px 48px rgba(22, 36, 62, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-main .eco-main-text p {
    transition: transform 0.35s ease, color 0.35s ease;
}

.ecosystem-main .eco-main-text:hover p {
    transform: scale(1.01);
    color: var(--heading-color);
}

.ecosystem-main .h-products-box {
    border-color: rgba(22, 36, 62, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 242, 233, 0.84) 100%);
    box-shadow:
        0 18px 38px rgba(22, 36, 62, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ecosystem-main .h-products-box:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 169, 95, 0.34);
    box-shadow:
        0 26px 52px rgba(22, 36, 62, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ecosystem-main .h-product-img img,
.ecosystem-main .pricing span,
.ecosystem-main .h-product-desc p,
.ecosystem-main .purchase-btns img,
.ecosystem-main a.custom-product-btns {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease,
        color 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.35s ease;
}

.ecosystem-main .h-products-box:hover .h-product-img img {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 12px 22px rgba(22, 36, 62, 0.16));
}

.ecosystem-main .h-products-box:hover .pricing span,
.ecosystem-main .h-products-box:hover .h-product-desc p {
    color: var(--heading-color);
}

.ecosystem-main .purchase-btns img:hover {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 12px 24px rgba(22, 36, 62, 0.16));
}

.ecosystem-main a.custom-product-btns {
    background: linear-gradient(135deg, #16243e 0%, #0b1320 100%);
    box-shadow:
        0 14px 30px rgba(22, 36, 62, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ecosystem-main a.custom-product-btns:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 34px rgba(22, 36, 62, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ecosystem-main .main-shell>* {
    opacity: 0;
    animation: ecosystemMainReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ecosystem-main .main-shell>*:nth-child(1) {
    animation-delay: 0.04s;
}

.ecosystem-main .main-shell>*:nth-child(2) {
    animation-delay: 0.12s;
}

.ecosystem-main .main-shell>*:nth-child(3) {
    animation-delay: 0.2s;
}

.ecosystem-main .main-shell>*:nth-child(4) {
    animation-delay: 0.28s;
}

.ecosystem-main .main-shell>*:nth-child(5) {
    animation-delay: 0.36s;
}

.ecosystem-main .main-shell>*:nth-child(6) {
    animation-delay: 0.44s;
}

.ecosystem-main .main-shell>*:nth-child(7) {
    animation-delay: 0.52s;
}

@keyframes ecosystemMainReveal {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
        filter: blur(8px);
    }

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

@keyframes ecosystemMainContentReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

    .ecosystem-main .main-shell>*,
    .ecosystem-main .next-previous-wrapper a,
    .ecosystem-main .tablets a,
    .ecosystem-main .accordion-container,
    .ecosystem-main .toggle-btn,
    .ecosystem-main .topic-select,
    .ecosystem-main .eco-main-text,
    .ecosystem-main .h-products-box,
    .ecosystem-main .h-product-img img,
    .ecosystem-main .pricing span,
    .ecosystem-main .h-product-desc p,
    .ecosystem-main .purchase-btns img,
    .ecosystem-main a.custom-product-btns,
    .ecosystem-main .next-previous-wrapper a i {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}


/* EcoSystem Inner */
/* EcoSystem Inner */
.ecosystem-inner-page-text p {
    text-align: left;
    margin: 0;
}

.ecosystem-inner-page-text {
    padding: 22px 26px;
}

.ecosystem-inner-page-text ol li {
    font-size: 22px;
}

.ecosystem-inner-page-text ol {
    padding-bottom: 0;
}

.ecosystem-inner-page-text ul li {
    font-size: 22px;
    list-style-type: none;
}

.ecosystem-inner-page-text ul {
    padding: 0;
}

/* Blogs List */
.blogs-list-page .blogs-intro,
.blogs-list-page .blogs-meta {
    width: 100%;
    max-width: 760px;
    margin: 0;
    text-align: left;
}

.blogs-list-page .blogs-meta {
    margin-top: 8px;
    color: var(--heading-color);
    font-size: 18px;
}

.blog-box-wrapper {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.blog-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(197, 169, 95, 0.22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 241, 232, 0.82) 58%, rgba(22, 36, 62, 0.08) 100%);
    box-shadow:
        0 16px 34px rgba(22, 36, 62, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.blog-box:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 169, 95, 0.38);
    box-shadow:
        0 22px 44px rgba(22, 36, 62, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.date-title-box p {
    width: auto;
    margin: 0 0 7px;
    color: rgba(22, 36, 62, 0.68);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.date-title-box h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}

.date-title-box h3 a {
    color: #111;
    text-decoration: none;
    transition: color 0.35s ease;
}

.date-title-box h3 a:hover {
    color: var(--heading-color);
}

.read-more-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 16px;
    border: 1px solid rgba(197, 169, 95, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.22) 0%, rgba(22, 36, 62, 0.08) 100%);
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.read-more-btn a:hover {
    transform: translateX(4px);
    border-color: rgba(197, 169, 95, 0.52);
    background: linear-gradient(135deg, rgba(197, 169, 95, 0.32) 0%, rgba(22, 36, 62, 0.1) 100%);
}

@media (max-width: 640px) {
    .blog-box {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .read-more-btn a {
        width: 100%;
    }
}

/* User Profile */
.user-profile-shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
    gap: 18px;
    padding: 18px 0;
}

.profile-intro-panel,
.auth-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(197, 169, 95, 0.22);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 241, 232, 0.82) 58%, rgba(22, 36, 62, 0.08) 100%);
    box-shadow:
        0 18px 42px rgba(22, 36, 62, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-intro-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.profile-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(197, 169, 95, 0.18);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-intro-panel h2 {
    color: var(--heading-color);
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 14px;
}

.profile-intro-panel p {
    color: #2f3440;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.profile-stat-grid div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(22, 36, 62, 0.08);
}

.profile-stat-grid strong,
.profile-stat-grid span {
    display: block;
}

.profile-stat-grid strong {
    color: var(--heading-color);
    font-size: 28px;
    line-height: 1;
}

.profile-stat-grid span {
    color: #555;
    font-size: 12px;
    margin-top: 6px;
}

.auth-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-card {
    padding: 22px;
}

.auth-card-premium {
    background: linear-gradient(145deg, rgba(22, 36, 62, 0.96) 0%, rgba(44, 34, 22, 0.92) 58%, rgba(197, 169, 95, 0.2) 100%);
    color: #fff;
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.auth-card-head span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    background: rgba(197, 169, 95, 0.22);
}

.auth-card-premium .auth-card-head span {
    color: #fff;
    background: rgba(197, 169, 95, 0.26);
}

.auth-card h3 {
    margin: 0;
    color: var(--heading-color);
    font-size: 26px;
    font-weight: 800;
}

.auth-card-premium h3 {
    color: #fff;
}

.auth-card label {
    display: block;
    color: #2b2f39;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.auth-card-premium label {
    color: rgba(255, 255, 255, 0.86);
}

.auth-card input {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid rgba(22, 36, 62, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    outline: none;
}

.auth-card input:focus {
    border-color: rgba(197, 169, 95, 0.54);
    box-shadow: 0 0 0 3px rgba(197, 169, 95, 0.14);
}

.auth-card select,
.auth-card textarea {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid rgba(22, 36, 62, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    outline: none;
}

.auth-card select:focus,
.auth-card textarea:focus {
    border-color: rgba(197, 169, 95, 0.54);
    box-shadow: 0 0 0 3px rgba(197, 169, 95, 0.14);
}

.auth-card button {
    width: 100%;
    margin-top: 4px;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #16243e 0%, #0b1320 100%);
    font-weight: 800;
}

.auth-card-premium button {
    color: #16243e;
    background: linear-gradient(135deg, #f4df9b 0%, #c5a95f 100%);
}

.logout-form {
    margin: 0;
}

.logout-link {
    width: 100%;
    border: 0;
    text-align: left;
    cursor: pointer;
    background: transparent;
}

.validate-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
    gap: 18px;
    padding: 18px 0;
}

.validate-form-card {
    display: grid;
    gap: 16px;
}

.validate-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.validate-question-block {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.validate-question-block h4 {
    margin: 0;
    color: var(--heading-color);
    font-size: 22px;
    font-weight: 800;
}

.validate-question-block p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.validate-help-grid span {
    line-height: 1.45;
}

.form-error-banner,
.field-error {
    color: #a91d3a;
    font-size: 13px;
    font-weight: 700;
}

.form-error-banner {
    padding: 12px 14px;
    border: 1px solid rgba(169, 29, 58, 0.2);
    border-radius: 12px;
    background: rgba(169, 29, 58, 0.06);
}

.field-error {
    margin-top: 7px;
}

@media (max-width: 992px) {
    .validate-shell,
    .validate-form-grid {
        grid-template-columns: 1fr;
    }
}

.book-hero,
.page-reader-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(197, 169, 95, 0.22);
    background:
        radial-gradient(circle at top right, rgba(197, 169, 95, 0.16), transparent 28%),
        linear-gradient(145deg, rgba(255, 252, 245, 0.96) 0%, rgba(250, 245, 234, 0.98) 100%);
    box-shadow: 0 22px 48px rgba(22, 36, 62, 0.1);
}

.book-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
}

.book-hero-copy h2,
.page-reader-header h2 {
    margin: 10px 0 12px;
    color: #16243e;
    font-size: clamp(34px, 3.1vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.book-hero-copy p,
.page-reader-header p {
    max-width: 760px;
    margin: 0;
    color: #5e6572;
    font-size: 16px;
    line-height: 1.8;
}

.book-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(197, 169, 95, 0.18);
    color: #8e6f1e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.book-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 14px;
    min-width: 290px;
}

.book-metric {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(22, 36, 62, 0.08);
}

.book-metric strong {
    display: block;
    color: #16243e;
    font-size: 30px;
    line-height: 1;
}

.book-metric span {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.book-grid,
.book-page-list {
    display: grid;
    gap: 18px;
}

.book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card,
.page-card,
.page-content-card,
.book-empty {
    position: relative;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(22, 36, 62, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(22, 36, 62, 0.08);
}

.book-card-top,
.page-card-head,
.page-reader-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.book-status,
.book-pages,
.page-number,
.page-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-status,
.page-access.is-preview {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

.book-pages,
.page-access.is-locked,
.page-number {
    color: #8b5e16;
    background: rgba(197, 169, 95, 0.18);
}

.book-card h4,
.page-card h4 {
    margin: 18px 0 10px;
    color: #16243e;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-card h4 {
    font-size: 26px;
}

.book-card p,
.page-card p,
.book-empty,
.page-content-prose p {
    margin: 0;
    color: #596273;
    font-size: 15px;
    line-height: 1.8;
}

.book-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 18px 0 22px;
    color: #7b8190;
    font-size: 13px;
    font-weight: 700;
}

.book-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    color: #16243e;
    background: linear-gradient(135deg, #f4df9b 0%, #c5a95f 100%);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.book-link-secondary {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(22, 36, 62, 0.1);
}

.page-notice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    color: #8b5e16;
    background: rgba(197, 169, 95, 0.15);
    border: 1px solid rgba(197, 169, 95, 0.24);
}

.page-content-card {
    padding: 28px;
}

.page-content-prose p {
    color: #1f2937;
    font-size: 17px;
    line-height: 1.95;
    white-space: pre-line;
}

@media (max-width: 1199px) {
    .user-profile-shell,
    .auth-forms-grid {
        grid-template-columns: 1fr;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .book-hero,
    .page-reader-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-hero-metrics {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .book-hero,
    .page-reader-shell,
    .book-card,
    .page-card,
    .page-content-card,
    .book-empty {
        padding: 20px;
        border-radius: 22px;
    }

    .book-hero-copy h2,
    .page-reader-header h2,
    .book-card h4,
    .page-card h4 {
        font-size: 28px;
    }
}
.page-reader-navigation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-reader-navigation > :last-child { justify-self: end; }
.page-reader-navigation label { min-width: 0; }
.page-reader-navigation select { width: 100%; }

@media (max-width: 767px) {
    .page-reader-navigation { grid-template-columns: 1fr 1fr; }
    .page-reader-navigation label { grid-column: 1 / -1; grid-row: 1; }
}
.interaction-aside > .inner { display:flex; flex-direction:column; }
.interaction-aside .monitoring-heading { order:1; }
.interaction-aside .social-activity-wrapper { order:2; }
.interaction-aside .geolocation-wrapper { order:3; }
.interaction-aside .social-links-wrapper { order:4; }
.interaction-aside .live-feed-wrapper { order:5; }
.interaction-aside .inner > :not(.monitoring-heading):not(.social-activity-wrapper):not(.geolocation-wrapper):not(.social-links-wrapper):not(.live-feed-wrapper):not(.mobile-rail-close) { order:6; }
.interaction-aside .mobile-rail-close { order:0; }
/* Final trailer discovery */
.trailer-discovery {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 24px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(197, 169, 95, .3);
    border-radius: 22px;
    background:
        radial-gradient(circle at 15% 10%, rgba(197, 169, 95, .18), transparent 32%),
        linear-gradient(135deg, #fffdf8 0%, #f4eee3 52%, #e8edf2 100%);
    box-shadow: 0 22px 48px rgba(20, 33, 61, .12);
}
.trailer-discovery__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}
.trailer-discovery__eyebrow {
    margin: 0;
    color: #9c6a12;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.trailer-discovery__copy h2 {
    margin: 0;
    color: #14213d;
    font-size: clamp(1.65rem, 2.5vw, 2.6rem);
    line-height: 1.08;
}
.trailer-discovery__copy > p:not(.trailer-discovery__eyebrow) {
    margin: 0;
    color: rgba(20, 33, 61, .72);
    line-height: 1.65;
}
.trailer-discovery__challenge {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(197, 169, 95, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .68);
}
.trailer-discovery__challenge strong {
    flex: 0 0 auto;
    color: #9c6a12;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.trailer-discovery__challenge span { color: #14213d; }
.trailer-discovery__reveal {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #14213d, #273b5b);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(20, 33, 61, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}
.trailer-discovery__reveal:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(20, 33, 61, .26);
}
.trailer-discovery__media {
    min-width: 0;
    align-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 18px;
    background: #090d14;
    box-shadow: 0 18px 38px rgba(6, 12, 24, .28);
}
.trailer-discovery__media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #090d14;
}
.trailer-discovery__placeholder {
    display: grid;
    min-height: 280px;
    place-content: center;
    gap: 8px;
    padding: 24px;
    color: #fff;
    text-align: center;
}
.trailer-discovery__log {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
}
.trailer-discovery__log table { width: 100%; border-collapse: collapse; }
.trailer-discovery__log th,
.trailer-discovery__log td {
    padding: 12px;
    border-bottom: 1px solid rgba(20, 33, 61, .1);
    text-align: left;
    vertical-align: top;
}
.trailer-discovery__note { margin: 14px 0 0; color: rgba(20, 33, 61, .65); }
.trailer-public-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 18px 0 8px;
    padding: 16px 18px;
    border: 1px solid rgba(20, 33, 61, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}
.trailer-public-cta p {
    flex: 1 1 100%;
    margin: 0 0 3px;
    color: #14213d;
    font-weight: 700;
}
@media (max-width: 1100px) {
    .trailer-discovery { grid-template-columns: 1fr; }
    .trailer-discovery__media { width: 100%; }
}
@media (max-width: 600px) {
    .trailer-discovery { gap: 18px; padding: 17px; border-radius: 18px; }
    .trailer-discovery__challenge { align-items: flex-start; flex-direction: column; }
    .trailer-discovery__reveal { width: 100%; }
    .trailer-public-cta a.custom-product-btns { width: 100%; text-align: center; }
}
