/* ==========================================================================
   Modern page system — used by /csec and /odoo
   Loaded after style2.css so it wins the cascade. All classes are cx- prefixed
   to avoid collisions with the legacy theme.
   ========================================================================== */

.cx-page {
    --cx-bg: #0f0f0f;
    --cx-surface: #16171b;
    --cx-surface-2: #1c1e23;
    --cx-line: rgba(255, 255, 255, .09);
    --cx-line-strong: rgba(255, 255, 255, .18);
    /* Primary teal · secondary lime — tuned for dark surfaces */
    --cx-accent: #3BC0BD;
    --cx-accent-secondary: #A1C740;
    --cx-accent-soft: rgba(59, 192, 189, .16);
    --cx-accent-soft-secondary: rgba(161, 199, 64, .14);
    --cx-heading: #ffffff;
    --cx-body: #ffffff;
    --cx-body-bright: #d5d9e0;
    --cx-radius: 16px;
    --cx-radius-lg: 22px;

    background: var(--cx-bg);
    font-family: var(--font-saira);
    color: var(--cx-body);
    overflow-x: clip;
}

/* Reset legacy theme defaults inside our pages only. */
.cx-page h1,
.cx-page h2,
.cx-page h3,
.cx-page h4,
.cx-page h5,
.cx-page h6,
.cx-page p,
.cx-page figure {
    margin: 0;
}

.cx-page ul,
.cx-page ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cx-page a {
    text-decoration: none;
    color: inherit;
}

.cx-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.cx-section {
    padding: 104px 0;
    position: relative;
    /* Clears the sticky header plus the in-page nav bar on anchor jumps. */
    scroll-margin-top: calc(var(--cx-header-h, 84px) + 62px);
}

.cx-section--tight {
    padding: 72px 0;
}

.cx-section+.cx-section {
    border-top: 1px solid var(--cx-line);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.cx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--cx-accent);
}

.cx-h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.15rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--cx-heading);
}

.cx-h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--cx-heading);
}

.cx-h3 {
    font-size: 1.28rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--cx-heading);
}

.cx-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.65;
    color: var(--cx-body-bright);
}

.cx-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cx-body);
}

.cx-body--sm {
    font-size: .94rem;
    line-height: 1.65;
}

.cx-accent-text {
    color: var(--cx-accent);
}

.cx-section-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.cx-section-head .cx-h2 {
    margin-top: 18px;
}

.cx-section-head .cx-lead {
    margin-top: 18px;
}

.cx-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cx-section-head--center .cx-eyebrow::before {
    display: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: .97rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), background-color .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease;
}

.cx-btn i {
    font-size: 1.05em;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}

.cx-btn:hover i {
    transform: translateX(3px);
}

.cx-btn--primary {
    background: var(--cx-accent);
    color: #000000;
    box-shadow: 0 10px 30px -12px rgba(59, 192, 189, .55);
}

.cx-btn--primary:hover {
    background: var(--cx-accent-secondary);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px -12px rgba(161, 199, 64, .65);
}

.cx-btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--cx-line-strong);
    color: #fff;
}

.cx-btn--ghost:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    transform: translateY(-2px);
}

.cx-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.cx-hero {
    position: relative;
    padding: 190px 0 96px;
    overflow: hidden;
    isolation: isolate;
}

/* Soft accent bloom + faint grid, purely decorative. */
.cx-hero::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -180px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at center, rgba(59, 192, 189, .2) 0%, rgba(59, 192, 189, .06) 42%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.cx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .038) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .038) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
    z-index: -1;
    pointer-events: none;
}

.cx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.cx-hero-copy .cx-h1 {
    margin-top: 22px;
}

.cx-hero-copy .cx-lead {
    margin-top: 24px;
    max-width: 570px;
}

.cx-hero-copy .cx-btn-row {
    margin-top: 38px;
}

.cx-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--cx-line);
}

.cx-hero-chips-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6f747e;
    width: 100%;
    margin-bottom: 4px;
}

/* Hero visual */

.cx-hero-visual {
    position: relative;
}

.cx-hero-frame {
    position: relative;
    border-radius: var(--cx-radius-lg);
    border: 1px solid var(--cx-line-strong);
    background: linear-gradient(160deg, #1b1d22 0%, #121317 100%);
    padding: 10px;
    box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .9), 0 0 40px -15px var(--cx-accent-soft);
}

.cx-hero-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Small floating stat card over the hero image */
.cx-float-card {
    position: absolute;
    left: -26px;
    bottom: -26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--cx-line-strong);
    background: rgba(20, 21, 25, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .95);
    max-width: 260px;
}

.cx-float-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: var(--cx-accent-soft);
    color: var(--cx-accent);
    font-size: 1.2rem;
}

.cx-float-card strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

/* Scoped to the caption so it cannot outrank .cx-float-card-icon. */
.cx-float-card>div>span {
    font-size: .82rem;
    color: #8a8f99;
}

/* Live pulse dot */
.cx-pulse {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fcf6f;
    flex: 0 0 8px;
}

.cx-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #2fcf6f;
    animation: cx-pulse 2s ease-out infinite;
}

@keyframes cx-pulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(3.4);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   CSEC hero — cybersecurity / SOC atmosphere
   Scoped to .cx-hero--csec so /odoo is untouched.
   -------------------------------------------------------------------------- */

.cx-hero--csec {
    padding-bottom: 0;
}

.cx-hero--csec::before {
    background: radial-gradient(circle at center, rgba(59, 192, 189, .2) 0%, rgba(161, 199, 64, .08) 42%, transparent 70%);
}

.cx-hero--csec .cx-container {
    position: relative;
    z-index: 1;
}

.cx-csec-rain,
.cx-csec-hex,
.cx-csec-scanlines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cx-csec-rain {
    width: 100%;
    height: 100%;
    opacity: .55;
    mask-image: radial-gradient(ellipse 90% 75% at 50% 28%, #000 18%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 28%, #000 18%, transparent 78%);
}

.cx-csec-hex {
    opacity: .5;
    background-image:
        radial-gradient(rgba(59, 192, 189, .28) 1px, transparent 1.4px),
        linear-gradient(rgba(59, 192, 189, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 192, 189, .045) 1px, transparent 1px);
    background-size: 28px 28px, 28px 28px, 28px 28px;
    animation: cx-csec-hex-shift 48s linear infinite;
    mask-image: radial-gradient(ellipse 75% 65% at 72% 36%, #000 12%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 36%, #000 12%, transparent 72%);
}

.cx-csec-scanlines {
    opacity: .38;
    mix-blend-mode: overlay;
    background: repeating-linear-gradient(to bottom,
            transparent 0 2px,
            rgba(0, 0, 0, .16) 2px 3px);
}

.cx-csec-scanlines::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, rgba(59, 192, 189, .08), transparent);
    animation: cx-csec-hero-scan 7.5s linear infinite;
}

.cx-hero--csec .cx-hero-copy > * {
    animation: cx-csec-rise .75s cubic-bezier(.2, .7, .3, 1) both;
}

.cx-hero--csec .cx-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.cx-hero--csec .cx-hero-copy > *:nth-child(2) { animation-delay: .12s; }
.cx-hero--csec .cx-hero-copy > *:nth-child(3) { animation-delay: .2s; }
.cx-hero--csec .cx-hero-copy > *:nth-child(4) { animation-delay: .28s; }
.cx-hero--csec .cx-hero-copy > *:nth-child(5) { animation-delay: .36s; }
.cx-hero--csec .cx-hero-copy > *:nth-child(6) { animation-delay: .44s; }

