/* Overview board: append to landing.css */
.ov-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 40px
}

.ov-head .h2 {
    margin: 0;
    max-width: 20ch
}

.ov-head .p {
    margin: 0
}

.ov {
    position: relative;
    color: #fff;
    border-radius: 24px;
    padding: 28px 28px 72px;
    margin-bottom: 44px;
    background: linear-gradient(160deg, #152B52 0%, #1B3D6E 60%, #22508C 100%);
    box-shadow: 0 40px 80px -40px rgba(21, 43, 82, .75)
}

.ov::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000, transparent 80%)
}

.ov>* {
    position: relative
}

.ov-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.ov-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 18px
}

.ov-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(245, 181, 68, .16);
    color: #F7C566
}

.ov-pill.pe {
    background: rgba(242, 140, 40, .18);
    color: #F6A257
}

.ov-tag {
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 99px;
    border: 1px dashed rgba(255, 255, 255, .4);
    color: #C9D6E8
}

.ov-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 26px
}

.ov-stats div {
    border-left: 2px solid rgba(255, 255, 255, .2);
    padding-left: 14px
}

.ov-stats small {
    display: block;
    color: #A9BBD6;
    font-size: 13px
}

.ov-stats b {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.01em
}

.ov-main {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 32px;
    margin-top: 30px
}

.ov h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #A9BBD6
}

.ov-site {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px
}

.ov-sh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.ov-sh b {
    font-size: 16px
}

.ov-seg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 14px 0 10px
}

.ov-seg .bar {
    height: 8px;
    min-width: 0;
    background: rgba(255, 255, 255, .15);
    border-radius: 4px
}

.ov-seg .bar i {
    background: linear-gradient(90deg, #6FA3D8, #A8CBF0);
    border-radius: 4px
}

.ov-sf {
    display: flex;
    justify-content: space-between;
    align-items: baseline
}

.ov-sf small {
    color: #A9BBD6;
    font-size: 13px
}

.ov-sf b {
    font-size: 16px
}

.ov .ring {
    width: 150px;
    height: 150px;
    margin: 6px 0 16px;
    background: conic-gradient(#6FA3D8 calc(var(--p)*1%), rgba(255, 255, 255, .15) 0)
}

.ov .ring::before {
    background: #1B3D6E
}

.ov .ring b {
    color: #fff
}

.ov .ring small {
    color: #A9BBD6
}

.ov-leg {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
    font-size: 14px;
    color: #DCE6F3
}

.ov-leg li {
    display: flex;
    align-items: center;
    gap: 9px
}

.ov-leg i {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.ov-leg b {
    margin-left: auto;
    color: #fff
}

.ov-float {
    position: absolute;
    right: 28px;
    bottom: -32px;
    width: 280px;
    background: #fff;
    color: var(--tx);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 8px;
    box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .55)
}

.ov-float small {
    color: var(--mu);
    font-size: 12px
}

.ov-float>b {
    font-size: 17px;
    color: var(--navy)
}

.ov-fm {
    display: flex;
    align-items: center;
    gap: 6px
}

.ov-fm em {
    font-style: normal;
    font-size: 13px;
    color: var(--mu);
    margin-left: 6px
}

.ov-av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pri);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-right: -10px;
    border: 2px solid #fff
}

.ov-fm .ov-av+.ov-av {
    margin-right: 0
}

.ov-ff {
    display: flex;
    justify-content: space-between
}

.ov-ff b {
    color: var(--navy)
}

