/**
 * COMPONENT STYLES
 * ContentGo - Indigo Clarity
 */

/* ==========================================================================
   REFERENCE LOGO GRID WITH TOOLTIPS
   ========================================================================== */

.cg-reference-logo-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.cg-reference-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.cg-reference-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gray-900);
    margin: 0;
}

/* Horizontal Grid Layout */
.cg-reference-grid-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xl);
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Reference Item */
.cg-reference-item {
    position: relative;
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.cg-reference-item.has-tooltip {
    cursor: pointer;
}

/* Logo Wrapper */
.cg-reference-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--color-gray-50);
    transition: all var(--transition-base);
}

.cg-reference-item.has-tooltip:hover .cg-reference-logo-wrapper {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cg-reference-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.cg-reference-item:hover .cg-reference-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Tooltip */
.cg-reference-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cg-reference-item:hover .cg-reference-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    bottom: calc(100% + 16px);
}

.cg-reference-tooltip-inner {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-lg);
    min-width: 320px;
    max-width: 400px;
}

/* Tooltip Arrow */
.cg-reference-tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-white);
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

/* Tooltip Content */
.cg-reference-tooltip-content {
    position: relative;
    z-index: 1;
}

.cg-reference-testimonial {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-gray-700);
    margin: 0 0 var(--space-md) 0;
    font-style: italic;
}

.cg-reference-author {
    font-size: var(--text-xs);
    color: var(--color-gray-600);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.cg-reference-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

.cg-reference-link:hover {
    color: var(--color-primary-blue-variant);
    gap: calc(var(--space-xs) + 2px);
}

.cg-reference-link svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-base);
}

.cg-reference-link:hover svg {
    transform: translateX(2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cg-reference-grid-horizontal {
        gap: var(--space-lg);
    }

    .cg-reference-item {
        width: 120px;
        height: 60px;
    }

    .cg-reference-tooltip-inner {
        min-width: 280px;
        max-width: 90vw;
    }

    /* On mobile, use click instead of hover */
    .cg-reference-tooltip {
        position: fixed;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: auto;
        top: 50%;
        margin-top: -100px;
    }

    /* Mobile active state */
    .cg-reference-item.mobile-active .cg-reference-tooltip {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Disable hover on mobile */
    .cg-reference-item:hover .cg-reference-tooltip {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .cg-reference-grid-horizontal {
        gap: var(--space-md);
    }

    .cg-reference-item {
        width: 100px;
        height: 50px;
    }
}

/* ==========================================================================
   FEATURED CASE STUDY SECTION
   ========================================================================== */

.cg-case-study-featured {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

/* Top Logo Grid */
.cg-featured-logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    position: relative;
}

.cg-featured-logo-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--color-primary-blue);
}

.cg-featured-logo-item {
    flex: 0 0 auto;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.cg-featured-logo-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cg-featured-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(0.3);
    opacity: 1;
    transition: all 0.4s ease;
}

.cg-featured-logo-item:hover img {
    filter: brightness(0) invert(0.15);
}

.cg-featured-logo-item.active img {
    filter: brightness(0) invert(0.15);
}

/* Featured Layout: Two Column */
.cg-featured-case-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Left Panel: Metrics */
.cg-featured-metrics-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-lg);
}

.cg-featured-metric {
    border-left: 4px solid var(--color-primary-blue);
    padding-left: var(--space-lg);
}

.cg-featured-metric-number {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.cg-featured-metric-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Products Section */
.cg-featured-products {
    margin-top: var(--space-lg);
}

.cg-featured-products-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-900);
    margin: 0 0 var(--space-md) 0;
}

.cg-featured-products-badges {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cg-featured-product-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--color-primary-blue);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
}

.cg-featured-product-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Right Panel: Visual */
.cg-featured-visual-panel {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.cg-featured-brand-logo {
    width: 200px;
    height: auto;
    margin-bottom: var(--space-xl);
}

.cg-featured-brand-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cg-featured-thumbnail {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 70%;
    opacity: 0.3;
    pointer-events: none;
}

.cg-featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
}