.cx-hero--csec .cx-hero-visual {
    animation: cx-csec-rise .9s cubic-bezier(.2, .7, .3, 1) .16s both;
}

.cx-csec-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-csec-status-tag {
    padding: 3px 8px;
    border: 1px solid rgba(59, 192, 189, .4);
    border-radius: 4px;
    background: rgba(59, 192, 189, .12);
}

.cx-csec-status-line {
    color: #9aa392;
    animation: cx-csec-type 2.2s steps(22) .35s both;
}

.cx-csec-caret {
    width: 7px;
    height: .9em;
    background: var(--cx-accent);
    animation: cx-csec-blink 1.05s steps(1) infinite;
}

.cx-csec-glitch {
    position: relative;
    display: inline-block;
}

.cx-csec-glitch::before,
.cx-csec-glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cx-csec-glitch::before {
    color: var(--cx-accent-secondary);
    clip-path: inset(0 0 58% 0);
    animation: cx-csec-glitch-a 4.8s infinite;
}

.cx-csec-glitch::after {
    color: #ff4d6d;
    clip-path: inset(48% 0 0 0);
    animation: cx-csec-glitch-b 4.8s infinite;
}

.cx-csec-shimmer {
    position: relative;
    display: inline-block;
    background: linear-gradient(105deg,
            var(--cx-accent) 0%,
            var(--cx-accent-secondary) 42%,
            #c8e6ff 50%,
            var(--cx-accent-secondary) 58%,
            var(--cx-accent) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cx-csec-shimmer 5.5s ease-in-out infinite;
}

.cx-hero--csec .cx-hero-visual::before {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: 30px;
    border: 1px dashed rgba(59, 192, 189, .22);
    animation: cx-csec-spin 32s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.cx-hero-frame--csec {
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 30px 80px -25px rgba(0, 0, 0, .9),
        0 0 50px -12px rgba(59, 192, 189, .22);
}

.cx-hero-frame--csec img {
    filter: saturate(.88) contrast(1.06);
}

.cx-csec-hud {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cx-accent);
    z-index: 3;
    pointer-events: none;
    opacity: .85;
}

.cx-csec-hud--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.cx-csec-hud--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.cx-csec-hud--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.cx-csec-hud--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.cx-csec-frame-scan {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(59, 192, 189, .9), transparent);
    box-shadow: 0 0 16px rgba(59, 192, 189, .55);
    animation: cx-csec-frame-scan 3.8s ease-in-out infinite;
}

.cx-hero-frame--csec::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom,
            rgba(0, 0, 0, .16) 0 1px,
            transparent 1px 3px);
}

.cx-csec-terminal {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    z-index: 4;
    padding: 12px 14px 32px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, rgba(8, 10, 12, .9) 0%, rgba(8, 10, 12, .52) 62%, transparent 100%);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    pointer-events: none;
}

.cx-csec-terminal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-csec-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2fcf6f;
}

.cx-csec-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fcf6f;
    box-shadow: 0 0 8px #2fcf6f;
    animation: cx-pulse 2s ease-out infinite;
}

.cx-csec-terminal-body {
    height: 5.6em;
    overflow: hidden;
    margin-top: 8px;
}

.cx-csec-terminal-track {
    animation: cx-csec-logs 18s linear infinite;
}

.cx-csec-log {
    display: grid;
    grid-template-columns: 7.4em 3.6em minmax(0, 1fr);
    gap: 8px;
    font-size: .68rem;
    line-height: 1.7;
    color: rgba(210, 220, 200, .86);
}

.cx-csec-log-t {
    color: #6f747e;
}

.cx-csec-log-src {
    color: var(--cx-accent);
    font-weight: 600;
}

.cx-csec-ticker {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    overflow: hidden;
    border-top: 1px solid var(--cx-line);
    background: rgba(59, 192, 189, .045);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cx-csec-ticker-track {
    display: flex;
    width: max-content;
    animation: cx-csec-ticker 32s linear infinite;
}

.cx-csec-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(59, 192, 189, .78);
    white-space: nowrap;
}

.cx-csec-ticker-item::after {
    content: "▸";
    color: var(--cx-accent-secondary);
    margin-left: 12px;
}

.cx-hero--csec .cx-float-card {
    z-index: 2;
}

.cx-csec-ticker:hover .cx-csec-ticker-track {
    animation-play-state: paused;
}

@keyframes cx-csec-hex-shift {
    to { background-position: 28px 28px, 28px 28px, 28px 28px; }
}

@keyframes cx-csec-hero-scan {
    0% { top: -140px; }
    100% { top: 100%; }
}

@keyframes cx-csec-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes cx-csec-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes cx-csec-blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes cx-csec-glitch-a {
    0%, 88%, 100% { transform: translate(0); }
    89% { transform: translate(-3px, 1px); }
    91% { transform: translate(2px, -1px); }
    93% { transform: translate(-2px, 0); }
    95% { transform: translate(0); }
}

@keyframes cx-csec-glitch-b {
    0%, 88%, 100% { transform: translate(0); }
    90% { transform: translate(3px, -1px); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, 0); }
    96% { transform: translate(0); }
}

@keyframes cx-csec-shimmer {
    0%, 100% { background-position: 100% center; }
    50% { background-position: 0% center; }
}

@keyframes cx-csec-spin {
    to { transform: rotate(360deg); }
}

