.badge-rpa-metric {
    width: fit-content;
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 116, 235, 0.05);
    border: 1px solid rgba(0, 116, 235, 0.3);
    border-radius: 8px;
    color: var(--primary-bg-color);
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.badge-rpa-metric:hover {
    background: rgba(0, 116, 235, 0.2);
    border-color: #0074EB;
    transform: translateY(-2px);
}

.feature-cell {
    position: relative;
    height: 100%;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 25px !important;
    background: var(--primary-bg-color);
    border: 1px solid var(--theme-sub-primary) !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 10px rgba(12, 12, 26, 0.03);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-cell:hover {
    transform: translateY(-5px);
    border-color: var(--primary-theme-grey) !important;
    box-shadow: 0 18px 35px rgba(12, 12, 26, 0.08);
}



.problem {
    position: relative;
    overflow: hidden;
    padding: 45px 0;
    background: linear-gradient(180deg, var(--primary-blue-bg) 0%, var(--dark-black) 100%);
}


.v-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 10px 0;
}

.v-timeline-track {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: var(--theme-sub-primary);
    z-index: 1;
}

.v-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--theme-color-primary) 0%, var(--primary-color-highlight) 50%, #8b5cf6 100%);
    transition: height 0.15s ease-out;
}

.v-timeline-items {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.v-timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    align-items: center;
    min-height: 135px;
    opacity: 0.45;
    transform: translateY(12px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.v-timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.v-timeline-node {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-bg-color);
    border: 2px solid var(--primary-theme-grey);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    z-index: 3;
}

.node-inner-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #2563eb);
    transition: transform 0.35s ease;
}

.v-timeline-item.active .v-timeline-node {
    border-color: #a855f7;
    transform: scale(1.15);
    box-shadow:
        0 0 0 5px rgba(168, 85, 247, 0.12),
        0 5px 16px rgba(168, 85, 247, 0.25);
}

.v-timeline-content {
    position: relative;
    padding: 20px 22px;
    background: var(--primary-bg-color);
    border: 1px solid var(--theme-sub-primary);
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.035);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.v-timeline-item.active .v-timeline-content {
    border-color: var(--primary-theme-grey);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.left-item .v-timeline-content {
    margin-right: 12px;
    text-align: right;
}

.right-item .v-timeline-content {
    margin-left: 12px;
    text-align: left;
}

.v-step-num {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 11px !important;
    font-weight: var(--font-big-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b5cf6;
}

.switch-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-blue-bg) 0%, var(--dark-black) 100%);
}

.switch-card {
    height: 100%;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.switch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.switch-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.switch-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px !important;
    font-weight: 700;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid rgba(2, 132, 199, 0.12);
}

.switch-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.switch-card:hover .switch-card-icon {
    transform: scale(1.08);
}

.switch-card-icon.icon-blue {
    background: #f0f9ff;
    color: #0284c7;
}

.switch-card-icon.icon-amber {
    background: #fef3c7;
    color: #d97706;
}

.switch-card-icon.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.switch-card-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.scenario-white-card {
    padding: 28px 32px;
    background: #ffffff;
    border-left: 4px solid #10b981;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-white-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.scenario-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #10b981;
    background: #e6fcf5;
}

.scenario-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.comparison-section {
    background: var(--primary-bg-color);
    color: var(--dark-black);
    border-top: 1px solid var(--theme-sub-primary);
}

.table-caption {
    margin-bottom: 16px;
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-semi-bold);
    color: var(--font-color);
}

.comparison-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 2px solid var(--primary-theme-grey);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 35px -10px rgba(0, 33, 66, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.comparison-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.comparison-table-wrap::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 8px;
}