@media(max-width:900px) {
    .ov-head {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .ov-main {
        grid-template-columns: 1fr
    }

    .ov-stats {
        grid-template-columns: 1fr 1fr
    }

    .ov {
        padding-bottom: 28px;
        margin-bottom: 0
    }

    .ov-float {
        position: static;
        width: auto;
        margin-top: 22px
    }
}

@media(max-width:520px) {
    .ov {
        padding: 20px 18px 22px;
        border-radius: 18px
    }

    .ov-stats b {
        font-size: 24px
    }
}

/* section -> sites */

:root {
    --font-family: 'Inter', sans-serif;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --blue-primary: #2563EB;
    --blue-light-bg: #EFF6FF;
    --blue-text: #1D4ED8;
    --orange-light-bg: #FFF7ED;
    --orange-text: #C2410C;
    --orange-dot: #F97316;
    --card-bg: #FFFFFF;
    --card-border: #E2E8F0;
    --progress-bg: #F1F5F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: #F8FAFC;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Main Section Container with the light background */
.sites-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    padding: 80px 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Illustration (Folder & Photos) */
/* In your actual code, replace this URL with the background image from Image 1 */
.bg-illustration {
    position: absolute;
    top: 28px;
    right: max(40px, calc((100% - 1200px) / 2));
    width: min(40vw, 500px);
    aspect-ratio: 5 / 3;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Top Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.text-content {
    max-width: 600px;
}

.text-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #0A1B2A;
}

.text-content h1 .highlight {
    color: var(--blue-primary);
}

.text-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 580px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* Individual Card */
.site-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Card Image Area */
.card-image-wrap {
    position: relative;
    height: 160px;
    width: 100%;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Icon over image */
.card-icon {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--blue-primary);
}

/* Card Content Area */
.card-content {
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A1B2A;
    margin-bottom: 12px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-in-progress {
    background-color: var(--blue-light-bg);
    color: var(--blue-text);
}

.status-in-progress .dot {
    background-color: var(--blue-primary);
}

.status-pending {
    background-color: var(--orange-light-bg);
    color: var(--orange-text);
}

.status-pending .dot {
    background-color: var(--orange-dot);
}

/* Progress Bar */
.progress-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.progress-track {
    flex-grow: 1;
    height: 8px;
    background-color: var(--progress-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.blue {
    background-color: var(--blue-primary);
}

.progress-fill.gray {
    background-color: #CBD5E1;
    width: 0%;
    /* 0% for pending */
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Card Footer (Dates & Arrow) */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
}

.date-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.date-info svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--blue-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.arrow-btn:hover {
    background-color: #DBEAFE;
}

.arrow-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bg-illustration {
        opacity: 0.3;
    }

    .text-content h1 {
        font-size: 2.8rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sites-section {
        padding: 40px 20px;
    }

    .text-content h1 {
        font-size: 2.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .bg-illustration {
        display: none;
    }
}

/* =========================================================
   WORKFLOW SECTION (Pixel-perfect match)
   ========================================================= */
.cs-workflow-section {
    background-color: #f0f4f8;
    /* Light blue background from image */
    padding: 80px 0;
}

.cs-wf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.cs-wf-head-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cs-wf-head-text p {
    font-size: 1rem;
    color: #475569;
    max-width: 500px;
    line-height: 1.5;
    margin: 0;
}

/* Floating Stats Card */
.cs-wf-stats {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.01);
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 320px;
}

.cs-wf-stats-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.cs-wf-stats-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-wf-stats-info strong {
    color: #0f172a;
    font-weight: 700;
}

/* Circular Chart */
.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80px;
    max-height: 80px;
}

.circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: #3b82f6;
    /* Blue accent */
    stroke-width: 3.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.percentage {
    fill: #0f172a;
    font-family: inherit;
    font-size: 0.5rem;
    font-weight: 800;
    text-anchor: middle;
}

/* Breadcrumb Chain */
.cs-wf-chain {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    gap: 4px;
}

.cs-wf-chain li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #fff;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
    margin-left: -8px;
    /* Overlap arrows */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cs-wf-chain li:first-child {
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
    border-radius: 6px 0 0 6px;
    padding-left: 20px;
    margin-left: 0;
}

.cs-wf-chain li:last-child {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 5% 50%);
    border-radius: 0 6px 6px 0;
    padding-right: 20px;
}

.cs-wf-chain li svg {
    width: 16px;
    height: 16px;
}

.cs-wf-chain li.is-active {
    background: #3b82f6;
    color: #fff;
    z-index: 1;
    /* Keep active arrow on top */
}

/* 3 Column Layout */
.cs-wf-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cs-wf-col {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.cs-wf-col-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cs-wf-col-head svg {
    width: 16px;
    height: 16px;
}

/* List Items inside Columns */
.cs-wf-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-wf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-wf-item:hover {
    border-color: #cbd5e1;
}

.cs-wf-item.is-active {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #3b82f6;
}

/* Badges */
.cs-wf-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.cs-wf-badge--blue {
    background: #dbeafe;
    color: #1e40af;
}

.cs-wf-badge--orange {
    background: #ffedd5;
    color: #c2410c;
}

.cs-wf-badge--green {
    background: #dcfce7;
    color: #15803d;
}

.cs-wf-badge--gray {
    background: #f1f5f9;
    color: #475569;
}

/* Activity specific */
.cs-wf-activity-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-wf-activity-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cs-wf-activity-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.cs-wf-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    flex: 1;
    overflow: hidden;
}

.cs-wf-bar i {
    display: block;
    height: 100%;
    background: #3b82f6;
    border-radius: 4px;
}

.cs-wf-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #475569;
    overflow: hidden;
}

.cs-wf-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cs-wf-header {
        flex-direction: column;
        gap: 20px;
    }

    .cs-wf-stats {
        width: 100%;
        justify-content: space-between;
    }

    .cs-wf-cols {
        grid-template-columns: 1fr;
    }

    .cs-wf-chain {
        flex-wrap: wrap;
    }

    .cs-wf-chain li {
        clip-path: none !important;
        border-radius: 6px !important;
        margin-left: 0 !important;
        flex: 1 1 40%;
        justify-content: center;
    }
}

/* =========================================================
   ACTIVITY MANAGEMENT SECTION (Ultramodern UI)
   ========================================================= */
.cs-act-section {
    background-color: #F8FAFC;
    /* Very subtle cool gray */
}

.cs-act-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

/* --- Left Panel: Data List --- */
.cs-act-list-panel {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.cs-act-list-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1fr;
    padding: 16px 24px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cs-act-list-body {
    display: flex;
    flex-direction: column;
}

.cs-act-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1fr;
    padding: 18px 24px;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid #E2E8F0;
    border-left: 4px solid transparent;
    text-align: left;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0F172A;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-act-row:last-child {
    border-bottom: none;
}

.cs-act-row:hover {
    background: #F1F5F9;
}

.cs-act-row.is-active {
    background: #EFF6FF;
    border-left-color: #3B82F6;
}

.cs-act-name {
    font-weight: 700;
    color: #0F172A;
}

.cs-act-assignee,
.cs-act-dates {
    color: #475569;
    font-weight: 500;
}

.cs-text-blue {
    color: #3B82F6;
    font-weight: 600;
}

/* --- Right Panel: Detail Card --- */
.cs-act-detail-panel {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 100px;
    /* Account for sticky nav */
    transition: all 0.3s ease;
}

.cs-act-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.cs-act-detail-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.cs-act-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.cs-act-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-act-detail-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

.cs-act-detail-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
}

/* Progress Bar */
.cs-act-progress-wrap {
    background: #F8FAFC;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.cs-act-progress-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cs-act-progress-bar {
    height: 8px;
    background: #CBD5E1;
    border-radius: 999px;
    overflow: hidden;
}

.cs-act-progress-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #245B96, #3478F6);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Status Pills */
.cs-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cs-pill--orange {
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid #FFEDD5;
}

.cs-pill--gray {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .cs-act-layout {
        grid-template-columns: 1fr;
    }

    .cs-act-detail-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .cs-act-list-head {
        display: none;
        /* Hide headers on mobile */
    }

    .cs-act-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
        position: relative;
    }

    .cs-act-status {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .cs-act-assignee::before {
        content: "Assignee: ";
        color: #64748B;
        font-weight: 500;
    }

    .cs-act-dates::before {
        content: "Dates: ";
        color: #64748B;
        font-weight: 500;
    }

    .cs-act-priority::before {
        content: "Priority: ";
        color: #64748B;
        font-weight: 500;
    }
}

/* =========================================================
   ULTRAMODERN WORKFORCE SECTION
   ========================================================= */
.cs-workforce-modern {
    background: #F8FAFC;
    overflow: hidden;
}

.cs-wf-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cs-wf-modern-content .h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
}