.cg-featured-overlay-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.cg-featured-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .cg-featured-case-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .cg-featured-metrics-panel {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-lg);
    }

    .cg-featured-visual-panel {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .cg-featured-logo-grid {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .cg-featured-logo-item {
        width: 120px;
        height: 60px;
    }

    .cg-featured-metrics-panel {
        grid-template-columns: 1fr;
    }

    .cg-featured-visual-panel {
        min-height: 350px;
        padding: var(--space-xl);
    }

    .cg-featured-brand-logo {
        width: 150px;
    }

    .cg-featured-title {
        font-size: var(--text-lg);
    }
}

@media (max-width: 480px) {
    .cg-featured-logo-grid {
        gap: var(--space-md);
    }

    .cg-featured-logo-item {
        width: 100px;
        height: 50px;
    }

    .cg-featured-visual-panel {
        min-height: 300px;
        padding: var(--space-lg);
    }
}

/* ==========================================================================
   TESTIMONIAL CARD
   ========================================================================== */

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card .brand-logo {
    width: 120px;
    height: 60px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 4px solid var(--color-primary-blue-variant);
    padding-left: var(--space-md);
}

.testimonial-card .brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.testimonial-card .testimonial-quote {
    flex-grow: 1;
    margin: 0 0 var(--space-lg) 0;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-900);
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: auto;
}

.testimonial-card .author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author-name {
    font-weight: 600;
    color: var(--color-gray-900);
}

.testimonial-card .author-company {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.testimonial-card .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ==========================================================================
   CASE STUDY CARD
   ========================================================================== */

.case-study-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.case-study-card .case-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--color-gray-100);
}

.case-study-card .case-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-study-card:hover .case-thumbnail img {
    transform: scale(1.05);
}

.case-study-card .case-content {
    padding: var(--space-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-card .case-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.case-study-card .case-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
}

.case-study-card .case-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.case-study-card .case-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-gray-900);
}

.case-study-card .case-description {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.case-study-card .success-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.case-study-card .metric-item {
    text-align: center;
}

.case-study-card .metric-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary-blue-variant);
    margin-bottom: var(--space-xs);
}

.case-study-card .metric-text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* ==========================================================================
   WEBINAR CARD
   ========================================================================== */

.webinar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
    height: 100%;
}

.webinar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.webinar-card .webinar-thumbnail {
    width: 100%;
    height: 180px;
    background: var(--color-gray-900);
    position: relative;
    overflow: hidden;
}

.webinar-card .webinar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.webinar-card .webinar-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-blue-variant);
    font-size: 24px;
}

.webinar-card .webinar-content {
    padding: var(--space-xl);
}

.webinar-card .webinar-date {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.webinar-card .webinar-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-gray-900);
}

.webinar-card .webinar-speakers {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.webinar-card .speaker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.webinar-card .speaker-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.webinar-card .speaker-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-900);
}

/* ==========================================================================
   VIDEO CARD
   ========================================================================== */

.video-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.video-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.video-card .video-thumbnail {
    width: 100%;
    height: 200px;
    background: var(--color-gray-900);
    position: relative;
    overflow: hidden;
}

.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card .video-thumbnail .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-card .play-overlay .play-button {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-blue-variant);
    font-size: 24px;
    transition: transform var(--transition-base);
}

.video-card:hover .play-button {
    transform: scale(1.1);
}

.video-card .video-content {
    padding: var(--space-lg);
}

.video-card .video-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-gray-900);
}

/* ==========================================================================
   LOGO GRID (WITH HOVER EFFECTS)
   ========================================================================== */

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-2xl) 0;
}

.logo-grid .logo-item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-grid .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.logo-grid .logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

/* 5 Column Logo Grid (2 rows x 5 = 10 logos) */
.logo-grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-xl) 0;
}

.logo-grid-5col .logo-item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.logo-grid-5col .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.logo-grid-5col .logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 35px;
    object-fit: contain;
}

.sector-logo-grid {
    /* Logos displayed directly on page background - no container styling */
}

/* ==========================================================================
   ICON BOX
   ========================================================================== */

.icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary-blue-variant) 0%, var(--color-primary-blue) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #0A0E27 0%, #1E1B4B 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    color: var(--color-white);
    border-radius: var(--radius-lg);
    margin: var(--space-4xl) 0;
}

.cta-section .cta-badge {
    margin-bottom: var(--space-md);
}

.cta-section .cta-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-section .cta-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
}

.cta-section .cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   TAB NAVIGATION
   ========================================================================== */

.tab-navigation {
    margin-bottom: var(--space-3xl);
}

.tab-nav-wrapper {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: nowrap;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--color-gray-300) transparent; /* Firefox */
}

/* Webkit scrollbar styling */
.tab-nav-wrapper::-webkit-scrollbar {
    height: 6px;
}

.tab-nav-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.tab-nav-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: 3px;
}