@keyframes cx-csec-frame-scan {
    0% { top: 12px; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { top: calc(100% - 14px); opacity: 0; }
}

@keyframes cx-csec-logs {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes cx-csec-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Odoo hero — modular ERP / app-suite atmosphere
   Scoped to .cx-hero--odoo so /csec is untouched.
   -------------------------------------------------------------------------- */

.cx-hero--odoo {
    padding-bottom: 0;
}

.cx-hero--odoo::before {
    background: radial-gradient(circle at center, rgba(59, 192, 189, .22) 0%, rgba(161, 199, 64, .08) 38%, transparent 70%);
}

.cx-hero--odoo .cx-container {
    position: relative;
    z-index: 1;
}

.cx-odoo-network,
.cx-odoo-appgrid,
.cx-odoo-bloom {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cx-odoo-network {
    width: 100%;
    height: 100%;
    opacity: .62;
    mask-image: radial-gradient(ellipse 88% 72% at 58% 34%, #000 16%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 88% 72% at 58% 34%, #000 16%, transparent 76%);
}

.cx-odoo-appgrid {
    opacity: .42;
    background-image:
        linear-gradient(to right, rgba(59, 192, 189, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 192, 189, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: cx-odoo-grid-drift 56s linear infinite;
    mask-image: radial-gradient(ellipse 85% 70% at 40% 30%, #000 14%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 40% 30%, #000 14%, transparent 74%);
}

.cx-odoo-bloom {
    background:
        radial-gradient(ellipse 42% 38% at 18% 62%, rgba(59, 192, 189, .14) 0%, transparent 72%),
        radial-gradient(ellipse 36% 32% at 82% 28%, rgba(161, 199, 64, .12) 0%, transparent 70%);
    animation: cx-odoo-bloom-pulse 8s ease-in-out infinite alternate;
}

.cx-hero--odoo .cx-hero-copy > * {
    animation: cx-odoo-rise .75s cubic-bezier(.2, .7, .3, 1) both;
}

.cx-hero--odoo .cx-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.cx-hero--odoo .cx-hero-copy > *:nth-child(2) { animation-delay: .12s; }
.cx-hero--odoo .cx-hero-copy > *:nth-child(3) { animation-delay: .2s; }
.cx-hero--odoo .cx-hero-copy > *:nth-child(4) { animation-delay: .28s; }
.cx-hero--odoo .cx-hero-copy > *:nth-child(5) { animation-delay: .36s; }
.cx-hero--odoo .cx-hero-copy > *:nth-child(6) { animation-delay: .44s; }

.cx-hero--odoo .cx-hero-visual {
    animation: cx-odoo-rise .9s cubic-bezier(.2, .7, .3, 1) .16s both;
}

.cx-odoo-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-odoo-status-tag {
    padding: 3px 8px;
    border: 1px solid rgba(59, 192, 189, .42);
    border-radius: 4px;
    background: rgba(59, 192, 189, .12);
    color: var(--cx-accent);
}

.cx-odoo-status-line {
    color: #8a9099;
    animation: cx-odoo-type 2.4s steps(18) .35s both;
}

.cx-odoo-sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cx-accent);
    box-shadow: 0 0 10px rgba(59, 192, 189, .65);
    animation: cx-odoo-sync-pulse 1.8s ease-in-out infinite;
}

.cx-odoo-shimmer {
    position: relative;
    display: inline-block;
    background: linear-gradient(105deg,
            var(--cx-accent) 0%,
            var(--cx-accent-secondary) 42%,
            #c8e6ff 50%,
            var(--cx-accent-secondary) 58%,
            var(--cx-accent) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cx-odoo-shimmer 5.5s ease-in-out infinite;
}

.cx-hero--odoo .cx-hero-visual::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 28px;
    border: 1px solid rgba(59, 192, 189, .2);
    background: radial-gradient(circle at 50% 50%, rgba(59, 192, 189, .07) 0%, transparent 68%);
    animation: cx-odoo-orbit-ring 24s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.cx-odoo-orbit {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 100px;
    border: 1px solid rgba(59, 192, 189, .38);
    background: rgba(16, 18, 22, .88);
    backdrop-filter: blur(10px);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #d5d9e0;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .85);
    animation: cx-odoo-orbit-float 5.5s ease-in-out infinite;
    pointer-events: none;
}

.cx-odoo-orbit i {
    color: var(--cx-accent);
    font-size: .95em;
}

.cx-odoo-orbit:nth-child(2) { animation-delay: .8s; }
.cx-odoo-orbit:nth-child(3) { animation-delay: 1.6s; }
.cx-odoo-orbit:nth-child(4) { animation-delay: 2.4s; }

.cx-hero-frame--odoo {
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 30px 80px -25px rgba(0, 0, 0, .9),
        0 0 50px -12px rgba(59, 192, 189, .22);
}

.cx-hero-frame--odoo img {
    filter: saturate(.95) contrast(1.04);
}

.cx-hero-frame--odoo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 12, .08) 0%, transparent 38%, rgba(8, 10, 12, .12) 100%);
}

.cx-odoo-feed {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    padding: 12px 14px 10px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(0deg, rgba(8, 10, 12, .92) 0%, rgba(8, 10, 12, .58) 72%, transparent 100%);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    pointer-events: none;
}

.cx-odoo-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-odoo-feed-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2fcf6f;
}

.cx-odoo-feed-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fcf6f;
    box-shadow: 0 0 8px #2fcf6f;
    animation: cx-pulse 2s ease-out infinite;
}

.cx-odoo-feed-body {
    height: 4.8em;
    overflow: hidden;
    margin-top: 8px;
}

.cx-odoo-feed-track {
    animation: cx-odoo-feed-scroll 20s linear infinite;
}

.cx-odoo-feed-row {
    display: grid;
    grid-template-columns: 5.8em minmax(0, 1fr);
    gap: 10px;
    font-size: .66rem;
    line-height: 1.75;
    color: rgba(210, 220, 228, .88);
}

.cx-odoo-feed-mod {
    color: var(--cx-accent);
    font-weight: 600;
}

.cx-hero--odoo .cx-float-card--odoo {
    z-index: 2;
}

.cx-odoo-ticker {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    overflow: hidden;
    border-top: 1px solid var(--cx-line);
    background: rgba(59, 192, 189, .05);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cx-odoo-ticker-track {
    display: flex;
    width: max-content;
    animation: cx-odoo-ticker 36s linear infinite;
}

.cx-odoo-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(59, 192, 189, .88);
    white-space: nowrap;
}

.cx-odoo-ticker-item::after {
    content: "◆";
    color: var(--cx-accent-secondary);
    margin-left: 12px;
    font-size: .55em;
}

.cx-odoo-ticker:hover .cx-odoo-ticker-track {
    animation-play-state: paused;
}

@keyframes cx-odoo-grid-drift {
    to { background-position: 48px 48px; }
}

@keyframes cx-odoo-bloom-pulse {
    from { opacity: .75; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes cx-odoo-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes cx-odoo-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes cx-odoo-sync-pulse {
    0%, 100% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.35); opacity: 1; }
}

@keyframes cx-odoo-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes cx-odoo-orbit-ring {
    to { transform: rotate(360deg); }
}

@keyframes cx-odoo-orbit-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes cx-odoo-feed-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes cx-odoo-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Odoo services — lifecycle continuum
   -------------------------------------------------------------------------- */

.cx-svc-section {
    position: relative;
    overflow: clip;
}

.cx-svc-bloom,
.cx-svc-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cx-svc-bloom {
    background:
        radial-gradient(ellipse 55% 48% at 12% 18%, rgba(59, 192, 189, .11) 0%, transparent 68%),
        radial-gradient(ellipse 48% 42% at 92% 78%, rgba(161, 199, 64, .1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 36% at 55% 48%, rgba(59, 192, 189, .04) 0%, transparent 72%);
}

.cx-svc-mesh {
    opacity: .35;
    background-image:
        linear-gradient(to right, rgba(59, 192, 189, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(161, 199, 64, .04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, #000 20%, transparent 78%);
}

.cx-svc-section > .cx-container {
    position: relative;
    z-index: 1;
}

.cx-svc-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    overflow: hidden;
}

.cx-svc-flow-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    position: relative;
    min-width: 0;
}

.cx-svc-flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--cx-line-strong), transparent);
}

.cx-svc-flow-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    width: 9px;
    height: 9px;
    border-top: 1px solid rgba(59, 192, 189, .55);
    border-right: 1px solid rgba(59, 192, 189, .55);
    transform: translateY(-50%) rotate(45deg);
    background: var(--cx-bg);
    z-index: 1;
}

.cx-svc-flow-idx {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--cx-accent-secondary);
}

.cx-svc-flow-item strong {
    display: block;
    font-size: .98rem;
    font-weight: 600;
    color: var(--cx-heading);
    line-height: 1.2;
}

.cx-svc-flow-item span:not(.cx-svc-flow-idx) {
    display: block;
    margin-top: 3px;
    font-size: .78rem;
    color: rgba(213, 217, 224, .72);
}

.cx-svc-flow-item[data-phase="discover"] .cx-svc-flow-idx,
.cx-svc-flow-item[data-phase="launch"] .cx-svc-flow-idx {
    color: var(--cx-accent);
}