.cs-wf-modern-desc {
    font-size: 1.05rem;
    color: #64748B;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cs-wf-modern-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-wf-modern-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cs-wf-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
}

.cs-wf-icon svg {
    width: 22px;
    height: 22px;
}

.cs-wf-modern-list strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.cs-wf-modern-list p {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* Right Side UI Mockup */
.cs-wf-modern-ui {
    position: relative;
}

.cs-wf-ui-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border: 1px solid #E2E8F0;
    position: relative;
    z-index: 2;
}

.cs-wf-ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.cs-wf-ui-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.cs-live-dot {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-live-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.cs-wf-ui-stat {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.cs-wf-ui-stat small {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.cs-wf-ui-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-wf-ui-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.cs-wf-ui-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-avatar-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.bg-blue {
    background: #3B82F6;
}

.bg-orange {
    background: #F59E0B;
}

.bg-green {
    background: #10B981;
}

.cs-wf-ui-user strong {
    display: block;
    font-size: 0.95rem;
    color: #0F172A;
}

.cs-wf-ui-user small {
    font-size: 0.75rem;
    color: #64748B;
}

.cs-wf-ui-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.cs-wf-ui-status.is-active {
    background: #D1FAE5;
    color: #065F46;
}

.cs-wf-ui-status.is-leave {
    background: #FEE2E2;
    color: #991B1B;
}

/* Floating Badge */
.cs-wf-float-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #0F172A;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    z-index: 3;
}

.cs-wf-float-badge svg {
    width: 18px;
    height: 18px;
    color: #10B981;
}

/* =========================================================
   ULTRAMODERN BENTO GRID (Capabilities)
   ========================================================= */
.cs-caps-modern {
    background: #fff;
}

.cs-caps-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cs-bento-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cs-bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cs-bento-card:hover {
    background: #fff;
    border-color: #CBD5E1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.08);
}

.cs-bento-card:hover::before {
    opacity: 1;
}

.cs-bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.cs-bento-icon svg {
    width: 20px;
    height: 20px;
}

.cs-bento-card:hover .cs-bento-icon {
    background: #3B82F6;
    color: #fff;
    transform: scale(1.05);
}

.cs-bento-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 10px 0;
}

.cs-bento-card p {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* =========================================================
   ULTRAMODERN CTA SECTION
   ========================================================= */
.cs-cta-modern {
    position: relative;
    background: #0B1120;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.cs-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cs-cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.cs-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
}

.cs-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cs-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cs-cta-content p {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 40px;
}

.cs-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Responsive adjustments for these new sections */
@media (max-width: 1024px) {
    .cs-caps-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-wf-modern-grid {
        grid-template-columns: 1fr;
    }

    .cs-wf-float-badge {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .cs-caps-bento {
        grid-template-columns: 1fr;
    }

    .cs-cta-content h2 {
        font-size: 2.2rem;
    }

    .cs-cta-actions {
        flex-direction: column;
    }

    .cs-cta-actions .cs-btn {
        width: 100%;
    }
}

/* Civisoft: activities, workforce, suite. All selectors are nx- prefixed so nothing clashes with landing.css */
.nx-sec {
    --ink: #0F1E3A;
    --mut: #5B6B82;
    --line: #DDE4EE;
    --navy: #152B52;
    --pri: #22508C;
    --blue: #2F69AE;
    --sky: #6FA3D8;
    --ok: #1F9D63;
    --warn: #D9822B;
    --bad: #D14B4B;
    padding: 96px 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--ink)
}

.nx-sec h2 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--navy);
    max-width: 24ch
}

.nx-sec h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: var(--navy)
}

.nx-sec p {
    margin: 0;
    color: var(--mut)
}

.nx-sec ul,
.nx-sec ol,
.nx-sec dl {
    list-style: none;
    margin: 0;
    padding: 0
}

.nx-sec button {
    font: inherit;
    cursor: pointer
}

.nx-sec .bar {
    height: 7px;
    background: #E6ECF4;
    border-radius: 9px;
    overflow: hidden;
    min-width: 0
}

.nx-sec .bar i {
    display: block;
    height: 100%;
    background: var(--blue);
    border-radius: 9px
}

/* reveal: one gentle entrance, only when JS runs */
.js .nx-rv {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease
}

.js .nx-rv.go {
    opacity: 1;
    transform: none
}

/* ---------- 1. Activities ---------- */
.nx-act {
    background: #fff
}

.nx-act-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    margin-bottom: 36px
}

.nx-act-head p {
    max-width: 58ch
}

.nx-act-kpis {
    display: flex;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #F7F9FC
}

.nx-act-kpis div {
    padding: 14px 22px;
    border-left: 1px solid var(--line)
}

.nx-act-kpis div:first-child {
    border-left: 0
}

.nx-act-kpis dt {
    font-size: 12.5px;
    color: var(--mut)
}

.nx-act-kpis dd {
    margin: 2px 0 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy)
}

.nx-board {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 60px -40px rgba(21, 43, 82, .35);
    overflow: hidden
}

.nx-board-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: #F7F9FC;
    border-bottom: 1px solid var(--line)
}

.nx-crumb b {
    display: block;
    font-size: 15px;
    color: var(--navy)
}

.nx-crumb span {
    font-size: 13px;
    color: var(--mut)
}

.nx-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.nx-filters button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--mut);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s
}

.nx-filters button:hover {
    border-color: var(--blue);
    color: var(--blue)
}

.nx-filters button.is-on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.nx-board-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr
}

.nx-gantt {
    padding: 18px 22px 22px;
    min-width: 0
}

.nx-axis,
.nx-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 14px;
    align-items: center
}