.comparison-table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.comparison-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.comparison-table {
    width: 100%;
    min-width: 850px;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.comparison-table thead th {
    padding: 20px 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #ffffff !important;
    background: var(--theme-secondary) !important;
    border-bottom: 2px solid var(--primary-theme) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    vertical-align: middle !important;
    text-align: left;
}

.comparison-table thead th:last-child {
    border-right: none !important;
}

.comparison-table thead th.col-clf {
    color: #026b4e !important;
    background: linear-gradient(180deg, #e6f7f0 0%, #d1f3e5 100%) !important;
    border-top: 2px solid #6ee7b7 !important;
    border-left: 1.5px solid #a7f3d0 !important;
    border-right: 1.5px solid #a7f3d0 !important;
    border-bottom: 1.5px solid #a7f3d0 !important;
    box-shadow: none !important;
}

.comparison-table tbody th.cap-name {
    padding: 18px 22px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    color: #0f172a !important;
    background: #f8fafc !important;
    border-bottom: 1.5px solid var(--primary-theme-grey) !important;
    border-right: 1.5px solid var(--primary-theme-grey) !important;
    vertical-align: middle !important;
    text-align: left;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.comparison-table tbody td {
    padding: 18px 22px !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #334155 !important;
    background: #ffffff !important;
    border-bottom: 1.5px solid var(--primary-theme-grey) !important;
    border-right: 1.5px solid var(--primary-theme-grey) !important;
    vertical-align: middle !important;
    transition: all 0.2s ease;
}

.comparison-table tbody td:last-child {
    border-right: none !important;
}

.comparison-table tbody tr:last-child th.cap-name,
.comparison-table tbody tr:last-child td {
    border-bottom: none !important;
}

.comparison-table tbody td.val-clf {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #047857 !important;
    background: #f0fdf4 !important;
    border-left: 1.5px solid #a7f3d0 !important;
    border-right: 1.5px solid #a7f3d0 !important;
}

.comparison-table tbody tr:hover th.cap-name {
    background: #e2e8f0 !important;
}

.comparison-table tbody tr:hover td {
    background: #f1f5f9 !important;
}

.comparison-table tbody tr:hover td.val-clf {
    background: #dcfce7 !important;
}

#accordionFlushExample {
    height: 45vh;
    overflow-y: scroll;
}

.accordion {
    width: 100%;
}

.accordion-item {
    background-color: transparent !important;
    border: none !important;
    border-top: 1px solid var(--primary-theme) !important;
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--primary-theme) !important;
}

.accordion-button {
    padding: 20px 35px 20px 0 !important;
    font-size: var(--font-size-default) !important;
    font-weight: var(--font-semi-bold) !important;
    line-height: 1.5;
    color: var(--dark-black) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--dark-black) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button::after {
    width: 18px;
    height: 18px;
    background-size: 18px;
    background-image: url("https://d2q4gipm2ebkzp.cloudfront.net/img/plus.png") !important;
}

.accordion-body {
    padding: 0 35px 20px 0 !important;
    font-size: var(--font-size-sxm) !important;
    line-height: 1.7;
    color: var(--font-color) !important;
}

.accordion-body.primary-theme {
    color: var(--font-color) !important;
}

@media (max-width: 991.98px) {

    .v-timeline-container {
        max-width: 850px;
    }

    .comparison-table {
        min-width: 680px;
    }

    .comparison-table thead th {
        padding: 13px 15px !important;
        font-size: 12px !important;
    }

    .comparison-table tbody th.cap-name,
    .comparison-table tbody td {
        padding: 12px 15px !important;
        font-size: 13.5px !important;
    }

    .comparison-table tbody td.val-clf {
        font-size: 14px !important;
    }
}

@media (max-width: 767.98px) {
    .v-timeline-container {
        margin-top: 35px;
        padding-left: 0;
    }

    .v-timeline-track {
        left: 17px;
        top: 15px;
        bottom: 15px;
        transform: none;
    }

    .v-timeline-items {
        gap: 20px;
    }

    .v-timeline-item {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 15px;
        min-height: auto;
    }

    .v-timeline-spacer {
        display: none;
    }

    .v-timeline-node {
        width: 34px;
        height: 34px;
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }

    .left-item .v-timeline-content,
    .right-item .v-timeline-content {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        text-align: left;
    }

    .v-timeline-content {
        padding: 18px;
    }

    .scenario-white-card {
        padding: 26px 22px;
    }

    .comparison-table-wrap {
        border-radius: 12px;
    }

    .comparison-table {
        min-width: 600px;
    }

    .comparison-table thead th {
        padding: 11px 12px !important;
        font-size: 11.5px !important;
    }

    .comparison-table tbody th.cap-name,
    .comparison-table tbody td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .comparison-table tbody td.val-clf {
        font-size: 13px !important;
    }
}

@media (max-width: 575.98px) {
    .gradient-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .feature-cell {
        min-height: auto;
        padding: 22px 20px !important;
    }

    .switch-card {
        padding: 25px 22px;
    }

    .scenario-white-card {
        padding: 24px 18px;
        border-left-width: 4px;
    }

    .comparison-table-wrap::-webkit-scrollbar {
        height: 4px;
    }

    .comparison-table {
        min-width: 520px;
    }

    .comparison-table thead th {
        padding: 9px 10px !important;
        font-size: 10.5px !important;
        letter-spacing: 0.04em;
    }

    .comparison-table tbody th.cap-name,
    .comparison-table tbody td {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .comparison-table tbody td.val-clf {
        font-size: 12px !important;
    }

    .accordion-button {
        padding: 17px 30px 17px 0;
        font-size: 15px !important;
    }

    .accordion-body {
        padding-right: 10px;
        font-size: 14px !important;
    }
}

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

    .feature-cell,
    .switch-card,
    .scenario-white-card,
    .v-timeline-item,
    .v-timeline-node,
    .v-timeline-content,
    .v-timeline-progress {
        transition: none !important;
    }
}


.video-scroll-section {
    position: relative;
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 0;
}

.video-scroll-wrap {
    text-align: center;
    margin-bottom: 8px;
}

.video-eyebrow {
    font-family: Manrope, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #17a05e;
    margin-bottom: 12px;
}

.video-scroll-section {
    position: relative;
    padding: 60px 0 70px;
    background: #ffffff;
    text-align: center;
}

.video-scroll-wrap {
    margin-bottom: 30px;
    padding: 0 15px;
}

.video-scroll-wrap .sec-head {
    color: #0e1b25;
}

.video-pin {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    padding: 10px 15px 20px;
}

.video-frame {
    position: relative;
    width: 68%;
    max-width: 1040px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #0e1b25;
    box-shadow:
        0 24px 60px -12px rgba(14, 27, 37, 0.28),
        0 0 0 1px rgba(14, 27, 37, 0.06);
    transform: scale(0.96);
    transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1), transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.3s ease;
    will-change: width, transform;
}