.tab-nav-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-400);
}

.tab-navigation[data-align="left"] .tab-nav-wrapper {
    justify-content: flex-start;
    margin: 0;
}

.tab-navigation[data-align="right"] .tab-nav-wrapper {
    justify-content: flex-end;
    margin: 0 0 0 auto;
}

.tab-nav-item {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.tab-nav-item:hover {
    color: var(--color-gray-900);
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.tab-nav-item.active {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-primary-blue-variant) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.tab-nav-item.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   FEATURED TESTIMONIAL (Large Quote Format)
   ========================================================================== */

.featured-testimonial {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.featured-testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-weight: 700;
    color: var(--color-gray-100);
    font-family: Georgia, serif;
    line-height: 1;
}

.featured-testimonial-content {
    position: relative;
    z-index: 1;
}

.featured-testimonial-logo {
    margin-bottom: var(--space-lg);
    max-width: 150px;
}

.featured-testimonial-logo img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.featured-testimonial-video {
    margin-bottom: var(--space-xl);
}

.featured-testimonial-video .video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-gray-900);
}

.featured-testimonial-video .video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.featured-testimonial-quote {
    margin: 0 0 var(--space-xl) 0;
    border: none;
}

.featured-testimonial-quote p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-gray-900);
    margin: 0;
}

.featured-testimonial-person {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-100);
    margin-top: auto;
}

.featured-testimonial-person .person-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-testimonial-person .person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-testimonial-person .person-info {
    flex-grow: 1;
}

.featured-testimonial-person .person-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 2px;
}

.featured-testimonial-person .person-title {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: 2px;
}

.featured-testimonial-person .person-company {
    font-size: var(--text-sm);
    color: var(--color-primary-blue);
    font-weight: 500;
}

/* Sector CTA Link (Minimal Text Link with Icon) */
.sector-cta-wrapper {
    margin: var(--space-lg) 0 var(--space-xl) 0;
    text-align: left;
}

.sector-cta-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary-blue);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.sector-cta-link:hover {
    color: var(--color-primary-blue-variant);
    text-decoration: none;
    gap: var(--space-sm);
}

.sector-cta-link .cta-icon {
    transition: transform var(--transition-base);
}

.sector-cta-link:hover .cta-icon {
    transform: translateX(2px);
}

/* ==========================================================================
   TESTIMONIAL COMPACT (Grid Format)
   ========================================================================== */

.testimonial-compact {
    padding: var(--space-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.testimonial-compact:hover {
    transform: translateY(-4px);
}

.testimonial-compact-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-compact-logo {
    margin-bottom: var(--space-lg);
    min-height: 50px;
    display: flex;
    align-items: center;
}

.testimonial-compact-logo img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.testimonial-compact-quote {
    margin: 0 0 var(--space-md) 0;
    flex-grow: 1;
    border: none;
}

.testimonial-compact-quote p {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    margin: 0;
}

.testimonial-compact-brand {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-900);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-compact-person {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.testimonial-compact-person .person-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-compact-person .person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-compact-person .person-info {
    flex-grow: 1;
}

.testimonial-compact-person .person-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 2px;
}

.testimonial-compact-person .person-title {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    line-height: 1.4;
}

.testimonial-compact-person .person-company {
    font-size: var(--text-xs);
    color: var(--color-primary-blue);
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .case-study-card .success-metrics {
        grid-template-columns: 1fr;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .logo-grid-5col {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .sector-logo-grid {
        /* No padding on mobile either */
    }

    .cta-section {
        padding: var(--space-3xl) var(--space-lg);
    }

    .tab-nav-wrapper {
        /* Allow horizontal scroll on mobile - no width: 100% */
        max-width: 100%;
        gap: var(--space-xs);
    }

    .tab-nav-item {
        font-size: var(--text-sm);
        padding: 10px 18px;
    }

    .featured-testimonial {
        padding: var(--space-lg);
    }

    .featured-testimonial::before {
        font-size: 80px;
    }

    .featured-testimonial-quote p {
        font-size: var(--text-base);
    }

    .featured-testimonials-wrapper .col-md-6 {
        margin-bottom: var(--space-lg);
    }
}

/* ==========================================================================
   VIDEO TESTIMONIAL (Standalone Shortcode)
   ========================================================================== */

.video-testimonial-wrapper {
    padding: var(--space-4xl) 0;
}

.video-testimonial-video {
    margin-bottom: var(--space-lg);
}

.video-testimonial-video .video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-gray-900);
    box-shadow: var(--shadow-lg);
}

.video-testimonial-video .video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

.video-testimonial-content {
    padding: var(--space-2xl);
}

.video-testimonial-logo {
    margin-bottom: var(--space-lg);
}

.video-testimonial-quote {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--color-gray-700);
    font-style: italic;
    margin: 0 0 var(--space-xl);
    padding: var(--space-xl);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary-blue);
}