.nx-axis {
    padding-bottom: 8px;
    font-size: 12px;
    color: var(--mut)
}

.nx-axis-t {
    display: grid;
    grid-template-columns: repeat(18, 1fr)
}

.nx-axis-t span {
    border-left: 1px solid var(--line);
    padding-left: 4px;
    min-height: 16px
}

.nx-row {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid #EDF1F6;
    padding: 14px 8px;
    border-radius: 10px;
    transition: background .2s
}

.nx-row:hover {
    background: #F4F8FD
}

.nx-row.is-active {
    background: #EAF2FC;
    box-shadow: inset 3px 0 0 var(--blue)
}

.nx-row-n b {
    display: block;
    font-size: 14px;
    color: var(--navy)
}

.nx-row-n small {
    font-size: 12px;
    color: var(--mut)
}

.nx-track {
    position: relative;
    height: 26px;
    background: repeating-linear-gradient(90deg, #F1F5FA 0 calc(100%/18 - 1px), #E3EAF3 calc(100%/18 - 1px) calc(100%/18));
    border-radius: 7px
}

.nx-bar {
    position: absolute;
    top: 3px;
    bottom: 3px;
    border-radius: 6px;
    background: #CBD7E6;
    overflow: hidden
}

.nx-bar i {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 6px 0 0 6px
}

.nx-bar.s-ip {
    background: #BBD2EE
}

.nx-bar.s-ip i {
    background: var(--blue)
}

.nx-bar.s-pe {
    background: #F6DDBF
}

.nx-bar.s-pe i {
    background: var(--warn)
}

.nx-bar.s-co {
    background: #BFE6D2
}

.nx-bar.s-co i {
    background: var(--ok)
}

.nx-empty {
    padding: 30px 8px;
    color: var(--mut);
    font-size: 14px
}

.nx-detail {
    border-left: 1px solid var(--line);
    padding: 26px;
    background: linear-gradient(180deg, #F7FAFE, #fff);
    transition: opacity .2s
}

.nx-detail.swap {
    opacity: .4
}

.nx-d-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px
}

.nx-d-top h3 {
    font-size: 20px;
    line-height: 1.2
}

.nx-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.nx-pill.s-ip {
    background: #E3EEFB;
    color: #1D5AA8
}

.nx-pill.s-pe {
    background: #FDEBD6;
    color: #B3600F
}

.nx-pill.s-co {
    background: #DDF3E8;
    color: #17794D
}

.nx-d-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 20px
}

.nx-d-meta dt {
    font-size: 12.5px;
    color: var(--mut)
}

.nx-d-meta dd {
    margin: 2px 0 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy)
}

.nx-pr {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.nx-pr::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue)
}

.nx-pr.High::before {
    background: var(--bad)
}

.nx-pr.Low::before {
    background: #9AA8BA
}

.nx-d-team {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--mut)
}

.nx-av {
    display: flex
}

.nx-av i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pri);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 30px;
    font-style: normal;
    text-align: center;
    border: 2px solid #fff;
    margin-left: -8px
}

.nx-av i:first-child {
    margin-left: 0
}

.nx-av i:nth-child(2) {
    background: #C27A22
}

.nx-av i:nth-child(3) {
    background: #1F9D63
}

.nx-d-prog {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--mut)
}

.nx-d-prog b {
    color: var(--navy)
}

.nx-d-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-size: 13.5px
}

/* ---------- 2. Workforce ---------- */
.nx-wf {
    position: relative;
    background: linear-gradient(160deg, #122648, #1B3D6E 70%, #22508C);
    color: #fff;
    overflow: hidden
}

.nx-wf-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000, transparent 85%)
}

.nx-wf-in {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center
}

.nx-wf h2 {
    color: #fff
}

.nx-wf p {
    color: #BFD0E8
}

.nx-wf-lead {
    font-size: 17px;
    max-width: 46ch;
    margin-bottom: 30px !important
}

.nx-steps {
    border-left: 2px solid rgba(255, 255, 255, .18);
    margin-left: 6px !important;
    display: grid;
    gap: 22px
}

.nx-steps li {
    position: relative;
    padding-left: 26px
}

.nx-steps li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6FA3D8;
    box-shadow: 0 0 0 4px rgba(111, 163, 216, .25)
}

.nx-steps b {
    display: block;
    font-size: 17px;
    margin-bottom: 2px
}

.nx-steps span {
    color: #BFD0E8;
    font-size: 15px
}

.nx-note {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14)
}

.nx-note svg {
    width: 24px;
    height: 24px;
    flex: none;
    color: #7FD6A8
}

.nx-note p {
    font-size: 14px;
    color: #DCE6F3
}

.nx-att {
    background: #fff;
    color: var(--ink);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55)
}

.nx-att-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.nx-att-top b {
    font-size: 18px;
    color: var(--navy);
    display: block
}

.nx-att-top small {
    color: var(--mut);
    font-size: 13px
}

.nx-tabs {
    display: flex;
    gap: 4px;
    background: #EEF2F8;
    padding: 4px;
    border-radius: 10px
}

.nx-tabs button {
    border: 0;
    background: none;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mut)
}

.nx-tabs button[aria-selected=true] {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(21, 43, 82, .15)
}

.nx-att-sum {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px
}

.nx-att-sum div {
    border-radius: 12px;
    padding: 12px 14px;
    background: #F4F7FB
}

.nx-att-sum b {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    color: var(--navy)
}

.nx-att-sum small {
    font-size: 12.5px;
    color: var(--mut)
}

.nx-att-sum .p {
    background: #E4F5EC
}

.nx-att-sum .a {
    background: #FBE6E6
}

.nx-att-sum .l {
    background: #FDF0DD
}

.nx-att-head,
.nx-att-row {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr .8fr;
    gap: 12px;
    align-items: center
}

.nx-att-head {
    font-size: 12px;
    color: var(--mut);
    padding: 0 8px 8px
}

.nx-days {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    text-align: center
}