.cx-svc-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.cx-svc-tile {
    --svc-accent: var(--cx-accent);
    --svc-accent-soft: rgba(59, 192, 189, .14);
    --svc-accent-line: rgba(59, 192, 189, .55);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 248px;
    padding: 26px 24px 24px;
    border-radius: var(--cx-radius);
    border: 1px solid var(--cx-line);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .025) 0%, transparent 42%),
        linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
    overflow: hidden;
    isolation: isolate;
    grid-column: span 3;
    transition:
        transform .45s cubic-bezier(.2, .7, .3, 1),
        border-color .35s ease,
        box-shadow .45s ease;
}

.cx-svc-tile[data-phase="build"],
.cx-svc-tile[data-phase="sustain"] {
    --svc-accent: var(--cx-accent-secondary);
    --svc-accent-soft: rgba(161, 199, 64, .14);
    --svc-accent-line: rgba(161, 199, 64, .55);
}

/* Asymmetric mosaic: featured tiles open / close each band */
.cx-svc-tile:nth-child(1),
.cx-svc-tile:nth-child(5),
.cx-svc-tile:nth-child(7),
.cx-svc-tile:nth-child(8) {
    grid-column: span 6;
}

.cx-svc-tile:nth-child(1) .cx-h3,
.cx-svc-tile:nth-child(5) .cx-h3,
.cx-svc-tile:nth-child(7) .cx-h3,
.cx-svc-tile:nth-child(8) .cx-h3 {
    max-width: none;
}

.cx-svc-tile-glow {
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 70%;
    background: radial-gradient(ellipse at center, var(--svc-accent-soft) 0%, transparent 68%);
    opacity: 0;
    transition: opacity .45s ease;
    z-index: 0;
    pointer-events: none;
}

.cx-svc-tile::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--svc-accent), transparent 78%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.2, .7, .3, 1);
    z-index: 2;
}

.cx-svc-tile:hover {
    transform: translateY(-7px);
    border-color: var(--svc-accent-line);
    box-shadow:
        0 28px 60px -32px rgba(0, 0, 0, .95),
        0 0 0 1px rgba(255, 255, 255, .03),
        0 0 40px -18px var(--svc-accent-soft);
}

.cx-svc-tile:hover::before {
    transform: scaleX(1);
}

.cx-svc-tile:hover .cx-svc-tile-glow {
    opacity: 1;
}

.cx-svc-tile-idx {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: clamp(3.4rem, 4.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
    pointer-events: none;
    z-index: 0;
    transition:
        color .4s ease,
        -webkit-text-stroke-color .4s ease,
        transform .45s cubic-bezier(.2, .7, .3, 1);
}

.cx-svc-tile:hover .cx-svc-tile-idx {
    color: color-mix(in srgb, var(--svc-accent) 16%, transparent);
    -webkit-text-stroke-color: transparent;
    transform: translateY(-4px);
}

.cx-svc-tile-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cx-svc-tile-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--svc-accent-soft);
    border: 1px solid color-mix(in srgb, var(--svc-accent) 28%, transparent);
    color: var(--svc-accent);
    font-size: 1.4rem;
    transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease;
}

.cx-svc-tile:hover .cx-svc-tile-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--svc-accent) 10%, transparent);
}

.cx-svc-tile-phase {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--svc-accent);
    padding: 5px 9px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--svc-accent) 22%, transparent);
    background: color-mix(in srgb, var(--svc-accent) 8%, transparent);
}

.cx-svc-tile .cx-h3,
.cx-svc-tile .cx-body {
    position: relative;
    z-index: 1;
}

.cx-svc-tile .cx-h3 {
    margin: 2px 0 0;
    max-width: 12ch;
}

.cx-svc-tile .cx-body {
    margin-top: auto;
    color: rgba(213, 217, 224, .88);
}

.cx-svc-tile-mark {
    position: absolute;
    right: -8px;
    bottom: -18px;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--svc-accent);
    opacity: .04;
    transform: rotate(-12deg);
    pointer-events: none;
    z-index: 0;
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .3, 1);
}

.cx-svc-tile:hover .cx-svc-tile-mark {
    opacity: .09;
    transform: rotate(-8deg) translate(-6px, -8px);
}

@keyframes cx-svc-pulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

.cx-svc-flow-item[data-phase="build"] .cx-svc-flow-idx {
    animation: cx-svc-pulse 2.8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Samsung Knox page — Clarex theme + MDM hero atmosphere
   -------------------------------------------------------------------------- */

.cx-hero--knox {
    padding-bottom: 0;
}

.cx-hero--knox .cx-container {
    position: relative;
    z-index: 1;
}

.cx-knox-network,
.cx-knox-appgrid,
.cx-knox-bloom {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cx-knox-network {
    width: 100%;
    height: 100%;
    opacity: .58;
    mask-image: radial-gradient(ellipse 88% 72% at 55% 32%, #000 16%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 88% 72% at 55% 32%, #000 16%, transparent 76%);
}

.cx-knox-appgrid {
    opacity: .4;
    background-image:
        linear-gradient(to right, rgba(59, 192, 189, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 192, 189, .055) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: cx-knox-grid-drift 56s linear infinite;
    mask-image: radial-gradient(ellipse 85% 70% at 42% 28%, #000 14%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 42% 28%, #000 14%, transparent 74%);
}

.cx-knox-bloom {
    background:
        radial-gradient(ellipse 42% 38% at 16% 58%, rgba(161, 199, 64, .12) 0%, transparent 72%),
        radial-gradient(ellipse 36% 32% at 84% 26%, rgba(59, 192, 189, .14) 0%, transparent 70%);
    animation: cx-knox-bloom-pulse 8s ease-in-out infinite alternate;
}

.cx-hero--knox .cx-hero-copy > * {
    animation: cx-knox-rise .75s cubic-bezier(.2, .7, .3, 1) both;
}

.cx-hero--knox .cx-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.cx-hero--knox .cx-hero-copy > *:nth-child(2) { animation-delay: .12s; }
.cx-hero--knox .cx-hero-copy > *:nth-child(3) { animation-delay: .2s; }
.cx-hero--knox .cx-hero-copy > *:nth-child(4) { animation-delay: .28s; }
.cx-hero--knox .cx-hero-copy > *:nth-child(5) { animation-delay: .36s; }
.cx-hero--knox .cx-hero-copy > *:nth-child(6) { animation-delay: .44s; }

.cx-hero--knox .cx-hero-visual {
    animation: cx-knox-rise .9s cubic-bezier(.2, .7, .3, 1) .16s both;
}

.cx-knox-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-knox-status-tag {
    padding: 3px 8px;
    border: 1px solid rgba(59, 192, 189, .42);
    border-radius: 4px;
    background: rgba(59, 192, 189, .12);
    color: var(--cx-accent);
}

.cx-knox-status-line {
    color: #8a9099;
    animation: cx-knox-type 2.4s steps(18) .35s both;
}

.cx-knox-sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cx-accent);
    box-shadow: 0 0 10px rgba(59, 192, 189, .65);
    animation: cx-knox-sync-pulse 1.8s ease-in-out infinite;
}

.cx-knox-shimmer {
    position: relative;
    display: inline-block;
    background: linear-gradient(105deg,
            var(--cx-accent) 0%,
            var(--cx-accent-secondary) 42%,
            #e8f5c8 50%,
            var(--cx-accent-secondary) 58%,
            var(--cx-accent) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cx-knox-shimmer 5.5s ease-in-out infinite;
}

.cx-knox-orbit {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 100px;
    border: 1px solid rgba(59, 192, 189, .35);
    background: rgba(16, 18, 22, .88);
    backdrop-filter: blur(10px);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #d5d9e0;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .85);
    animation: cx-knox-orbit-float 5.5s ease-in-out infinite;
    pointer-events: none;
}

.cx-knox-orbit i {
    color: var(--cx-accent);
    font-size: .95em;
}

.cx-knox-orbit:nth-child(2) { animation-delay: .8s; }
.cx-knox-orbit:nth-child(3) { animation-delay: 1.6s; }
.cx-knox-orbit:nth-child(4) { animation-delay: 2.4s; }

.cx-hero-frame--knox {
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 30px 80px -25px rgba(0, 0, 0, .9),
        0 0 50px -12px rgba(59, 192, 189, .2);
}

.cx-hero-frame--knox::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 12, .06) 0%, transparent 40%, rgba(8, 10, 12, .18) 100%);
}

.cx-knox-feed {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    padding: 12px 14px 10px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(0deg, rgba(8, 10, 12, .92) 0%, rgba(8, 10, 12, .58) 72%, transparent 100%);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    pointer-events: none;
}

.cx-knox-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-knox-feed-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2fcf6f;
}