.video-testimonial-quote p {
    margin: 0;
}

.video-testimonial-person {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.video-testimonial-person .person-photo {
    flex-shrink: 0;
}

.video-testimonial-person .person-photo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.video-testimonial-person .person-name {
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-gray-900);
    margin-bottom: var(--space-xs);
}

.video-testimonial-person .person-company {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

@media (max-width: 992px) {
    .video-testimonial-wrapper {
        padding: var(--space-2xl) 0;
    }

    .video-testimonial-content {
        padding: var(--space-xl) 0;
    }

    .video-testimonial-quote {
        font-size: var(--text-lg);
    }

    .video-testimonial-video {
        margin-bottom: var(--space-xl);
    }
}

/* ==========================================================================
   CASE STUDY CARD (NEW DESIGN)
   Desktop-first, split layout: left metrics + right visual card
   ========================================================================== */

.case-study-card-new {
    width: 100%;
    margin-bottom: var(--space-2xl);
}

.case-study-container {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 0;
    min-height: 560px;
    background: var(--color-gray-50);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.case-study-container:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* Left Panel: Metrics */
.case-study-metrics {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    background: #f8f9fa;
}

.case-metric {
    position: relative;
    padding-left: var(--space-lg);
}

.case-metric::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent-mint);
    border-radius: var(--radius-sm);
}

.case-metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.case-metric-text {
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-gray-700);
    max-width: 280px;
}

/* Products Section */
.case-products {
    margin-top: auto;
    padding-top: var(--space-xl);
}

.case-products-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.case-products-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.case-product-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
    font-weight: 500;
    transition: all var(--transition-base);
}

.case-product-tag:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

/* Right Panel: Visual Card */
.case-study-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    overflow: hidden;
}

.case-study-card-inner {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 440px;
}

.case-study-logo {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.case-study-logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    width: auto;
    height: auto;
}

.case-study-thumbnail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.case-study-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.case-study-content-bottom {
    margin-top: auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.case-study-title {
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-gray-900);
    margin: 0 0 var(--space-lg);
}

.case-study-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

.case-study-cta:hover {
    color: var(--color-primary-blue-variant);
    gap: var(--space-md);
}

.case-study-cta .cta-arrow {
    transition: transform var(--transition-base);
}

.case-study-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .case-study-container {
        grid-template-columns: 40% 60%;
        min-height: 500px;
    }

    .case-study-metrics {
        padding: var(--space-2xl);
        gap: var(--space-xl);
    }

    .case-metric-number {
        font-size: 2rem;
    }

    .case-study-visual {
        padding: var(--space-2xl);
    }

    .case-study-card-inner {
        padding: var(--space-xl);
        min-height: 380px;
    }

    .case-study-title {
        font-size: var(--text-lg);
    }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .case-study-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .case-study-metrics {
        padding: var(--space-xl);
        gap: var(--space-lg);
        order: 2;
    }

    .case-metric-number {
        font-size: 1.75rem;
    }

    .case-metric-text {
        font-size: var(--text-sm);
        max-width: none;
    }

    .case-study-visual {
        padding: var(--space-xl);
        order: 1;
        min-height: 480px;
    }

    .case-study-card-inner {
        padding: var(--space-lg);
        min-height: 360px;
    }

    .case-study-logo img {
        max-width: 140px;
        max-height: 60px;
    }

    .case-study-title {
        font-size: var(--text-base);
    }

    .case-products {
        padding-top: var(--space-md);
    }
}

/* ==========================================================================
   CASE STUDIES SECTION - LOGO GRID WITH ACTIVE INDICATOR
   ========================================================================== */

.case-studies-logo-grid-wrapper {
    position: relative;
    padding-top: var(--space-md);
}

.case-studies-logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: nowrap;
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-gray-200);
    position: relative;
}

.case-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all var(--transition-base);
    position: relative;
    cursor: pointer;
}

.case-logo-item.active {
    opacity: 1;
}

.case-logo-item:hover {
    opacity: 1;
}

.case-logo-item img {
    max-width: 140px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter var(--transition-base);
}