.nx-days i {
    font-style: normal
}

.nx-att-row {
    padding: 10px 8px;
    border-top: 1px solid #EDF1F6
}

.nx-who {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.nx-who i {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--pri);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 34px;
    font-style: normal;
    text-align: center
}

.nx-who b {
    display: block;
    font-size: 14px;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.nx-who small {
    font-size: 12px;
    color: var(--mut)
}

.nx-cells {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px
}

.nx-cells span {
    height: 24px;
    border-radius: 6px;
    background: #EEF2F7;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #98A5B7
}

.nx-cells .p {
    background: #BFE6D2;
    color: #17794D
}

.nx-cells .a {
    background: #F5C6C6;
    color: #A03030
}

.nx-cells .l {
    background: #F8DDB4;
    color: #9A5A0C
}

.nx-today {
    justify-self: start
}

.nx-att-legend {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EDF1F6;
    font-size: 12.5px;
    color: var(--mut)
}

.nx-att-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px
}

.nx-att-legend .p {
    background: #6CC79A
}

.nx-att-legend .a {
    background: #E88A8A
}

.nx-att-legend .l {
    background: #EDB765
}

/* ---------- 3. Suite ---------- */
.nx-suite {
    background: #F3F6FA
}

.nx-su-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 40px
}

.nx-su-head h2 {
    margin: 0;
    max-width: 20ch
}

.nx-su-head p {
    max-width: 50ch;
    justify-self: end
}

.nx-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px
}

.nx-b {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

.nx-b p {
    font-size: 14px
}

.nx-b-budget {
    grid-column: span 6;
    background: var(--navy);
    border-color: var(--navy)
}

.nx-b-budget h3,
.nx-b-budget .nx-budget-num b {
    color: #fff
}

.nx-b-budget p,
.nx-b-budget .nx-budget-num span {
    color: #AFC3E0
}

.nx-b-prog {
    grid-column: span 3
}

.nx-b-team {
    grid-column: span 3
}

.nx-b-docs,
.nx-b-tasks,
.nx-b-inv {
    grid-column: span 4
}

.nx-b-fin,
.nx-b-rep {
    grid-column: span 6
}

.nx-budget-num {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 22px 0 14px
}

.nx-budget-num b {
    font-size: 44px;
    letter-spacing: -.02em;
    line-height: 1
}

.nx-split {
    display: flex;
    gap: 4px;
    height: 14px
}

.nx-split i {
    border-radius: 5px
}

.nx-split i:nth-child(1) {
    background: #6FA3D8
}

.nx-split i:nth-child(2) {
    background: #A8CBF0
}

.nx-split i:nth-child(3) {
    background: #E3EEFB
}

.nx-split-leg {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 13px;
    color: #DCE6F3
}

.nx-split-leg li {
    display: flex;
    align-items: center;
    gap: 7px
}

.nx-split-leg i {
    width: 9px;
    height: 9px;
    border-radius: 3px
}

.nx-split-leg li:nth-child(1) i {
    background: #6FA3D8
}

.nx-split-leg li:nth-child(2) i {
    background: #A8CBF0
}

.nx-split-leg li:nth-child(3) i {
    background: #E3EEFB
}

.nx-split-leg b {
    color: #fff
}

.nx-ring {
    width: 110px;
    height: 110px;
    margin: auto auto 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background: conic-gradient(var(--blue) calc(var(--p)*1%), #E6ECF4 0)
}

.nx-ring::before {
    content: "";
    position: absolute;
    inset: 12px;
    background: #fff;
    border-radius: 50%
}

.nx-ring b {
    position: relative;
    font-size: 24px;
    color: var(--navy)
}

.nx-stack {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 14px
}

.nx-stack i,
.nx-stack em {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
    font-style: normal;
    color: #fff;
    background: var(--pri)
}

.nx-stack i:first-child {
    margin-left: 0
}

.nx-stack i:nth-child(2) {
    background: #C27A22
}

.nx-stack i:nth-child(3) {
    background: #1F9D63
}

.nx-stack i:nth-child(4) {
    background: #7A5BC4
}

.nx-stack i:nth-child(5) {
    background: #D14B7A
}

.nx-stack em {
    background: #EEF2F8;
    color: var(--navy)
}

.nx-files {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding-top: 14px
}

.nx-files .ph {
    height: 62px;
    border-radius: 10px
}

.ph1 {
    background: linear-gradient(135deg, #9DBBE0, #4C79B5)
}

.ph2 {
    background: linear-gradient(135deg, #F2CFA3, #C98A45)
}

.ph3 {
    background: linear-gradient(135deg, #B9D8C7, #4E9A74)
}

.nx-files .f {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--pri);
    background: #EAF2FC;
    border-radius: 8px;
    padding: 5px 0
}

.nx-checks {
    margin-top: auto;
    padding-top: 14px;
    display: grid;
    gap: 9px
}

.nx-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy)
}

.nx-checks li::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #B9C6D8;
    flex: none
}

.nx-checks .done {
    color: var(--mut);
    text-decoration: line-through
}

.nx-checks .done::before {
    background: var(--ok) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
    border-color: var(--ok)
}

.nx-stock {
    margin-top: auto;
    padding-top: 14px;
    display: grid;
    gap: 11px
}

.nx-stock>div {
    display: grid;
    grid-template-columns: 54px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 13px
}

.nx-stock b {
    text-align: right;
    color: var(--navy)
}

.nx-stock .low i {
    background: var(--bad)
}

.nx-stock .low+b {
    color: var(--bad)
}

.nx-appr {
    margin-top: 14px;
    display: grid
}

.nx-appr li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px solid #EDF1F6;
    font-size: 14px
}

.nx-appr li:first-child {
    border-top: 0
}

.nx-appr span {
    color: var(--navy);
    font-weight: 600
}

.nx-appr em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px
}

.nx-appr .ok {
    background: #DDF3E8;
    color: #17794D
}

.nx-appr .wait {
    background: #FDEBD6;
    color: #B3600F
}

