/* ================================================
   Nava Ai - Custom Styles
   ================================================ */

:root {
    --color-bg: #ffffff;
    --color-text: #181818;
    --color-text-muted: #6B6B6B;
    --color-text-light: #8E8E8E;
    --color-border: #E6E6E6;
    --color-card-bg: #F4F5F7;
    --color-tag-bg: #EFF0F2;
    --color-cta: linear-gradient(90deg, #B2FFFF 0%, #E5E7EB 50%, #0CAFFF 100%);
    --color-cta-active: linear-gradient(90deg, #B2FFFF 0%, #E5E7EB 50%, #0CAFFF 100%);
    --color-tab-active: linear-gradient(90deg, #B2FFFF 0%, #E5E7EB 50%, #0CAFFF 100%);
    --color-dark: #181818;
    --shadow-card: 0 6px 24px rgba(20, 20, 30, 0.06);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.container-xxl {
    max-width: 100%;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
}

/* ================================================
   Header — mirrors ads.css header on index.html
   ================================================ */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 0 0;
    z-index: 50;
    background: transparent;
}

.site-navbar { padding: 0; }
.site-navbar > .container-xxl {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-link { display: inline-block; }
.logo-img { height: 24px; width: auto; display: block; }
.site-header .logo-img { filter: brightness(0) invert(1); }

/* Centered menu */
.site-navbar .nav-center-menu {
    gap: 4px;
    flex-direction: row;
}
.site-navbar .nav-link,
.site-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 100px;
    transition: color 0.2s ease;
    background: transparent;
}
.site-navbar .nav-link:hover,
.site-navbar .navbar-nav .nav-link:hover {
    color: #fff !important;
}
.site-navbar .nav-link.active,
.site-navbar .navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* Right-side action pills (same look as ads-navbar so both pages share the design) */
.site-navbar .nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.site-navbar .nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.site-navbar .nav-pill:hover { transform: scale(1.04); }
.site-navbar .nav-pill-dark {
    color: #fff;
    background: linear-gradient(90deg, #1f2937 0%, #000000 100%);
    border-color: #4b5563;
}
.site-navbar .nav-pill-dark:hover {
    color: #d1d5db;
    background: linear-gradient(90deg, #000000 0%, #111827 100%);
    border-color: #1f2937;
}
.site-navbar .nav-pill-dark.active {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.site-navbar .nav-pill-cta {
    color: #fff;
    background: linear-gradient(90deg, #FF8A3D 0%, #F2641F 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(242, 100, 31, 0.32);
}
.site-navbar .nav-pill-cta:hover {
    color: #fff;
    background: linear-gradient(90deg, #F2641F 0%, #D54F0E 100%);
    box-shadow: 0 8px 22px rgba(242, 100, 31, 0.42);
}

/* Glass/gradient pill with circular arrow badge */
.site-navbar .nav-pill-glass {
    color: #0d0d10;
    background: linear-gradient(90deg, #F3FAFF 0%, #DDEEFF 45%, #8FC8FF 100%);
    border: 1.5px solid #0d0d10;
    padding: 5px 5px 5px 22px;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(143, 200, 255, 0.25);
}
.site-navbar .nav-pill-glass:hover {
    color: #0d0d10;
    background: linear-gradient(90deg, #E6F4FF 0%, #BFDFFF 45%, #6CB4F5 100%);
    box-shadow: 0 10px 24px rgba(108, 180, 245, 0.4);
}
.site-navbar .nav-pill-label { line-height: 1; }
.site-navbar .nav-pill-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    color: #0d0d10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.site-navbar .nav-pill-arrow svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Toggler */
.site-navbar .navbar-toggler {
    border: none;
    padding: 4px 8px;
    box-shadow: none;
    color: #fff;
    line-height: 1;
}
.site-navbar .navbar-toggler:focus { box-shadow: none; }
.site-navbar .navbar-toggler-icon {
    width: 28px;
    height: 28px;
    background-size: 28px 28px;
    background-image: url("data:image/svg+xml;charset=utf8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .site-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex-basis: auto;
    }
    .site-navbar .nav-center-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .site-navbar .nav-actions { margin-left: auto; }
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        right: 40px;
        min-width: 220px;
        background: rgba(20, 20, 30, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        z-index: 5;
    }
    .site-navbar .nav-center-menu {
        flex-direction: column;
        align-items: stretch;
        margin: 0 0 10px;
    }
    .site-navbar .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .site-navbar .nav-pill { justify-content: center; }
}

/* ================================================
   Hero Section
   ================================================ */
.hero-section { padding: 0px 0 0px; }
.hero-section > .container-xxl { padding-left: 0; padding-right: 0; max-width: 100%; }

.hero-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-card > .hero-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.hero-content {
    padding: 0 56px 56px;
    width: 100%;
    max-width: 100%;
}

.powered-tag {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 100px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-title-wrap {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
        align-items: center;
    flex-wrap: wrap;
}

.hero-title {
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 600;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-divider {
    width: 1px;
    height: 75px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: clamp(14px, 3vw, 24px);
    line-height: 1.35;
    margin: 0 0 8px;
    color: rgba(255,255,255,0.92);
    font-weight: 400;
}

.hero-description {
    font-size: clamp(14px, 2vw, 22px);
    color: rgba(255,255,255,0.88);
    margin: 0 0 28px;
    max-width: 100%;
    line-height: 1.5;
}

/* ================================================
   Hero intro animations
   ================================================ */
@keyframes hero-fade-up {
    0% { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes hero-slide-in-left {
    0% { opacity: 0; transform: translateX(-40px); filter: blur(6px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes hero-slide-in-right {
    0% { opacity: 0; transform: translateX(40px); filter: blur(6px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes hero-divider-grow {
    0% { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

@keyframes hero-pop-in {
    0% { opacity: 0; transform: translateY(20px) scale(0.92); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-content .powered-tag {
    animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-content .hero-title {
    animation: hero-slide-in-left 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.hero-content .hero-divider {
    transform-origin: top center;
    animation: hero-divider-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
}

.hero-content .hero-subtitle {
    animation: hero-slide-in-right 1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

.hero-content .hero-description {
    animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
}

.hero-content .btn-cta {
    animation: hero-pop-in 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s both;
}

.site-header .logo-link {
    animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* ================================================
   Section + CTA scroll-reveal
   ================================================ */
@keyframes section-fade-up {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes section-pop-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(8px);
    }
    60% { opacity: 1; }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.section-header > .section-tag,
.section-header > .section-title,
.section-header > .section-subtitle,
.section-header > [data-tab-content].section-subtitle {
    opacity: 0;
}

.section-header.is-revealed > .section-tag {
    animation: section-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.section-header.is-revealed > .section-title {
    animation: section-fade-up 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.section-header.is-revealed > .section-subtitle,
.section-header.is-revealed > [data-tab-content].section-subtitle:not(.d-none) {
    animation: section-fade-up 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* Tab row + subtitle row reveal */
.tab-row,
.tab-subtitle-row {
    opacity: 0;
}

.tab-row.is-revealed {
    animation: section-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.tab-subtitle-row.is-revealed {
    animation: section-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* CTA card reveal */
.cta-card > .cta-title,
.cta-card > .cta-desc,
.cta-card > .btn-cta-dark,
.cta-card > .cta-features {
    opacity: 0;
}

.cta-card.is-revealed > .cta-title {
    animation: section-fade-up 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.cta-card.is-revealed > .cta-desc {
    animation: section-fade-up 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.cta-card.is-revealed > .btn-cta-dark {
    animation: section-pop-in 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both;
}

.cta-card.is-revealed > .cta-features {
    animation: section-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

/* CTA Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 22px;
    border-radius: 100px;
    background: var(--color-cta);
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
}

.btn-cta:hover {
    background: var(--color-cta-active);
    color: var(--color-text);
    transform: translateY(-1px);
}

.btn-cta .btn-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 13px;
}

/* ================================================
   Common Section Styles
   ================================================ */
section { padding: 80px 0; }
.usecases-section, .performance-section { padding: 10px 0; }

.section-header { margin-bottom: 30px; }
.section-header.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--color-tag-bg);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 6vw, 54px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0;
}

/* ================================================
   Tabs
   ================================================ */
.tab-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.tab-row.center { justify-content: center; margin-bottom: 32px; }

.model-tabs {
    display: inline-flex;
    background: var(--color-tag-bg);
    border-radius: 100px;
    padding: 4px;
    gap: 2px;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--color-tab-active);
    color: var(--color-text);
}

.tab-subtitle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    gap: 24px;
    flex-wrap: wrap;
}

.tab-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 16px;
}

/* ================================================
   Carousel Controls
   ================================================ */
.carousel-controls {
    display: inline-flex;
    gap: 8px;
}
.carousel-controls.center {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.carousel-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.carousel-arrow:hover { background: #f4f5f7; }

.carousel-arrow.filled {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}
.carousel-arrow.filled:hover { background: #000; }

.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ================================================
   Capabilities Carousel
   ================================================ */
.capabilities-carousel {
    overflow-x: hidden;
    overflow-y: visible;
    margin: 0 -8px;
    padding: 14px 8px 24px;
}

.cap-track {
    display: flex;
    gap: 18px;
    transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.cap-card {
    flex: 0 0 calc((100% - 18px * 3) / 3.5);
    min-width: 0;
    border: 1px solid #D9D9D9;
    border-radius: var(--radius-md);
    padding: 0px 0px;
    background: #fff;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cap-card:hover {
    transform: translateY(-6px);
    border-color: #1a8fe3;
    box-shadow: 0 18px 38px rgba(20, 30, 60, 0.12);
}

.cap-card:hover .cap-thumb-video,
.cap-card:hover .cap-thumb { }

.cap-card .cap-title {
    transition: color 0.35s ease;
}

.cap-card:hover .cap-title {
    color: #1a8fe3;
}

.cap-card .cap-chip {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease;
}

.cap-card:hover .cap-chip {
    transform: translateY(-2px);
    background: rgba(26, 143, 227, 0.85);
}

.cap-card .play-btn {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease,
                opacity 0.35s ease;
    opacity: 0.92;
}

.cap-card:hover .play-btn {
    transform: scale(1.08);
    background: #fff;
    opacity: 1;
}

@media (max-width: 1199.98px) {
    .cap-card { flex: 0 0 calc((100% - 18px * 2) / 2.5); }
}

.cap-thumb {
    position: relative;
    aspect-ratio: 16 / 11;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #ddd2d2;
    /* background-color: #2a2a30; */
    border-radius: 16px;
    transition: background-size 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-card:hover .cap-thumb {
    background-size: 110%;
}

.cap-thumb-video {
    position: absolute;
    inset: 0px;
    left: -1px;
    width: 101%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-card:hover .cap-thumb-video {
    transform: scale(1.05);
}

.cap-thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    background: #fff;
    padding: 6px;
}

.grid-tile {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    background-color: #e7e9ed;
}

.grid-tile.waveform-tile {
    background: #E5F2FB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.grid-tile.waveform-tile svg { width: 100%; height: 100%; }

.cap-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    z-index: 2;
}

.cap-thumb-grid .cap-chip {
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease;
    z-index: 2;
}

.play-btn:hover { transform: scale(1.06); }

.cap-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px 14px;
    color: var(--color-text);
    line-height: 1.3;
}

.cap-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0 0 14px 14px;
}

/* ================================================
   Use Cases - 3D Card Stack
   ================================================ */
.usecases-section { background: #fff; }

.usecase-clip {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 4px 0;
}

.usecase-tabs-row {
    position: relative;
    height: 22px;
    margin: 12px auto 14px;
}

.uc-tab {
    position: absolute;
    top: 0;
    left: 50%;
    text-align: center;
    font-size: 16px;
    color: var(--color-text-light);
    transition:
        color 0.6s cubic-bezier(0.65, 0, 0.35, 1),
        font-weight 0.6s cubic-bezier(0.65, 0, 0.35, 1),
        left 0.85s cubic-bezier(0.65, 0, 0.35, 1);
    line-height: 1.2;
    pointer-events: none;
    white-space: nowrap;
    transform: translateX(-50%);
}

.uc-tab[data-pos="-2"] { left: calc(50% - min(684px, 58.9vw)); }
.uc-tab[data-pos="-1"] { left: calc(50% - min(432px, 37.2vw)); }
.uc-tab[data-pos="0"]  { left: 50%; }
.uc-tab[data-pos="1"]  { left: calc(50% + min(432px, 37.2vw)); }
.uc-tab[data-pos="2"]  { left: calc(50% + min(684px, 58.9vw)); }

.uc-tab.uc-tab-active {
    color: var(--color-text);
    font-weight: 600;
}

.usecase-stage {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    perspective: 1600px;
}

.uc-card {
    position: absolute;
    width: 720px;
    max-width: 62vw;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition:
        transform 0.85s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1),
        filter 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    backface-visibility: hidden;
    background: #fff;
    will-change: transform, opacity, filter;
    filter: blur(0);
}

.uc-card[data-pos="-1"],
.uc-card[data-pos="1"] {
    filter: blur(1.2px) saturate(0.9);
    transition-delay: 0.04s;
}

.uc-card[data-pos="-2"],
.uc-card[data-pos="2"] {
    filter: blur(3px) saturate(0.8);
    transition-delay: 0.08s;
}

.uc-card[data-pos="0"] {
    filter: blur(0) saturate(1);
    transition-delay: 0s;
}

.uc-card .uc-img {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.uc-card .uc-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.uc-card[data-pos="-2"] {
    transform: translateX(-95%) rotateY(55deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}
.uc-card[data-pos="-1"] {
    transform: translateX(-50%) rotateY(55deg) scale(0.7);
    opacity: 0.75;
    z-index: 2;
}
.uc-card[data-pos="0"] {
    transform: translateX(0) rotateY(0) scale(1);
    opacity: 1;
    z-index: 10;
}
.uc-card[data-pos="1"] {
    transform: translateX(50%) rotateY(-55deg) scale(0.7);
    opacity: 0.75;
    z-index: 2;
}
.uc-card[data-pos="2"] {
    transform: translateX(95%) rotateY(-55deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

.uc-nav-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(20, 20, 30, 0.12);
    transform: translate(calc(-50% + var(--uc-arrow-x, 0px)), -50%);
    transition:
        background 0.4s cubic-bezier(0.65, 0, 0.35, 1),
        border-color 0.4s cubic-bezier(0.65, 0, 0.35, 1),
        transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.uc-nav-arrow i {
    display: inline-block;
    line-height: 1;
}

.uc-nav-prev { --uc-arrow-x: max(-450px, -39vw); }
.uc-nav-next { --uc-arrow-x: min(450px, 39vw); }

.uc-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translate(calc(-50% + var(--uc-arrow-x, 0px)), -50%) scale(1.06);
}

.usecase-caption { margin-top: 10px; }

@keyframes uc-flip-next {
    0% {
        transform: perspective(1600px) rotateY(45deg);
        transform-origin: right center;
        opacity: 1;
    }
    100% {
        transform: perspective(1600px) rotateY(0deg);
        transform-origin: right center;
        opacity: 1;
    }
}

@keyframes uc-flip-prev {
    0% {
        transform: perspective(1600px) rotateY(-45deg);
        transform-origin: left center;
        opacity: 1;
    }
    100% {
        transform: perspective(1600px) rotateY(0deg);
        transform-origin: left center;
        opacity: 1;
    }
}

@keyframes uc-text-flip-next {
    0% { opacity: 0; transform: translateX(14px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes uc-text-flip-prev {
    0% { opacity: 0; transform: translateX(-14px); }
    100% { opacity: 1; transform: translateX(0); }
}

.uc-card .uc-img { backface-visibility: hidden; }

.uc-card .uc-img.is-swapping-next {
    animation: uc-flip-next 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.uc-card .uc-img.is-swapping-prev {
    animation: uc-flip-prev 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.uc-card[data-pos="-1"] .uc-img.is-swapping-next,
.uc-card[data-pos="-1"] .uc-img.is-swapping-prev,
.uc-card[data-pos="1"] .uc-img.is-swapping-next,
.uc-card[data-pos="1"] .uc-img.is-swapping-prev {
    animation-delay: 0.08s;
}

.uc-card[data-pos="-2"] .uc-img.is-swapping-next,
.uc-card[data-pos="-2"] .uc-img.is-swapping-prev,
.uc-card[data-pos="2"] .uc-img.is-swapping-next,
.uc-card[data-pos="2"] .uc-img.is-swapping-prev {
    animation-delay: 0.16s;
}

.uc-headline.is-swapping-next,
.uc-desc.is-swapping-next {
    animation: uc-text-flip-next 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.uc-headline.is-swapping-prev,
.uc-desc.is-swapping-prev {
    animation: uc-text-flip-prev 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.uc-desc.is-swapping-next,
.uc-desc.is-swapping-prev { animation-delay: 0.1s; }

.uc-headline {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--color-text);
    letter-spacing: -0.01em;
}
.uc-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ================================================
   Performance Section
   ================================================ */
.performance-section { background: #fff;  padding: 50px 0px !important;}

.perf-row { margin-top: 8px; }

.perf-card {
    background: var(--color-card-bg);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 10px 10px 10px;
    height: 100%;
    text-align: center;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease;
    cursor: default;
}

.perf-card:hover {
    transform: translateY(-6px);
    border-color: #1a8fe3;
    background: #fff;
    box-shadow: 0 16px 36px rgba(20, 30, 60, 0.10);
}

.perf-card .chart-wrap img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.perf-card:hover .chart-wrap img {
    transform: scale(1.04);
}

.perf-card .perf-caption {
    transition: color 0.35s ease;
}

.perf-card:hover .perf-caption {
    color: #1a8fe3;
}

/* Scroll-triggered reveal */
@keyframes perf-card-rise {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.perf-row[data-tab-content]:not(.d-none) > [class*="col-"] {
    opacity: 0;
}

.perf-row.is-revealed > [class*="col-"],
.perf-row[data-tab-content]:not(.d-none).is-revealed > [class*="col-"] {
    animation: perf-card-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.perf-row.is-revealed > [class*="col-"]:nth-child(1) { animation-delay: 0.05s; }
.perf-row.is-revealed > [class*="col-"]:nth-child(2) { animation-delay: 0.18s; }
.perf-row.is-revealed > [class*="col-"]:nth-child(3) { animation-delay: 0.31s; }

.perf-card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--color-text);
}

.chart-wrap {
    /* margin: 12px auto 14px; */
    max-width: 100%;
}

.chart-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.perf-caption {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ================================================
   CTA Section
   ================================================ */
.cta-section { padding: 30px 0 80px; }

.cta-card {
    border-radius: var(--radius-lg);
    padding: 80px 24px;
    text-align: center;
    background: #BACDFF url('../images/bg.svg') center / cover no-repeat;
    color: var(--color-text);
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-title {
    font-size: clamp(28px, 6vw, 54px);
    font-weight: 500;
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: clamp(13px, 2vw, 18px);
    color: rgba(20, 20, 20, 0.75);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.55;
}

.btn-cta-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    background: #181818;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.btn-cta-dark .btn-chevron {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.btn-cta-dark:hover .btn-chevron {
    transform: translateX(3px);
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 32px;
    font-size: 14px;
    color: var(--color-text);
}

.cta-features li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cta-features i {
    color: #2A8E48;
    font-weight: 700;
}

/* ================================================
   Footer
   ================================================ */
.site-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #010101;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 24px 40px;
}
@media (min-width: 640px) {
    .footer-top { padding-left: 40px; padding-right: 40px; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
        gap: 24px;
    }
}

.footer-brief {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-heading {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #fff;
    border: none;
    border-radius: 9999px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    opacity: 0;
    transform: translateY(20px);
}
.footer-cta span {
    font-size: 18px;
    color: #000;
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.footer-cta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}
.footer-cta:hover {
    background: #f0f0f0;
    transform: translateY(0) scale(1.04);
}
.footer-cta:active {
    transform: translateY(0) scale(0.97);
}

.footer-address {
    font-size: clamp(13px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .footer-links { padding-top: 4px; }
}
.footer-links a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(15px, 1.4vw, 20px);
    letter-spacing: -0.02em;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.2s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-links a:hover {
    color: #fff;
    transform: translateY(0) translateX(4px);
}

.footer-grid > .footer-links:nth-of-type(1) a:nth-child(1) { transition-delay: 0s; }
.footer-grid > .footer-links:nth-of-type(1) a:nth-child(2) { transition-delay: 0.05s; }
.footer-grid > .footer-links:nth-of-type(1) a:nth-child(3) { transition-delay: 0.10s; }
.footer-grid > .footer-links:nth-of-type(1) a:nth-child(4) { transition-delay: 0.15s; }
.footer-grid > .footer-links:nth-of-type(2) a:nth-child(1) { transition-delay: 0.10s; }
.footer-grid > .footer-links:nth-of-type(2) a:nth-child(2) { transition-delay: 0.15s; }
.footer-grid > .footer-links:nth-of-type(2) a:nth-child(3) { transition-delay: 0.20s; }
.footer-grid > .footer-links:nth-of-type(2) a:nth-child(4) { transition-delay: 0.25s; }

.site-footer.in-view .footer-heading,
.site-footer.in-view .footer-cta,
.site-footer.in-view .footer-address,
.site-footer.in-view .footer-links a {
    opacity: 1;
    transform: translateY(0);
}

.footer-wordmark {
    position: relative;
    width: 100%;
    padding-top: 4%;
    background: transparent;
    overflow: hidden;
}
.footer-wordmark-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 60% at 62% 100%, rgba(120, 30, 130, 0.95) 0%, transparent 100%),
        radial-gradient(ellipse 90% 80% at 58% 110%, rgba(80, 10, 90, 0.7) 0%, transparent 70%),
        radial-gradient(ellipse 120% 90% at 50% 120%, rgba(50, 5, 60, 0.45) 0%, transparent 65%);
}
.footer-wordmark-svg {
    position: relative;
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateY(40px) scale(1.06, 1.15);
    transform-origin: center top;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.site-footer.in-view .footer-wordmark-svg {
    opacity: 1;
    transform: translateY(0) scale(1.06, 1.15);
}

/* ================================================
   Responsive — Tablet
   ================================================ */
@media (max-width: 1199.98px) {
    .container-xxl { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 991.98px) {
    .hero-content { padding: 0 36px 40px; }

    section { padding: 60px 0; }
    .cta-card { padding: 60px 24px 50px; }

    .cap-card { flex: 0 0 calc((100% - 18px) / 2); }

    .uc-card { width: 600px; max-width: 70vw; aspect-ratio: 13 / 9; }
    .uc-card[data-pos="-1"] { transform: translateX(-55%) rotateY(40deg) scale(0.7); }
    .uc-card[data-pos="1"] { transform: translateX(55%) rotateY(-40deg) scale(0.7); }
    .uc-card[data-pos="-2"] { transform: translateX(-115%) rotateY(40deg) scale(0.7); opacity: 0.4; }
    .uc-card[data-pos="2"] { transform: translateX(115%) rotateY(-40deg) scale(0.7); opacity: 0.4; }

    .uc-nav-prev { --uc-arrow-x: max(-410px, -48vw); }
    .uc-nav-next { --uc-arrow-x: min(410px, 48vw); }

    .usecase-stage { height: 380px; }
}

/* ================================================
   Responsive — Mobile
   ================================================ */
@media (max-width: 767.98px) {
    .usecases-section{
        padding: 0px 0px 30px !important;
    }
    .capabilities-section{
    padding: 0px 0px 30px !important;
    }
    .performance-section{
         padding: 0px 0px 30px !important;
    }
    .container-xxl { padding-left: 16px; padding-right: 16px; }

    .capabilities-carousel {
        position: relative;
        padding-bottom: 64px;
    }
    .capabilities-carousel > .carousel-controls-mobile {
        position: absolute;
        right: 8px;
        bottom: 8px;
        z-index: 5;
    }

    .perf-caption {
        font-size: 16px;
    }
    .site-header { padding: 10px 0 0; }
    .site-navbar > .container-xxl { padding-left: 14px; padding-right: 14px; }
    .logo-img { height: 20px; width: auto; display: block; }
    .hero-section { padding: 0px 0 50px; }
    .hero-card {
        min-height: 100vh;
        border-radius: 0;
    }
    .hero-content { padding: 0 24px 28px; }

    .hero-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hero-title { font-size: 44px; }
    .hero-divider { display: none; }
    .hero-subtitle { font-size: 14px; }
    .hero-description { font-size: 14px; }

    section { padding: 50px 0; }

    .section-title { font-size: 30px; }

    .tab-subtitle-row {
            margin-bottom: 10px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .cap-card { flex: 0 0 86%; }

    .uc-card { width: 78%; max-width: 78%; }
    .uc-card[data-pos="-1"] { transform: translateX(-46%) rotateY(16deg) scale(0.78); opacity: 0.7; }
    .uc-card[data-pos="1"] { transform: translateX(46%) rotateY(-16deg) scale(0.78); opacity: 0.7; }
    .uc-card[data-pos="-2"], .uc-card[data-pos="2"] { display: none; }
    .usecase-stage { height: 320px; }

    .uc-nav-arrow { width: 38px; height: 38px; font-size: 14px; }
    .uc-nav-prev { --uc-arrow-x: calc(-39vw + 18px); }
    .uc-nav-next { --uc-arrow-x: calc(39vw - 18px); }

    .uc-tab { font-size: 12px; }

    .perf-card { padding: 22px 16px 18px; }

    .cta-card { padding: 48px 20px 40px; border-radius: 22px; }
    .cta-features { gap: 12px 18px; font-size: 12px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 38px; }
    .section-title { font-size: 26px; }
    .hero-content { padding: 0 18px 24px; }
    .uc-card[data-pos="-1"], .uc-card[data-pos="1"] { display: none; }
    .uc-card[data-pos="0"] { width: 100%; max-width: 100%; }
    .usecase-stage { height: auto; aspect-ratio: 4/3; }
}

/* ================================================
   Fullscreen Video Modal
   ================================================ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.video-modal.active { display: flex; }

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.video-modal-player {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.video-modal-close:hover {
    background: #000;
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .video-modal { padding: 16px; }
    .video-modal-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ================================================
   Fullscreen Image Viewer
   ================================================ */
.cap-thumb-clickable { cursor: zoom-in; }

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.image-modal.active { display: flex; }

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
}

.image-modal-img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    z-index: 1;
}

.image-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.image-modal-close:hover {
    background: #000;
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .image-modal { padding: 12px; }
    .image-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ================================================
   Page Loader
   ================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.page-loader-logo {
    height: 38px;
    width: auto;
    animation: logo-loader-pulse 1.4s ease-in-out infinite;
}

@keyframes logo-loader-pulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ================================================
   Skeleton Shimmer
   ================================================ */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.cap-thumb:not([style]),
.uc-card .uc-img {
    background-color: #1c1d20;
}

.uc-card .uc-img.is-loading {
    background-image: linear-gradient(110deg, #1c1d20 8%, #26282d 18%, #1c1d20 33%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.6s linear infinite;
}

.hero-card.is-loading {
    background-image: linear-gradient(110deg, #1c1d20 8%, #26282d 18%, #1c1d20 33%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s linear infinite;
}

.chart-wrap.is-loading {
    background-image: linear-gradient(110deg, #ececec 8%, #f7f7f9 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s linear infinite;
    border-radius: 8px;
    min-height: 220px;
}

/* ================================================
   Tab content reveal animations
   ================================================ */
@keyframes tab-content-reveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes tab-card-reveal {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tab-subtitle[data-tab-content]:not(.d-none),
.section-subtitle[data-tab-content]:not(.d-none) {
    animation: tab-content-reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cap-track[data-tab-content]:not(.d-none) .cap-card {
    animation: tab-card-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(1) { animation-delay: 0.03s; }
.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(2) { animation-delay: 0.08s; }
.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(3) { animation-delay: 0.13s; }
.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(4) { animation-delay: 0.18s; }
.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(5) { animation-delay: 0.23s; }
.cap-track[data-tab-content]:not(.d-none) .cap-card:nth-child(6) { animation-delay: 0.28s; }

/* ================================================
   Carousel arrow hover polish
   ================================================ */
.carousel-arrow.filled {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.carousel-arrow.filled:hover:not(:disabled) {
    background: #000;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 18px rgba(20, 20, 30, 0.18);
}

.carousel-arrow.filled:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}