.case-logo-item.active img,
.case-logo-item:hover img {
    filter: grayscale(0%);
}

/* Active Indicator Line - Color changes based on brand */
.logo-active-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 140px;
    background: #9ca3af; /* Default gray - will be overridden by brand color */
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

@media (max-width: 768px) {
    .case-studies-logo-grid {
        gap: var(--space-xl);
        padding: var(--space-xl) 0;
        flex-wrap: wrap;
    }

    .case-logo-item img {
        max-width: 100px;
        max-height: 40px;
    }

    .logo-active-indicator {
        width: 100px;
    }
}

/* ==========================================================================
   CASE STUDY SLIDER (Featured - DocuSign Style)
   ========================================================================== */

.cg-case-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.cg-case-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.cg-case-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.cg-case-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.cg-case-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: 600px;
    padding: var(--space-3xl) var(--space-2xl);
    background: linear-gradient(135deg, 
        #4338ca 0%,
        #5b21b6 50%,
        #6b21a8 100%
    );
    border-radius: var(--radius-xl);
}

/* Left Side: Logo */
.cg-case-slide-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
}

.cg-case-slide-logo img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Right Side: Content */
.cg-case-slide-content {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.cg-case-quote {
    font-size: var(--text-2xl);
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
    color: var(--color-white);
}

.cg-case-author {
    font-size: var(--text-base);
    opacity: 0.9;
}

.cg-case-author strong {
    font-weight: 600;
}

/* Metrics Row */
.cg-case-metrics {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
}

.cg-case-metric {
    flex: 1;
}

.cg-case-metric-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.cg-case-metric-value sup {
    font-size: 1.5rem;
    vertical-align: super;
}

.cg-case-metric-value sub {
    font-size: 1.5rem;
    vertical-align: baseline;
}

.cg-case-metric-label {
    font-size: var(--text-sm);
    opacity: 0.85;
    line-height: 1.4;
}

/* CTA Button */
.cg-case-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-white);
    color: #4338ca;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    align-self: flex-start;
    margin-top: var(--space-lg);
}

.cg-case-cta:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cg-case-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.cg-case-cta:hover svg {
    transform: translateX(4px);
}

/* Navigation Buttons */
.cg-case-slider-nav {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.cg-case-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.cg-case-slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.cg-case-slider-btn:active {
    transform: scale(0.95);
}

.cg-case-slider-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cg-case-slide-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding: var(--space-2xl) var(--space-xl);
    }

    .cg-case-slide-logo {
        padding: var(--space-xl);
    }

    .cg-case-slide-logo img {
        max-height: 120px;
    }

    .cg-case-quote {
        font-size: var(--text-xl);
    }

    .cg-case-metrics {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .cg-case-metric {
        flex: 0 0 calc(50% - var(--space-lg));
    }
}

@media (max-width: 640px) {
    .cg-case-slider {
        min-height: auto;
    }

    .cg-case-slide-inner {
        min-height: auto;
        padding: var(--space-xl);
    }

    .cg-case-quote {
        font-size: var(--text-lg);
    }

    .cg-case-metric-value {
        font-size: 2rem;
    }

    .cg-case-metric {
        flex: 0 0 100%;
    }

    .cg-case-slider-nav {
        top: var(--space-md);
        right: var(--space-md);
    }

    .cg-case-slider-btn {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   TESTIMONIAL SLIDER (NEW - DOCUSIGN STYLE)
   Redesigned split-screen testimonial slider with dark gradient
   ========================================================================== */

.cg-testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: visible !important;
}

/* Gradient overlay - REMOVED - Now on logo container */

.cg-testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Individual Slide Card */
.cg-testimonial-slider-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.cg-testimonial-slider-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Slide Inner Layout - Split Screen */
.cg-testimonial-slider-inner {
    display: grid;
    grid-template-columns: 35% 65%;
    grid-template-rows: 1fr;
    gap: 0;
    align-items: start;
    min-height: 400px;
    padding: var(--space-3xl);
    background: transparent;
    position: relative;
    overflow: visible !important;
}

/* LEFT SIDE: Logo */
.cg-testimonial-slider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 3;
    overflow: visible;
}

/* Gradient light - Absolute positioned, escapes container */
.cg-testimonial-slider-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1000px;
    background: radial-gradient(ellipse at center,
        rgba(139, 92, 246, 0.25) 0%,
        rgba(99, 102, 241, 0.18) 25%,
        rgba(59, 130, 246, 0.1) 45%,
        rgba(59, 130, 246, 0.05) 65%,
        transparent 80%
    );
    z-index: -1;
    pointer-events: none;
}