.nx-spark {
    width: 100%;
    height: 70px;
    color: var(--blue);
    margin-top: 14px
}

.nx-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px
}

.nx-chips span {
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    background: #EAF2FC;
    color: var(--pri)
}

/* ---------- responsive ---------- */
@media(max-width:1024px) {
    .nx-board-grid {
        grid-template-columns: 1fr
    }

    .nx-detail {
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .nx-wf-in {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .nx-wf-copy {
        order: -1
    }

    .nx-b-budget,
    .nx-b-fin,
    .nx-b-rep {
        grid-column: span 12
    }

    .nx-b-prog,
    .nx-b-team {
        grid-column: span 6
    }

    .nx-b-docs,
    .nx-b-tasks,
    .nx-b-inv {
        grid-column: span 6
    }

    .nx-b-inv {
        grid-column: span 12
    }
}

@media(max-width:768px) {
    .nx-sec {
        padding: 64px 0
    }

    .nx-act-head,
    .nx-su-head {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .nx-su-head p {
        justify-self: start
    }

    .nx-act-kpis div {
        padding: 12px 14px;
        flex: 1
    }

    .nx-axis,
    .nx-row {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .nx-axis>span {
        display: none
    }

    .nx-att-head {
        display: none
    }

    .nx-att-row {
        grid-template-columns: 1fr auto;
        grid-template-areas: "who today" "cells cells"
    }

    .nx-att-row .nx-who {
        grid-area: who
    }

    .nx-att-row .nx-today {
        grid-area: today
    }

    .nx-att-row .nx-cells {
        grid-area: cells
    }

    .nx-b-prog,
    .nx-b-team,
    .nx-b-docs,
    .nx-b-tasks,
    .nx-b-inv {
        grid-column: span 12
    }
}

@media(prefers-reduced-motion:reduce) {
    .js .nx-rv {
        opacity: 1;
        transform: none;
        transition: none
    }

    .nx-detail {
        transition: none
    }
}

/* Civisoft premium layer: load AFTER landing.css and custom.css */
:root {
    --px-ease: cubic-bezier(.2, .8, .2, 1)
}

html.px {
    scroll-behavior: smooth
}

/* scroll progress + cursor glow */
.px-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 99;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, #6FA3D8, #2F69AE, #F5B544)
}

.px-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(47, 105, 174, .16), transparent 65%);
    mix-blend-mode: multiply;
    transition: opacity .4s
}

/* hero: floating light orbs + slow grid drift */
.hero {
    overflow: hidden;
    isolation: isolate
}

.px-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
    opacity: .55
}

.px-orb.a {
    width: 480px;
    height: 480px;
    left: -120px;
    top: 8%;
    background: #9CC3F0;
    animation: pxf 14s ease-in-out infinite
}

.px-orb.b {
    width: 380px;
    height: 380px;
    right: 4%;
    bottom: -80px;
    background: #9CC3F0;
    opacity: .55;
    animation: pxf 18s ease-in-out infinite reverse
}

@keyframes pxf {
    50% {
        translate: 60px -50px;
        scale: 1.15
    }
}

.grid-bg {
    animation: pxg 24s linear infinite
}

@keyframes pxg {
    to {
        background-position: 48px 48px
    }
}

.hero .form {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .82)
}

/* Premium finish for the landing hero and closing CTA */
.hero {
    background:
        radial-gradient(ellipse at 8% 38%, rgba(111, 163, 216, .25), transparent 42%),
        radial-gradient(ellipse at 92% 92%, rgba(47, 105, 174, .12), transparent 34%),
        linear-gradient(135deg, #F4F8FE 0%, #EDF4FC 48%, #FFFFFF 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: clamp(340px, 43vw, 640px);
    aspect-ratio: 1;
    right: -9%;
    top: -20%;
    border: 1px solid rgba(34, 80, 140, .1);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, transparent 0 54%, rgba(34, 80, 140, .06) 54.2% 54.5%, transparent 54.8% 72%, rgba(34, 80, 140, .07) 72.2% 72.5%, transparent 72.8%);
    box-shadow: 0 0 0 20px rgba(34, 80, 140, .018), 0 0 0 58px rgba(34, 80, 140, .014);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 12px;
    height: 12px;
    right: 5.5%;
    top: 22%;
    border: 1px solid rgba(34, 80, 140, .2);
    border-radius: 3px;
    background: rgba(34, 80, 140, .07);
    box-shadow: -52px 45px 0 -1px rgba(34, 80, 140, .05), -52px 45px 0 0 rgba(34, 80, 140, .14), 0 0 0 12px rgba(34, 80, 140, .025);
}

.grid-bg {
    opacity: .32;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 92%)
}

.hero-in {
    gap: clamp(32px, 5vw, 72px)
}

.hero-l {
    position: relative;
    z-index: 1
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #22508C
}

.hero .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2F69AE, #8BB8E8)
}

.hero .form {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(47, 105, 174, .52);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 76px -36px rgba(16, 43, 78, .42), 0 8px 24px -16px rgba(16, 43, 78, .3), inset 0 1px 0 #fff;
    backdrop-filter: blur(18px);
}

.hero .form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #22508C, #2F69AE, #6FA3D8)
}

.hero .form h2 {
    font-size: clamp(22px, 2vw, 27px);
    letter-spacing: -.035em
}