.cx-knox-feed-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fcf6f;
    box-shadow: 0 0 8px #2fcf6f;
    animation: cx-pulse 2s ease-out infinite;
}

.cx-knox-feed-body {
    height: 4.8em;
    overflow: hidden;
    margin-top: 8px;
}

.cx-knox-feed-track {
    animation: cx-knox-feed-scroll 20s linear infinite;
}

.cx-knox-feed-row {
    display: grid;
    grid-template-columns: 4.6em minmax(0, 1fr);
    gap: 10px;
    font-size: .66rem;
    line-height: 1.75;
    color: rgba(210, 220, 200, .88);
}

.cx-knox-feed-src {
    color: var(--cx-accent-secondary);
    font-weight: 600;
}

.cx-hero--knox .cx-float-card--knox {
    z-index: 2;
}

.cx-knox-ticker {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    overflow: hidden;
    border-top: 1px solid var(--cx-line);
    background: rgba(59, 192, 189, .045);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cx-knox-ticker-track {
    display: flex;
    width: max-content;
    animation: cx-knox-ticker 36s linear infinite;
}

.cx-knox-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(59, 192, 189, .82);
    white-space: nowrap;
}

.cx-knox-ticker-item::after {
    content: "◆";
    color: var(--cx-accent-secondary);
    margin-left: 12px;
    font-size: .55em;
}

.cx-knox-ticker:hover .cx-knox-ticker-track {
    animation-play-state: paused;
}

.cx-knox-logo-panel {
    display: grid;
    place-items: center;
    gap: 18px;
    padding: 48px 36px;
    border-radius: var(--cx-radius-lg);
    border: 1px solid var(--cx-line);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--cx-accent-soft) 0%, transparent 70%),
        linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
    text-align: center;
}

.cx-knox-logo-panel img {
    display: block;
    width: auto;
    max-width: 220px;
    height: auto;
    padding: 20px 28px;
    border-radius: 12px;
    background: #ffffff;
}

.cx-knox-logo-panel p {
    margin: 0;
    font-size: .9rem;
    color: #8a8f99;
}

@keyframes cx-knox-grid-drift {
    to { background-position: 48px 48px; }
}

@keyframes cx-knox-bloom-pulse {
    from { opacity: .75; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes cx-knox-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes cx-knox-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes cx-knox-sync-pulse {
    0%, 100% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.35); opacity: 1; }
}

@keyframes cx-knox-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes cx-knox-orbit-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes cx-knox-feed-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes cx-knox-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Chips / pills
   -------------------------------------------------------------------------- */

.cx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 100px;
    border: 1px solid var(--cx-line);
    background: rgba(255, 255, 255, .035);
    font-size: .87rem;
    font-weight: 500;
    color: var(--cx-body-bright);
    transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}

.cx-chip i {
    color: var(--cx-accent);
    font-size: .95em;
}

.cx-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cx-chip-grid .cx-chip:hover {
    border-color: rgba(59, 192, 189, .5);
    background: var(--cx-accent-soft);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Stat strip
   -------------------------------------------------------------------------- */

.cx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035) 0%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

.cx-stat {
    padding: 34px 30px;
    border-right: 1px solid var(--cx-line);
}

.cx-stat:last-child {
    border-right: 0;
}

.cx-stat-value {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
}

.cx-stat-value em {
    font-style: normal;
    color: var(--cx-accent);
}

.cx-stat-label {
    margin-top: 12px;
    font-size: .9rem;
    line-height: 1.5;
    color: #8a8f99;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.cx-grid {
    display: grid;
    gap: 20px;
}

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

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

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

.cx-card {
    position: relative;
    padding: 30px;
    border-radius: var(--cx-radius);
    border: 1px solid var(--cx-line);
    background: linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), border-color .4s ease, box-shadow .4s ease;
    overflow: hidden;
}

/* Thin accent line that wipes in on hover. */
.cx-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cx-accent), transparent);
    opacity: 0;
    transition: opacity .4s ease;
}

.cx-card:hover {
    transform: translateY(-5px);
    border-color: var(--cx-line-strong);
    box-shadow: 0 28px 60px -30px rgba(0, 0, 0, .95);
}

.cx-card:hover::before {
    opacity: 1;
}

.cx-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cx-accent-soft);
    border: 1px solid rgba(59, 192, 189, .28);
    color: var(--cx-accent);
    font-size: 1.35rem;
    margin-bottom: 22px;
}

.cx-card .cx-h3 {
    margin-bottom: 12px;
}

.cx-card-tag {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cx-accent);
    margin-bottom: 14px;
    display: block;
}

/* Acronym card variant used for the platform line-up */
.cx-card--acronym .cx-acronym {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
    line-height: 1;
}

.cx-card--acronym .cx-acronym-full {
    display: block;
    margin: 10px 0 14px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

/* Numbered benefit card */
.cx-card-num {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: #4d525c;
    margin-bottom: 16px;
    display: block;
}

/* --------------------------------------------------------------------------
   Tabbed capability explorer
   -------------------------------------------------------------------------- */

.cx-tabs {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.cx-tablist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    background: rgba(255, 255, 255, .022);
    position: sticky;
    top: calc(var(--cx-header-h, 84px) + 76px);
}

.cx-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    font-family: inherit;
    font-size: .96rem;
    font-weight: 500;
    text-align: left;
    color: var(--cx-body);
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}

.cx-tab i {
    font-size: 1.1rem;
    color: #5f646e;
    transition: color .3s ease;
}

.cx-tab:hover {
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.cx-tab[aria-selected="true"] {
    background: var(--cx-accent);
    color: #14161a;
    font-weight: 600;
}

.cx-tab[aria-selected="true"] i {
    color: #14161a;
}

.cx-tabpanel {
    display: grid;
    gap: 20px;
}

.cx-tabpanel[hidden] {
    display: none;
}

/* Feature block inside a panel */
.cx-feature {
    padding: 28px 30px;
    border-radius: var(--cx-radius);
    border: 1px solid var(--cx-line);
    background: linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
}

.cx-feature .cx-h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cx-feature .cx-h3 i {
    color: var(--cx-accent);
    font-size: 1.15rem;
}

.cx-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.cx-feature-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 8px;
    border: 1px solid var(--cx-line);
    background: rgba(255, 255, 255, .03);
    font-size: .855rem;
    color: var(--cx-body-bright);
}