/* Dark theme gradient */
.cg-testimonial-slider.theme-dark .cg-testimonial-slider-logo::before {
    background: radial-gradient(ellipse at center,
        rgba(139, 92, 246, 0.25) 0%,
        rgba(99, 102, 241, 0.18) 25%,
        rgba(59, 130, 246, 0.1) 45%,
        rgba(59, 130, 246, 0.05) 65%,
        transparent 80%
    );
}

/* Light theme gradient - darker and smaller */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-logo::before {
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(139, 92, 246, 0.35) 0%,
        rgba(99, 102, 241, 0.28) 20%,
        rgba(59, 130, 246, 0.18) 40%,
        rgba(59, 130, 246, 0.10) 60%,
        transparent 75%
    );
}

.cg-testimonial-slider-logo-inner {
    position: relative;
    width: 100%;
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    z-index: 3;
}

.cg-testimonial-slider-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Dark theme - white/light logo for dark backgrounds */
.cg-testimonial-slider.theme-dark .cg-testimonial-slider-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Light theme - keep original dark logo for light backgrounds */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-logo img {
    filter: none;
    opacity: 0.9;
}

/* RIGHT SIDE: Content */
.cg-testimonial-slider-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-md);
    position: relative;
    z-index: 3;
    padding: 0 0 0 var(--space-3xl);
    transition: color 0.3s ease;
}

/* Dark theme - white/light text for dark backgrounds */
.cg-testimonial-slider.theme-dark .cg-testimonial-slider-content {
    color: #f8f9fa;
}

/* Light theme - dark text for light backgrounds */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-content {
    color: #1a1a2e;
}

/* Quote - 5 lines with ellipsis + inline button */
.cg-testimonial-slider-quote-wrapper {
    position: relative;
    margin: 0 0 var(--space-md) 0;
}

.cg-testimonial-slider-quote {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    font-family: var(--font-body);
    text-align: left;
    max-width: 95%;
    /* Limit to 5 lines */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Dark theme quote - light text for dark backgrounds */
.cg-testimonial-slider.theme-dark .cg-testimonial-slider-quote {
    color: #f8f9fa;
}

/* Light theme quote - dark text for light backgrounds */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote {
    color: #1a1a2e;
}

/* "Daha Fazlasını Gör" - Arrow only button with expanding line on hover */
.cg-testimonial-slider-quote-more {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0; /* Hide text */
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--space-sm);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px;
}

.cg-testimonial-slider-quote-more:hover {
    color: var(--color-white);
}

/* Arrow circle background */
.cg-testimonial-slider-quote-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 0;
}

.cg-testimonial-slider-quote-more:hover::before {
    background: rgba(255, 255, 255, 0.2);
}

/* Expanding line on hover */
.cg-testimonial-slider-quote-more::after {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.cg-testimonial-slider-quote-more:hover::after {
    width: 32px;
}

.cg-testimonial-slider-quote-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    stroke: currentColor;
}

.cg-testimonial-slider-quote-more:hover svg {
    transform: translateX(2px);
}

/* Light theme adjustments */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote-more {
    color: rgba(0, 0, 0, 0.6);
}

.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote-more:hover {
    color: rgba(0, 0, 0, 0.9);
}

.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote-more::before {
    background: rgba(0, 0, 0, 0.05);
}

.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote-more:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.cg-testimonial-slider.theme-light .cg-testimonial-slider-quote-more::after {
    background: rgba(0, 0, 0, 0.3);
}