.hero .form-accent { color: #2F69AE; }

.hero .form .sub {
    line-height: 1.65;
    margin-bottom: 20px
}

.hero .form .f {
    margin-bottom: 13px
}

.hero .form input,
.hero .form select,
.hero .form textarea {
    border-color: #D8E1ED;
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.hero .form input:hover,
.hero .form select:hover,
.hero .form textarea:hover {
    border-color: #B9CBE0
}

.hero .form input::placeholder,
.hero .form textarea::placeholder { color: #8795A8; opacity: 1; }

.hero .form .full {
    margin-top: 4px;
    box-shadow: 0 10px 22px -12px rgba(34, 80, 140, .75)
}

.cs-cta-modern {
    background: radial-gradient(ellipse at 50% 115%, rgba(47, 105, 174, .32), transparent 55%), linear-gradient(135deg, #080F1E 0%, #101D34 55%, #0A1425 100%);
    padding: clamp(88px, 10vw, 132px) 24px;
}

.cs-cta-modern::before,
.cs-cta-modern::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(168, 203, 240, .12);
    border-radius: 50%;
}

.cs-cta-modern::before {
    width: 520px;
    height: 520px;
    top: -340px;
    left: -160px;
    box-shadow: 0 0 0 42px rgba(168, 203, 240, .025), 0 0 0 86px rgba(168, 203, 240, .02)
}

.cs-cta-modern::after {
    width: 440px;
    height: 440px;
    right: -190px;
    bottom: -330px;
    box-shadow: 0 0 0 42px rgba(168, 203, 240, .025), 0 0 0 86px rgba(168, 203, 240, .02)
}

.cs-cta-grid {
    opacity: .72;
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, black 8%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 8%, transparent 78%)
}

.cs-cta-glow {
    width: min(900px, 90vw);
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(61, 126, 202, .24) 0%, rgba(34, 80, 140, .09) 42%, transparent 72%);
    filter: blur(46px)
}

.cs-cta-content {
    max-width: 920px;
    padding: clamp(34px, 6vw, 68px) 32px;
    border: 1px solid rgba(190, 213, 241, .14);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    box-shadow: 0 32px 90px -55px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px)
}

.cs-cta-content h2 {
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 0 auto 18px;
    max-width: 19ch
}

.cs-cta-content p {
    max-width: 62ch;
    margin: 0 auto 32px;
    color: #B7C7DC;
    line-height: 1.75
}

.cs-cta-actions {
    gap: 14px
}

.cs-cta-actions .cs-btn {
    min-width: 210px;
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s, background .2s
}

.cs-cta-actions .cs-btn:hover {
    transform: translateY(-3px)
}

.cs-cta-actions .cs-btn--primary {
    box-shadow: 0 14px 30px -14px rgba(47, 105, 174, .9)
}

.cs-cta-actions .cs-btn--outline {
    border-color: rgba(207, 222, 242, .42);
    background: rgba(255, 255, 255, .035)
}

.cs-cta-actions .cs-btn--outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(207, 222, 242, .75);
    color:white
}

@media(max-width:768px) {
    .hero::before { right: -46%; top: -8%; }
    .hero::after { right: 8%; top: 7%; }
    .hero .form {
        border-radius: 18px
    }

    .cs-cta-content {
        padding: 36px 22px;
        border-radius: 22px
    }

    .cs-cta-content p {
        margin-bottom: 26px
    }
}

/* split-word headline reveal */
.px-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .08em;
    margin-bottom: -.08em
}

.px-w>i {
    display: inline-block;
    font-style: normal;
    transform: translateY(115%) rotate(4deg);
    transition: transform 1s var(--px-ease) calc(var(--i)*55ms)
}

.in .px-w>i,
.px-split.in .px-w>i {
    transform: none
}

.grad .px-w>i {
    background: linear-gradient(90deg, var(--pri), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.cs-cta-content .px-w>i,
.nx-wf .px-w>i {
    color: inherit
}

/* reveal (uses individual props so tilt/hover transforms stay free) */
.js .px-rv {
    opacity: 0;
    translate: 0 48px;
    scale: .96;
    transition: opacity .9s var(--px-ease) var(--d, 0ms), translate .9s var(--px-ease) var(--d, 0ms), scale .9s var(--px-ease) var(--d, 0ms)
}

.js .px-rv.in {
    opacity: 1;
    translate: 0 0;
    scale: 1
}

/* scroll-linked 3D board entrance (--sp is 0 to 1, set by JS) */
.px-3d {
    transform: perspective(1500px) rotateX(calc((1 - var(--sp, 1))*14deg)) translateY(calc((1 - var(--sp, 1))*40px)) scale(calc(.92 + var(--sp, 1)*.08));
    transform-origin: 50% 100%;
    will-change: transform
}

/* tilt + spotlight */
.px-tilt {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .25s ease, box-shadow .3s;
    will-change: transform
}

.px-tilt:hover {
    box-shadow: 0 30px 60px -28px rgba(21, 43, 82, .45)
}

.nx-b,
.site-card {
    position: relative
}

.nx-b::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(111, 163, 216, .22), transparent 60%)
}

.nx-b:hover::after {
    opacity: 1
}

.site-card:hover .card-image-wrap img {
    transform: scale(1.1)
}

.card-image-wrap {
    overflow: hidden
}

.card-image-wrap img {
    transition: transform 1.2s var(--px-ease)
}

.progress-fill {
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform 1.4s var(--px-ease) .3s
}

.in .progress-fill,
.progress-fill.in {
    transform: none
}

/* sites section: dark glass workflow section for contrast */
.cs-workflow-section {
    background: radial-gradient(1200px 500px at 80% -10%, #1E4A86 0, transparent 60%), #0B1120;
    color: #fff
}

.cs-workflow-section .h2,
.cs-wf-head-text h2 {
    color: #fff
}

.cs-workflow-section .p,
.cs-wf-head-text p {
    color: #9FB2CE
}

.cs-wf-col {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px)
}

.cs-wf-col-head {
    color: #8FA6C7
}

.cs-wf-item {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #E6EEF9
}

.cs-wf-item:hover {
    transform: translateX(4px);
    border-color: #6FA3D8
}

.cs-wf-item.is-active {
    background: rgba(47, 105, 174, .35);
    border-color: #6FA3D8;
    box-shadow: 0 0 0 1px #6FA3D8, 0 10px 30px -10px #2F69AE
}

.cs-wf-chain li {
    background: rgba(255, 255, 255, .1);
    color: #C9D6E8
}

.cs-wf-chain li.is-active {
    background: #2F69AE;
    color: #fff
}