.cx-feature-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cx-accent);
    flex: 0 0 5px;
}

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */

.cx-steps {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: cx-step;
}

.cx-steps--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cx-step {
    position: relative;
    padding-top: 42px;
}

/* Horizontal rail with a node per step. */
.cx-step::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--cx-line);
}

.cx-step:first-child::before {
    left: 13px;
}

.cx-step:last-child::before {
    right: calc(100% - 14px);
}

.cx-step::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--cx-accent);
    box-shadow: 0 0 0 4px rgba(59, 192, 189, .2);
}

.cx-step-num {
    counter-increment: cx-step;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--cx-accent);
    display: block;
    margin-bottom: 12px;
}

.cx-step-num::before {
    content: "0" counter(cx-step);
}

.cx-step .cx-h3 {
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */

.cx-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cx-bento .cx-span-2 {
    grid-column: span 2;
}

/* Oversized figure used for the alert-fatigue callout */
.cx-figure-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--cx-accent);
}

.cx-figure-stat span {
    font-size: .4em;
    color: var(--cx-body);
    font-weight: 500;
}

.cx-inline-link {
    color: var(--cx-body-bright);
    border-bottom: 1px solid rgba(59, 192, 189, .45);
    transition: color .3s ease, border-color .3s ease;
}

.cx-inline-link:hover {
    color: var(--cx-accent);
    border-color: var(--cx-accent);
}

/* --------------------------------------------------------------------------
   Checklist (two column)
   -------------------------------------------------------------------------- */

.cx-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 34px;
}

.cx-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cx-line);
    font-size: .97rem;
    line-height: 1.55;
    color: var(--cx-body-bright);
}

.cx-checklist li i {
    color: var(--cx-accent);
    font-size: 1.05rem;
    margin-top: 3px;
    flex: 0 0 auto;
}

.cx-checklist strong {
    color: #fff;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Region / flag cards
   -------------------------------------------------------------------------- */

.cx-region {
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.cx-region-flag {
    height: 132px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid var(--cx-line);
    overflow: hidden;
}

.cx-region-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.cx-region:hover .cx-region-flag img {
    transform: scale(1.06);
}

.cx-region-body {
    padding: 20px;
}

.cx-region-body .cx-h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.cx-region-body p {
    font-size: .85rem;
    color: #8a8f99;
}

/* --------------------------------------------------------------------------
   Asymmetric two-column block
   -------------------------------------------------------------------------- */

.cx-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Certificate panel
   -------------------------------------------------------------------------- */

.cx-cert {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding: 36px;
    border-radius: var(--cx-radius-lg);
    border: 1px solid var(--cx-line);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--cx-accent-soft) 0%, transparent 70%),
        linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
}

.cx-cert img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 340px;
    border-radius: 10px;
}

.cx-cert figcaption {
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: #8a8f99;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Wide media panel
   -------------------------------------------------------------------------- */

.cx-media-panel {
    border-radius: var(--cx-radius-lg);
    border: 1px solid var(--cx-line);
    background: linear-gradient(165deg, var(--cx-surface) 0%, #121317 100%);
    padding: 20px;
}

.cx-media-panel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Section nav (sticky in-page anchors)
   -------------------------------------------------------------------------- */

/* Offset is measured from the real header height at runtime; the fallback keeps
   the bar clear of the sticky header before that measurement lands. */
.cx-subnav {
    position: sticky;
    top: var(--cx-header-h, 84px);
    z-index: 20;
    border-top: 1px solid var(--cx-line);
    border-bottom: 1px solid var(--cx-line);
    background: rgba(12, 13, 15, .88);
    backdrop-filter: blur(14px);
}

.cx-subnav-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
}

.cx-subnav-inner::-webkit-scrollbar {
    display: none;
}

.cx-subnav a {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: #878c96;
    white-space: nowrap;
    transition: background-color .3s ease, color .3s ease;
}

.cx-subnav a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.cx-subnav a.is-active {
    background: var(--cx-accent-soft);
    color: var(--cx-accent);
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.cx-cta {
    position: relative;
    border-radius: var(--cx-radius-lg);
    border: 1px solid rgba(59, 192, 189, .28);
    background:
        radial-gradient(ellipse 70% 130% at 12% 0%, rgba(59, 192, 189, .16) 0%, transparent 62%),
        radial-gradient(ellipse 50% 80% at 92% 100%, rgba(161, 199, 64, .08) 0%, transparent 60%),
        linear-gradient(165deg, #1b1d22 0%, #121317 100%);
    padding: clamp(40px, 6vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    overflow: hidden;
}

.cx-cta .cx-h2 {
    max-width: 620px;
}

.cx-cta .cx-lead {
    margin-top: 18px;
    max-width: 560px;
}

.cx-cta-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    min-width: 250px;
}

.cx-cta-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    color: var(--cx-body-bright);
}

.cx-cta-contact i {
    color: var(--cx-accent);
}

/* --------------------------------------------------------------------------
   Cross-links to other services
   -------------------------------------------------------------------------- */

.cx-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--cx-line);
    background: rgba(255, 255, 255, .026);
    font-size: .99rem;
    font-weight: 500;
    color: var(--cx-body-bright);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), border-color .35s ease, background-color .35s ease, color .35s ease;
}

.cx-link-card i {
    color: #5f646e;
    transition: transform .35s ease, color .35s ease;
}

.cx-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 192, 189, .4);
    background: var(--cx-accent-soft);
    color: #fff;
}

.cx-link-card:hover i {
    color: var(--cx-accent);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Scroll reveal — hidden only once JS confirms it can reveal again
   -------------------------------------------------------------------------- */

.cx-js .cx-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s cubic-bezier(.2, .7, .3, 1), transform .75s cubic-bezier(.2, .7, .3, 1);
    will-change: opacity, transform;
}

.cx-js .cx-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Event Sponsorship  (.cx-event-*)
   -------------------------------------------------------------------------- */

/* Event meta row (date · venue · role) */
.cx-event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cx-event-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--cx-line);
    background: rgba(255, 255, 255, .03);
    font-size: .9rem;
    color: var(--cx-body-bright);
    font-weight: 500;
}

.cx-event-meta-item i {
    font-size: 1rem;
    color: var(--cx-accent);
    flex: 0 0 auto;
}

/* Photo gallery column */
.cx-event-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cx-event-photo {
    margin: 0;
    padding: 0;
    border-radius: var(--cx-radius-lg);
    overflow: hidden;
    border: 1px solid var(--cx-line-strong);
    position: relative;
    background: #14161a;
}

.cx-event-photo--btn {
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
    outline: none;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.cx-event-photo--btn:hover {
    border-color: var(--cx-accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .8), 0 0 24px -6px var(--cx-accent-soft);
}

.cx-event-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.cx-event-photo--btn:hover img {
    transform: scale(1.05);
}

/* Hover overlay on photos */
.cx-event-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .02em;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity .3s ease;
    z-index: 2;
}

.cx-event-photo-overlay i {
    font-size: 1.15rem;
    color: var(--cx-accent);
}

.cx-event-photo--btn:hover .cx-event-photo-overlay {
    opacity: 1;
}

/* Main (tall) photo */
.cx-event-photo--main {
    height: 290px;
}

/* Two smaller photos side by side */
.cx-event-photo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cx-event-photo-row .cx-event-photo {
    height: 170px;
}

/* --------------------------------------------------------------------------
   Modal Popup for Event Photos
   -------------------------------------------------------------------------- */