.video-frame.in-view {
    width: 80%;
    transform: scale(1);
}

.video-frame video,
.video-frame #ytPlayer,
.video-frame #ytPlayer iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-thumb {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

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

.video-thumb.hidden {
    display: none;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.video-play-btn svg {
    margin-left: 4px;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Large Displays (≥ 1400px) */
@media (min-width: 1400px) {
    .video-frame {
        width: 65%;
        max-width: 1100px;
    }
    .video-frame.in-view {
        width: 78%;
    }
}

/* Standard Laptops & Desktops (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .video-frame {
        width: 72%;
        max-width: 980px;
    }
    .video-frame.in-view {
        width: 84%;
    }
}

/* Small Laptops & Tablets Landscape (992px - 1199px) */
@media (max-width: 1199.98px) {
    .video-scroll-section {
        padding: 45px 0 55px;
    }
    .video-frame {
        width: 78%;
        max-width: 880px;
        border-radius: 18px;
    }
    .video-frame.in-view {
        width: 88%;
    }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991.98px) {
    .video-scroll-section {
        padding: 40px 0 50px;
    }
    .video-frame {
        width: 86%;
        max-width: 720px;
        border-radius: 16px;
    }
    .video-frame.in-view {
        width: 92%;
    }
    .video-play-btn {
        width: 64px;
        height: 64px;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767.98px) {
    .video-scroll-section {
        padding: 30px 0 40px;
    }
    .video-frame {
        width: 92%;
        max-width: 100%;
        border-radius: 14px;
    }
    .video-frame.in-view {
        width: 96%;
    }
    .video-play-btn {
        width: 56px;
        height: 56px;
    }
}

/* Small Mobile Phones (< 576px) */
@media (max-width: 575.98px) {
    .video-scroll-section {
        padding: 24px 0 35px;
    }
    .video-pin {
        padding: 5px 8px 15px;
    }
    .video-frame {
        width: 96%;
        max-width: 100%;
        border-radius: 10px;
    }
    .video-frame.in-view {
        width: 98%;
    }
    .video-play-btn {
        width: 48px;
        height: 48px;
    }
    .video-play-btn svg {
        width: 20px;
        height: 20px;
    }
}