.cs-wf-chain li.px-lit {
    color: #fff;
    transition: background .5s
}

.cs-wf-stats {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px)
}

.cs-wf-stats h3,
.cs-wf-stats strong,
.cs-wf-stats .percentage {
    color: #fff;
    fill: #fff
}

.cs-wf-stats li {
    color: #B7C7DF
}

.circle-bg {
    stroke: rgba(255, 255, 255, .15)
}

/* timeline: line that draws as you scroll */
.tl {
    --sp: 0
}

.tl::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), #F5B544);
    transform-origin: 0 50%;
    transform: scaleX(var(--sp))
}

@media(max-width:900px) {
    .tl::before {
        display: none
    }
}

/* marquee strip */
.px-marquee {
    overflow: hidden;
    background: var(--navy);
    padding: 22px 0;
    border-block: 1px solid rgba(255, 255, 255, .1)
}

.px-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: pxm 38s linear infinite
}

.px-marquee:hover .px-track {
    animation-play-state: paused
}

.px-track span {
    font: 800 clamp(22px, 3vw, 38px)/1 "Plus Jakarta Sans", sans-serif;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55);
    white-space: nowrap
}

.px-track span:nth-child(3n) {
    color: #fff;
    -webkit-text-stroke: 0
}

@keyframes pxm {
    to {
        transform: translateX(-50%)
    }
}

/* CTA */
.cs-cta-glow {
    animation: pxf 12s ease-in-out infinite
}

.cs-cta-content h2 {
    background: linear-gradient(90deg, #fff, #A8CBF0, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pxs 6s linear infinite
}

@keyframes pxs {
    to {
        background-position: -200% 0
    }
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: transform .2s, box-shadow .3s
}

.cs-btn--primary {
    background: #2F69AE;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(47, 105, 174, .6);
    animation: pxp 2.4s infinite
}

.cs-btn--outline {
    border-color: rgba(255, 255, 255, .4);
    color: #fff
}

.cs-btn--outline:hover {
    background: #fff;
    color: #152B52
}

@keyframes pxp {
    70% {
        box-shadow: 0 0 0 16px rgba(47, 105, 174, 0)
    }
}

.btn {
    will-change: transform
}

@media(hover:none), (max-width:900px) {
    .px-glow {
        display: none
    }

    .px-tilt {
        transform: none !important
    }

    .px-3d {
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .px-orb,
    .px-track,
    .grid-bg,
    .cs-cta-glow,
    .cs-cta-content h2,
    .cs-btn--primary {
        animation: none !important
    }

    .px-w>i {
        transform: none !important
    }

    .js .px-rv {
        opacity: 1;
        translate: none;
        scale: 1
    }

    .px-3d {
        transform: none
    }

    .progress-fill {
        transform: none
    }
}

/* Mid-tone premium closing CTA */
.cs-cta-modern {
    background:
        radial-gradient(ellipse at 50% 110%, rgba(47, 105, 174, .16), transparent 54%),
        linear-gradient(125deg, #DDE5EF 0%, #E8EDF4 48%, #D8E2EE 100%);
}

.cs-cta-modern::before,
.cs-cta-modern::after { display: none; }

.cs-cta-grid {
    opacity: .3;
    background-image:
        linear-gradient(rgba(34, 80, 140, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 80, 140, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, transparent, black 24%, black 76%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, black 24%, black 76%, transparent);
}

.cs-cta-glow {
    width: min(760px, 88vw);
    height: 340px;
    background: radial-gradient(ellipse, rgba(47, 105, 174, .14), transparent 70%);
    filter: blur(54px);
}

.cs-cta-content {
    max-width: 920px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.cs-cta-content::before {
    color: #22508C;
    border-color: #2F69AE;
}

.cs-cta-content h2 {
    background: none;
    color: #152B52;
    -webkit-text-fill-color: #152B52;
    animation: none;
}

.cs-cta-content p { color: #53657D; }

.cs-cta-actions .cs-btn--outline {
    border-color: rgba(34, 80, 140, .48);
    background: rgba(255, 255, 255, .42);
    color: #152B52;
}

.cs-cta-actions .cs-btn--outline:hover {
    border-color: #22508C;
    background: #fff;
    color: #152B52;
}

@media (max-width: 768px) {
    .cs-cta-content { padding: 0 12px; }
}

/* CTA card layout on a light section background */
.cs-cta-modern {
    padding: 0;
    background: linear-gradient(180deg, #F5F7FA 0%, #E9EEF4 100%);
}

.cs-cta-bg { display: none; }

.cs-cta-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 44px;
    margin-bottom: 80px;
    max-width: 1191px;
    padding: clamp(34px, 5vw, 60px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: linear-gradient(120deg, #152B52 0%, #1B3D6E 58%, #22508C 100%);
    box-shadow: 0 28px 60px -34px rgba(21, 43, 82, .62), inset 0 1px 0 rgba(255, 255, 255, .12);
    text-align: left;
}

.cs-cta-copy { max-width: 700px; }

.cs-cta-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #A8CBF0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.cs-cta-content::before { content: none; }

.cs-cta-content h2 {
    max-width: 20ch;
    margin: 0 0 12px;
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    animation: none;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
}

.cs-cta-content p {
    max-width: 62ch;
    margin: 0;
    color: #D1DDED;
    line-height: 1.7;
}

.cs-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 176px;
}

.cs-cta-actions .cs-btn {
    min-width: 176px;
    padding: 10px 18px;
    font-size: 14px;
}

.cs-cta-actions .cs-btn--primary {
    background: #2F69AE;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .65);
}

.cs-cta-actions .cs-btn--outline {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.cs-cta-actions .cs-btn--outline:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .8);
    color: #fff;
}

@media (max-width: 760px) {
    .cs-cta-modern { padding: 48px 0; }
    .cs-cta-content {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 24px;
        border-radius: 20px;
    }
    .cs-cta-content h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .cs-cta-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .cs-cta-actions .cs-btn { flex: 1 1 190px; min-width: 0; }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