.cx-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 8, 12, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: cxFadeIn .22s ease-out;
}

.cx-modal-card {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(160deg, #181a20 0%, #0e1014 100%);
    box-shadow: 0 32px 90px -20px rgba(0, 0, 0, .95), 0 0 40px -15px rgba(59, 192, 189, .15);
    overflow: hidden;
    animation: cxScaleUp .28s cubic-bezier(.2, .7, .3, 1);
    /* explicit base colour — portaled outside .cx-page so CSS vars may not resolve */
    color: #ffffff;
}

/* Modal top accent stripe */
.cx-modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3BC0BD 0%, #A1C740 100%);
    z-index: 5;
}

/* Modal Header */
.cx-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .015);
}

.cx-modal-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cx-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #3BC0BD;
}

.cx-modal-badge i {
    font-size: .75rem;
}

.cx-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -.01em;
}

.cx-modal-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: #a0a5b0;
}

.cx-modal-location i {
    color: #A1C740;
}

.cx-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cx-modal-counter {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #e0e3e8;
}

.cx-modal-close-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--cx-line-strong);
    background: rgba(255, 255, 255, .06);
    color: #ffffff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cx-modal-close-btn:hover {
    background: var(--cx-accent);
    border-color: var(--cx-accent);
    color: #000000;
    transform: rotate(90deg);
}

/* Modal Showcase View */
.cx-modal-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #08090b;
    min-height: 320px;
    max-height: 54vh;
    overflow: hidden;
}

.cx-modal-img-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 52vh;
}

.cx-modal-img {
    display: block;
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
}

/* Prev / Next buttons inside showcase */
.cx-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--cx-line-strong);
    background: rgba(18, 20, 26, .85);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cx-modal-nav:hover {
    background: var(--cx-accent);
    border-color: var(--cx-accent);
    color: #000000;
    transform: translateY(-50%) scale(1.08);
}

.cx-modal-nav--prev {
    left: 18px;
}

.cx-modal-nav--next {
    right: 18px;
}

/* Modal Footer */
.cx-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .015);
}

.cx-modal-caption {
    font-size: .88rem;
    color: #c8cdd6;
    line-height: 1.5;
    margin: 0;
}

/* Thumbnail selector strip */
.cx-modal-thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cx-modal-thumb-btn {
    flex: 0 0 68px;
    height: 48px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .1);
    background: #000000;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.cx-modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cx-modal-thumb-btn:hover {
    opacity: 1;
    border-color: var(--cx-line-strong);
    transform: translateY(-2px);
}

.cx-modal-thumb-btn.is-active {
    opacity: 1;
    border-color: var(--cx-accent);
    box-shadow: 0 0 12px -2px var(--cx-accent-soft);
    transform: scale(1.04);
}

@keyframes cxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cxScaleUp {
    from {
        opacity: 0;
        transform: scale(.96) translateY(12px);
    }

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

@media (max-width: 767px) {
    .cx-modal-overlay {
        padding: 12px;
    }

    .cx-modal-card {
        max-height: 96vh;
    }

    .cx-modal-header {
        padding: 16px 18px 12px;
    }

    .cx-modal-title {
        font-size: 1.05rem;
    }

    .cx-modal-showcase {
        min-height: 240px;
        padding: 12px 10px;
    }

    .cx-modal-footer {
        padding: 12px 16px 16px;
    }
}

/* --------------------------------------------------------------------------
   Project Showcase  (.cx-ps-*)
   -------------------------------------------------------------------------- */

.cx-ps {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cx-ps-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: calc(var(--cx-header-h, 84px) + 80px);
}

.cx-ps-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cx-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
    text-align: left;
}

.cx-ps-card:hover {
    background: rgba(255, 255, 255, .07);
    border-color: var(--cx-line-strong);
}

.cx-ps-card[aria-selected="true"] {
    background: rgba(59, 192, 189, .08);
    border-color: rgba(59, 192, 189, .4);
    box-shadow: 0 4px 20px -6px rgba(59, 192, 189, .2);
}

.cx-ps-card-logo {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 4px;
}

.cx-ps-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cx-ps-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cx-ps-card-name {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cx-ps-card-industry {
    font-size: .76rem;
    color: var(--cx-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cx-ps-card[aria-selected="true"] .cx-ps-card-name {
    color: var(--cx-accent);
}

.cx-ps-card-arrow {
    flex: 0 0 auto;
    font-size: .9rem;
    color: var(--cx-line-strong);
    transition: color .25s ease, transform .25s ease;
}

.cx-ps-card[aria-selected="true"] .cx-ps-card-arrow {
    color: var(--cx-accent);
    transform: translateX(2px);
}

.cx-ps-panel {
    border: 1px solid var(--cx-line-strong);
    border-radius: 20px;
    background: linear-gradient(150deg, var(--cx-surface) 0%, #0f1013 100%);
    overflow: hidden;
}

.cx-ps-panel::before {
    display: block;
    content: "";
    height: 2px;
    background: linear-gradient(90deg, var(--cx-accent) 0%, var(--cx-accent-secondary) 100%);
}

.cx-ps-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 28px 22px;
    border-bottom: 1px solid var(--cx-line);
}

.cx-ps-panel-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 8px;
    box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .5);
}

.cx-ps-panel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cx-ps-panel-title-group {
    flex: 1;
}

.cx-ps-panel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.cx-ps-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.cx-ps-badge--industry {
    background: rgba(59, 192, 189, .1);
    border: 1px solid rgba(59, 192, 189, .25);
    color: var(--cx-accent);
}

.cx-ps-badge--country {
    background: rgba(161, 199, 64, .08);
    border: 1px solid rgba(161, 199, 64, .22);
    color: var(--cx-accent-secondary);
}

.cx-ps-tagline {
    font-size: .95rem;
    color: var(--cx-body-bright);
    line-height: 1.65;
}

.cx-ps-divider {
    padding: 12px 28px;
    border-bottom: 1px solid var(--cx-line);
    background: rgba(255, 255, 255, .015);
}

.cx-ps-divider span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cx-accent);
}

.cx-ps-deliverables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--cx-line);
    list-style: none;
    padding: 0;
    margin: 0;
}

.cx-ps-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 20px;
    background: linear-gradient(150deg, var(--cx-surface) 0%, #0f1013 100%);
    font-size: .875rem;
    color: var(--cx-body);
    line-height: 1.5;
    transition: background .2s ease, color .2s ease;
}

.cx-ps-deliverables li:hover {
    background: rgba(59, 192, 189, .04);
    color: var(--cx-body-bright);
}