/* Author */
.cg-testimonial-slider-author {
    font-size: var(--text-sm);
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* Metrics Row */
.cg-testimonial-slider-metrics {
    display: flex;
    gap: var(--space-2xl);
    margin: var(--space-md) 0;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cg-testimonial-slider-metric {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.cg-metric-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

/* Dark theme metrics - light text for dark backgrounds */
.cg-testimonial-slider.theme-dark .cg-metric-value {
    color: #f8f9fa;
}

/* Light theme metrics - dark text for light backgrounds */
.cg-testimonial-slider.theme-light .cg-metric-value {
    color: #1a1a2e;
}

.cg-metric-value sup,
.cg-metric-value sub {
    display: none;
}

.cg-metric-label {
    font-size: var(--text-sm);
    opacity: 0.85;
    line-height: 1.4;
    max-width: 180px;
    white-space: normal;
    font-weight: 400;
}

/* CTA Button - "Tümünü Gör" */
.cg-testimonial-slider-cta-wrapper {
    margin-top: var(--space-md);
}

.cg-testimonial-slider-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-base);
}

/* Dark theme CTA */
.cg-testimonial-slider.theme-dark .cg-testimonial-slider-cta {
    background: rgba(255, 255, 255, 0.15);
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cg-testimonial-slider.theme-dark .cg-testimonial-slider-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
    color: #f8f9fa;
}

/* Light theme CTA */
.cg-testimonial-slider.theme-light .cg-testimonial-slider-cta {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a2e;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.cg-testimonial-slider.theme-light .cg-testimonial-slider-cta:hover {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateX(4px);
    color: #1a1a2e;
}

.cg-testimonial-slider-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.cg-testimonial-slider-cta:hover svg {
    transform: translateX(4px);
}

/* Navigation Buttons - Text Left, Icons Only */
.cg-testimonial-slider-nav {
    position: absolute;
    top: var(--space-lg);
    left: 35%;
    margin-left: var(--space-3xl);
    display: flex;
    gap: var(--space-sm);
    z-index: 100;
}

.cg-slider-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none !important;
    outline: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Override ALL possible button states */
.cg-slider-nav-btn:hover,
.cg-slider-nav-btn:focus,
.cg-slider-nav-btn:active,
.cg-slider-nav-btn:visited {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Dark theme navigation */
.cg-testimonial-slider.theme-dark .cg-slider-nav-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

.cg-testimonial-slider.theme-dark .cg-slider-nav-btn:hover,
.cg-testimonial-slider.theme-dark .cg-slider-nav-btn:focus,
.cg-testimonial-slider.theme-dark .cg-slider-nav-btn:active {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Light theme navigation */
.cg-testimonial-slider.theme-light .cg-slider-nav-btn {
    color: rgba(0, 0, 0, 0.4) !important;
}

.cg-testimonial-slider.theme-light .cg-slider-nav-btn:hover,
.cg-testimonial-slider.theme-light .cg-slider-nav-btn:focus,
.cg-testimonial-slider.theme-light .cg-slider-nav-btn:active {
    color: rgba(0, 0, 0, 0.4) !important;
}

.cg-slider-nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Arrow movement on hover */
.cg-slider-prev:hover svg {
    transform: translateX(-3px);
}

.cg-slider-next:hover svg {
    transform: translateX(3px);
}

/* Responsive: Large Desktop */
@media (max-width: 1400px) {
    .cg-testimonial-slider-inner {
        grid-template-columns: 38% 62%;
    }

    .cg-testimonial-slider-logo {
        padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) var(--space-2xl);
    }

    .cg-testimonial-slider-logo-inner {
        max-width: 320px;
    }

    .cg-testimonial-slider-logo img {
        max-height: 160px;
    }

    .cg-testimonial-slider-content {
        padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) 0;
    }

    .cg-testimonial-slider-quote {
        font-size: 1.5rem;
    }

    .cg-metric-value {
        font-size: 2.75rem;
    }
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .cg-testimonial-slider {
        min-height: auto;
    }

    .cg-testimonial-slider-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
        align-items: start;
    }

    .cg-testimonial-slider-logo {
        padding: var(--space-3xl) var(--space-2xl);
        height: auto;
        align-items: flex-start;
    }

    .cg-testimonial-slider-logo-inner {
        max-width: 300px;
        align-items: flex-start;
    }

    .cg-testimonial-slider-logo img {
        max-height: 120px;
    }

    .cg-testimonial-slider-content {
        padding: 0 var(--space-3xl) var(--space-3xl);
        height: auto;
    }

    .cg-testimonial-slider-quote {
        font-size: 1.375rem;
    }

    .cg-metric-value {
        font-size: 2.5rem;
    }

    .cg-metric-value sup {
        font-size: 1.5rem;
    }

    .cg-metric-value sub {
        font-size: 1.25rem;
    }

    .cg-testimonial-slider-metrics {
        gap: var(--space-2xl);
    }

    .cg-testimonial-slider-nav {
        top: var(--space-xl);
    }

    .cg-slider-nav-btn {
        width: 36px;
        height: 36px;
    }

    .cg-slider-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .cg-testimonial-slider-logo {
        padding: var(--space-2xl) var(--space-lg);
        align-items: flex-start;
    }

    .cg-testimonial-slider-logo-inner {
        max-width: 200px;
        align-items: flex-start;
    }

    .cg-testimonial-slider-logo img {
        max-height: 80px;
    }

    .cg-testimonial-slider-content {
        padding: 0 var(--space-lg) var(--space-2xl);
    }

    .cg-testimonial-slider-quote {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .cg-testimonial-slider-author {
        font-size: var(--text-xs);
        margin-bottom: var(--space-lg);
    }

    .cg-testimonial-slider-metrics {
        flex-direction: column;
        gap: var(--space-xl);
        margin: var(--space-lg) 0;
    }

    .cg-testimonial-slider-metric {
        flex: 0 0 100%;
    }

    .cg-metric-value {
        font-size: 2.25rem;
    }

    .cg-metric-value sup {
        font-size: 1.25rem;
    }

    .cg-metric-value sub {
        font-size: 1.125rem;
    }

    .cg-metric-label {
        font-size: var(--text-xs);
        max-width: none;
    }

    .cg-testimonial-slider-cta {
        padding: 12px 24px;
        font-size: var(--text-sm);
    }

    .cg-testimonial-slider-cta-wrapper {
        margin-top: var(--space-xl);
    }

    .cg-testimonial-slider-nav {
        top: var(--space-lg);
    }

    .cg-slider-nav-btn {
        width: 34px;
        height: 34px;
    }

    .cg-slider-nav-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   CONTENT BADGE (Logo + Label + Title)
   Görseldeki gibi pill-shaped badge with logo and content title
   ========================================================================== */

.cg-content-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 250, 255, 0.98) 50%, rgba(230, 245, 255, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
    max-width: 100%;
    cursor: pointer;
}

.cg-content-badge:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.cg-content-badge-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

/* Label Section (Sol taraf - Sadece "Case Study" yazısı) */
.cg-content-badge-label {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: transparent;
    border-right: 1px solid rgba(29, 21, 120, 0.1);
    flex-shrink: 0;
}

.cg-content-badge-label-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-purple);
    white-space: nowrap;
}