.cx-ps-deliverables li i {
    flex: 0 0 auto;
    font-size: .85rem;
    color: var(--cx-accent);
    margin-top: 3px;
}


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

    .cx-js .cx-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }


    .cx-pulse::after {
        animation: none;
    }

    .cx-csec-rain,
    .cx-csec-hex,
    .cx-csec-scanlines,
    .cx-csec-scanlines::after,
    .cx-csec-frame-scan,
    .cx-csec-glitch::before,
    .cx-csec-glitch::after,
    .cx-csec-shimmer,
    .cx-csec-caret,
    .cx-csec-status-line,
    .cx-csec-ticker-track,
    .cx-csec-terminal-track,
    .cx-csec-live::before,
    .cx-hero--csec .cx-hero-copy > *,
    .cx-hero--csec .cx-hero-visual,
    .cx-hero--csec .cx-hero-visual::before {
        animation: none !important;
    }

    .cx-csec-rain {
        display: none;
    }

    .cx-csec-status-line {
        clip-path: none;
    }

    .cx-csec-shimmer {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: var(--cx-accent);
    }

    .cx-hero--csec .cx-hero-copy > *,
    .cx-hero--csec .cx-hero-visual {
        opacity: 1;
        transform: none;
    }

    .cx-odoo-network,
    .cx-odoo-appgrid,
    .cx-odoo-bloom,
    .cx-odoo-sync-dot,
    .cx-odoo-status-line,
    .cx-odoo-shimmer,
    .cx-odoo-orbit,
    .cx-odoo-feed-track,
    .cx-odoo-ticker-track,
    .cx-odoo-feed-live::before,
    .cx-hero--odoo .cx-hero-copy > *,
    .cx-hero--odoo .cx-hero-visual,
    .cx-hero--odoo .cx-hero-visual::before {
        animation: none !important;
    }

    .cx-odoo-network {
        display: none;
    }

    .cx-odoo-status-line {
        clip-path: none;
    }

    .cx-odoo-shimmer {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: var(--cx-accent);
    }

    .cx-svc-bloom,
    .cx-svc-mesh,
    .cx-svc-flow-item[data-phase="build"] .cx-svc-flow-idx {
        animation: none !important;
    }

    .cx-svc-tile:hover {
        transform: none;
    }

    .cx-hero--odoo .cx-hero-copy > *,
    .cx-hero--odoo .cx-hero-visual {
        opacity: 1;
        transform: none;
    }

    .cx-knox-network,
    .cx-knox-appgrid,
    .cx-knox-bloom,
    .cx-knox-sync-dot,
    .cx-knox-status-line,
    .cx-knox-shimmer,
    .cx-knox-orbit,
    .cx-knox-feed-track,
    .cx-knox-ticker-track,
    .cx-knox-feed-live::before,
    .cx-hero--knox .cx-hero-copy > *,
    .cx-hero--knox .cx-hero-visual {
        animation: none !important;
    }

    .cx-knox-network {
        display: none;
    }

    .cx-knox-status-line {
        clip-path: none;
    }

    .cx-knox-shimmer {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: var(--cx-accent);
    }

    .cx-hero--knox .cx-hero-copy > *,
    .cx-hero--knox .cx-hero-visual {
        opacity: 1;
        transform: none;
    }

    .cx-page *,
    .cx-page *::before,
    .cx-page *::after {
        transition-duration: .01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .cx-hero-grid {
        gap: 44px;
    }

    .cx-steps,
    .cx-steps--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    /* The rail only reads correctly as one row, so drop it on wrapped grids. */
    .cx-step::before,
    .cx-step:first-child::before,
    .cx-step:last-child::before {
        content: none;
    }

    .cx-step {
        padding-top: 0;
        padding-left: 30px;
    }

    .cx-step::after {
        top: 6px;
        left: 0;
    }

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

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

    .cx-svc-flow-item:nth-child(2)::before,
    .cx-svc-flow-item:nth-child(2)::after,
    .cx-svc-flow-item:nth-child(4)::before {
        content: none;
    }

    .cx-svc-flow-item:nth-child(1),
    .cx-svc-flow-item:nth-child(2) {
        border-bottom: 1px solid var(--cx-line);
    }

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

    .cx-svc-tile,
    .cx-svc-tile:nth-child(1),
    .cx-svc-tile:nth-child(5),
    .cx-svc-tile:nth-child(7),
    .cx-svc-tile:nth-child(8) {
        grid-column: span 1;
    }

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

    .cx-stat:nth-child(2n) {
        border-right: 0;
    }

    .cx-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--cx-line);
    }
}

@media (max-width: 991px) {
    .cx-hero {
        padding: 150px 0 76px;
    }

    .cx-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .cx-section {
        padding: 76px 0;
    }

    .cx-section-head {
        margin-bottom: 40px;
    }

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

    .cx-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .cx-bento .cx-span-2 {
        grid-column: span 2;
    }

    .cx-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .cx-tablist {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cx-tablist::-webkit-scrollbar {
        display: none;
    }

    .cx-tab {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .cx-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-float-card {
        left: 12px;
        bottom: -20px;
    }

    .cx-ps {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-ps-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .cx-ps-sidebar::-webkit-scrollbar {
        display: none;
    }

    .cx-ps-card {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .cx-ps-card-arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .cx-container {
        padding: 0 18px;
    }

    .cx-hero {
        padding: 130px 0 64px;
    }

    .cx-hero--csec {
        padding-bottom: 0;
    }

    .cx-hero--csec .cx-hero-visual::before {
        display: none;
    }

    .cx-csec-terminal-body {
        height: 4.4em;
    }

    .cx-csec-log {
        grid-template-columns: 6.2em 3.2em minmax(0, 1fr);
        font-size: .62rem;
    }

    .cx-csec-rain {
        opacity: .28;
    }

    .cx-csec-ticker {
        margin-top: 40px;
    }

    .cx-hero--odoo {
        padding-bottom: 0;
    }

    .cx-hero--odoo .cx-hero-visual::before {
        display: none;
    }

    .cx-odoo-orbit {
        display: none;
    }

    .cx-odoo-feed-body {
        height: 3.8em;
    }

    .cx-odoo-feed-row {
        grid-template-columns: 5em minmax(0, 1fr);
        font-size: .6rem;
    }

    .cx-odoo-network {
        opacity: .32;
    }

    .cx-odoo-ticker {
        margin-top: 40px;
    }

    .cx-hero--knox {
        padding-bottom: 0;
    }

    .cx-knox-orbit {
        display: none;
    }

    .cx-knox-feed-body {
        height: 3.8em;
    }

    .cx-knox-feed-row {
        grid-template-columns: 4em minmax(0, 1fr);
        font-size: .6rem;
    }

    .cx-knox-network {
        opacity: .3;
    }

    .cx-knox-ticker {
        margin-top: 40px;
    }

    .cx-section {
        padding: 64px 0;
    }

    .cx-grid--2,
    .cx-grid--3,
    .cx-grid--4,
    .cx-bento,
    .cx-checklist,
    .cx-steps,
    .cx-steps--5,
    .cx-svc-flow,
    .cx-svc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-bento .cx-span-2 {
        grid-column: span 1;
    }

    .cx-svc-flow-item:not(:last-child)::before,
    .cx-svc-flow-item:not(:last-child)::after {
        content: none;
    }

    .cx-svc-flow-item:not(:last-child) {
        border-bottom: 1px solid var(--cx-line);
    }

    .cx-svc-tile {
        min-height: 0;
    }

    .cx-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-stat {
        border-right: 0;
        border-bottom: 1px solid var(--cx-line);
        padding: 26px 24px;
    }

    .cx-stat:last-child {
        border-bottom: 0;
    }

    .cx-card,
    .cx-feature {
        padding: 24px 22px;
    }

    .cx-float-card {
        position: static;
        margin-top: 16px;
        max-width: none;
    }

    .cx-btn {
        width: 100%;
    }

    .cx-ps-panel-header {
        flex-direction: column;
        gap: 16px;
        padding: 20px 20px 18px;
    }

    .cx-ps-divider {
        padding: 10px 20px;
    }

    .cx-ps-deliverables {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-ps-deliverables li {
        padding: 11px 16px;
    }

    .cx-event-photo--main {
        height: 220px;
    }

    .cx-event-photo-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-event-photo-row .cx-event-photo {
        height: 180px;
    }
}