/* Content Section (Sağ taraf - Logo + Title) */
.cg-content-badge-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 8px 20px 8px 16px;
    flex: 1;
    min-width: 0;
}

.cg-content-badge-logo {
    width: 70px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cg-content-badge-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cg-content-badge-title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-900);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

/* Arrow Icon - Hover'da görünür */
.cg-content-badge-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    flex-shrink: 0;
}

.cg-content-badge:hover .cg-content-badge-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cg-content-badge-arrow svg {
    width: 16px;
    height: 16px;
}

/* Light Style */
.cg-content-badge-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);
}

.cg-content-badge-light .cg-content-badge-label {
    background: transparent;
    border-right-color: rgba(16, 185, 129, 0.15);
}

.cg-content-badge-light .cg-content-badge-label-text {
    color: var(--color-accent-mint);
}

/* Dark Style */
.cg-content-badge-dark {
    background: linear-gradient(135deg, rgba(29, 21, 120, 0.95) 0%, rgba(26, 32, 62, 0.95) 100%);
}

.cg-content-badge-dark .cg-content-badge-label {
    background: transparent;
    border-right-color: rgba(255, 255, 255, 0.15);
}

.cg-content-badge-dark .cg-content-badge-label-text {
    color: rgba(255, 255, 255, 0.95);
}

.cg-content-badge-dark .cg-content-badge-title {
    color: rgba(255, 255, 255, 0.9);
}

.cg-content-badge-dark .cg-content-badge-arrow {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark tema: Sadece Case Study logolarını beyaza çevir */
.cg-content-badge-dark.cg-content-badge-case-study .cg-content-badge-logo img {
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .cg-content-badge-title {
        font-size: var(--text-xs);
    }

    .cg-content-badge-label {
        padding: 10px 16px;
    }

    .cg-content-badge-content {
        padding: 8px 16px;
        gap: var(--space-sm);
    }

    .cg-content-badge-label-text {
        font-size: var(--text-xs);
    }

    .cg-content-badge-logo {
        width: 56px;
        height: 44px;
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .cg-content-badge-content {
        padding: 6px 12px;
    }

    .cg-content-badge-logo {
        width: 48px;
        height: 38px;
        padding: 3px;
    }
}

/* Content Badge Slider */
.cg-content-badge-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cg-content-badge-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 50px;
}

.cg-content-badge-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.cg-content-badge-slider-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.cg-content-badge-slider-item .cg-content-badge {
    width: 100%;
    justify-content: flex-start;
}
