/* References Hero */
.reference-references-hero {
    background: var(--gradient-main);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

    .reference-references-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .reference-references-hero .reference-hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .reference-references-hero h1 {
        font-size: 3rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }

    .reference-references-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 3rem;
        line-height: 1.6;
    }

.reference-hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.reference-stat-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    min-width: 140px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.reference-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.reference-stat-label {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Success Stories Carousel */
.reference-success-stories {
    padding: 80px 0;
    background: var(--bg-color);
}

[data-theme="dark"] .reference-success-stories {
    background: var(--bg-color);
}

.reference-stories-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 4rem;
}

.reference-story-card {
    display: none;
    background: var(--surface-color);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.5s ease-out;
}

    .reference-story-card.active {
        display: block;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reference-story-content-full {
    padding: 2rem;
}

.reference-company-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.reference-company-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.reference-company-details {
    flex: 1;
    margin-left: 1rem;
}

    .reference-company-details h4 {
        color: var(--text-color);
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .reference-company-details span {
        color: var(--text-light);
        font-size: 0.9rem;
    }

.reference-rating-stars {
    text-align: right;
}

    .reference-rating-stars span {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
        display: block;
    }

    .reference-rating-stars small {
        color: var(--text-light);
        font-size: 0.8rem;
    }

.reference-story-content blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.reference-story-author {
    margin-bottom: 2rem;
}

    .reference-story-author strong {
        color: var(--text-color);
        display: block;
        margin-bottom: 0.25rem;
    }

    .reference-story-author span {
        color: var(--text-light);
        font-size: 0.9rem;
    }

.reference-story-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.reference-metric {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.reference-metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reference-metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.reference-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.reference-carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .reference-carousel-btn:hover {
        background: var(--primary-dark);
        transform: scale(1.1);
    }

.reference-carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.reference-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .reference-indicator.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }

[data-theme="dark"] .reference-story-card {
    background: var(--surface-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .reference-metric {
    background: var(--gray-800);
    border-color: var(--border-color);
}

/* Client Showcase */
.reference-client-showcase {
    padding: 80px 0;
    background: var(--surface-color);
}

[data-theme="dark"] .reference-client-showcase {
    background: var(--surface-color);
}

.reference-client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.reference-client-category h3 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reference-client-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.reference-client-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .reference-client-logo:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.reference-logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
}

.reference-client-name {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

[data-theme="dark"] .reference-client-logo {
    background: var(--gray-800);
    border-color: var(--border-color);
}

/* Case Studies */
.reference-case-studies {
    padding: 80px 0;
    background: var(--bg-color);
}

[data-theme="dark"] .reference-case-studies {
    background: var(--bg-color);
}

.reference-case-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.reference-case-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .reference-case-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

    .reference-case-card.featured {
        background: linear-gradient(135deg, var(--surface-color) 0%, white 100%);
        border: 2px solid var(--primary-color);
    }

.reference-case-header {
    margin-bottom: 1.5rem;
}

.reference-case-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.reference-case-card h3 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.reference-case-sector {
    color: var(--text-light);
    font-size: 0.8rem;
}

.reference-case-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.reference-case-problem,
.reference-case-solution {
    margin-bottom: 1.5rem;
}

    .reference-case-problem h4,
    .reference-case-solution h4,
    .reference-case-results h4 {
        color: var(--text-color);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .reference-case-problem p,
    .reference-case-solution p {
        color: var(--text-light);
        font-size: 0.9rem;
        line-height: 1.5;
    }

.reference-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.reference-result-item {
    text-align: center;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
}

.reference-result-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reference-result-desc {
    font-size: 0.7rem;
    color: var(--text-light);
}

.reference-case-highlights {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reference-highlight {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
}

.reference-highlight-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reference-highlight-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.reference-case-detail-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    margin-top: auto;
}

    .reference-case-detail-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

[data-theme="dark"] .reference-case-card {
    background: var(--surface-color);
    border-color: var(--border-color);
}

    [data-theme="dark"] .reference-case-card.featured {
        background: linear-gradient(135deg, var(--gray-800) 0%, var(--surface-color) 100%);
    }

[data-theme="dark"] .reference-result-item,
[data-theme="dark"] .reference-highlight {
    background: var(--gray-800);
}

/* Satisfaction Dashboard */
.reference-satisfaction-dashboard {
    padding: 80px 0;
    background: var(--surface-color);
}

[data-theme="dark"] .reference-satisfaction-dashboard {
    background: var(--surface-color);
}

.reference-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.reference-satisfaction-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

    .reference-satisfaction-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

    .reference-satisfaction-card.overall {
        grid-column: span 2;
    }

.reference-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

    .reference-card-header h3 {
        color: var(--text-color);
        font-weight: 700;
        margin: 0;
    }

.reference-trend-up {
    background: #e8f5e8;
    color: #28a745;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reference-nps-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reference-satisfaction-score {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
}

.reference-score-circle {
    width: 150px;
    height: 150px;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

    

/*@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}*/

.reference-score-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.reference-score-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.reference-score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reference-breakdown-item {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    gap: 1rem;
    align-items: center;
}

.reference-breakdown-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.reference-breakdown-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.reference-breakdown-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width 2s ease-out;
    width: 0%;
}

.reference-breakdown-percent {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.reference-feature-ratings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reference-feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
}

.reference-feature-name {
    font-weight: 600;
    color: var(--text-color);
}

.reference-star-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reference-stars {
    font-size: 1rem;
}

.reference-rating-value {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.reference-nps-score {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: center;
}

.reference-nps-gauge {
    width: 120px;
    height: 120px;
    border: 6px solid #28a745;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.reference-gauge-value {
    font-size: 2rem;
    font-weight: 900;
    color: #28a745;
}

.reference-gauge-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.reference-nps-breakdown {
    display: flex;
    gap: 1rem;
}

.reference-nps-category {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
}

    .reference-nps-category.promoters {
        background: #e8f5e8;
    }

    .reference-nps-category.passives {
        background: #fff3cd;
    }

    .reference-nps-category.detractors {
        background: #f8d7da;
    }

.reference-category-percent {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.reference-nps-category.promoters .reference-category-percent {
    color: #28a745;
}

.reference-nps-category.passives .reference-category-percent {
    color: #ffc107;
}

.reference-nps-category.detractors .reference-category-percent {
    color: #dc3545;
}

.reference-category-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.reference-recent-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reference-review-item {
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.reference-review-rating {
    margin-bottom: 0.5rem;
}

.reference-review-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reference-review-author {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Case Study Modal */
.reference-case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

    .reference-case-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.reference-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.reference-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reference-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .reference-modal-header h3 {
        color: var(--text-color);
        font-weight: 700;
        margin: 0;
    }

.reference-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .reference-modal-close:hover {
        color: var(--text-color);
    }

.reference-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 60vh;
}

.reference-case-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reference-case-overview,
.reference-case-problem,
.reference-case-solution,
.reference-case-results,
.reference-case-testimonial {
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

    .reference-case-overview h4,
    .reference-case-problem h4,
    .reference-case-solution h4,
    .reference-case-results h4,
    .reference-case-testimonial h4 {
        color: var(--text-color);
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .reference-case-overview p,
    .reference-case-problem ul,
    .reference-case-solution ul {
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .reference-case-problem ul,
    .reference-case-solution ul {
        padding-left: 1.5rem;
    }

    .reference-case-problem li,
    .reference-case-solution li {
        margin-bottom: 0.5rem;
    }

.reference-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.reference-result-metric {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.reference-metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.reference-metric-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

.reference-case-testimonial blockquote {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.reference-case-testimonial cite {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

[data-theme="dark"] .reference-satisfaction-card,
[data-theme="dark"] .reference-modal-content {
    background: var(--gray-800);
    border-color: var(--border-color);
}

[data-theme="dark"] .reference-feature-item,
[data-theme="dark"] .reference-review-item,
[data-theme="dark"] .reference-case-overview,
[data-theme="dark"] .reference-case-problem,
[data-theme="dark"] .reference-case-solution,
[data-theme="dark"] .reference-case-results,
[data-theme="dark"] .reference-case-testimonial {
    background: var(--surface-color);
}

[data-theme="dark"] .reference-breakdown-bar {
    background: var(--gray-700);
}

[data-theme="dark"] .reference-result-metric {
    background: var(--gray-800);
}

/* References CTA */
.reference-references-cta {
    padding: 80px 0;
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

[data-theme="dark"] .reference-references-cta {
    background: var(--primary-color);
}

.reference-references-cta .reference-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.reference-references-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.reference-references-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.reference-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.reference-cta-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .reference-cta-btn.primary {
        background: white;
        color: var(--primary-color);
    }

    .reference-cta-btn.secondary:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }

.reference-cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.reference-guarantee-icon {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reference-references-hero h1 {
        font-size: 2.2rem;
    }

    .reference-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .reference-stat-badge {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }

    .reference-story-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .reference-client-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reference-client-logos {
        grid-template-columns: 1fr;
    }

    .reference-case-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reference-results-grid {
        grid-template-columns: 1fr;
    }

    .reference-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reference-satisfaction-card.overall {
        grid-column: span 1;
    }

    .reference-satisfaction-score {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .reference-nps-score {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .reference-breakdown-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }

    .reference-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .reference-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .reference-cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .reference-references-cta h2 {
        font-size: 2rem;
    }

    .reference-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .reference-modal-body {
        max-height: 50vh;
    }

    .reference-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .reference-references-hero h1 {
        font-size: 1.8rem;
    }

    .reference-story-card {
        padding: 1.5rem;
    }

    .reference-story-content-full {
        padding: 1rem;
    }

    .reference-case-card {
        padding: 1.5rem;
    }

    .reference-client-logo {
        padding: 1rem;
    }

    .reference-references-cta h2 {
        font-size: 1.8rem;
    }

    .reference-story-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .reference-company-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .reference-company-details {
        margin-left: 0;
    }

    .reference-rating-stars {
        text-align: center;
    }
}

.reference-cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.reference-cta-btn {
    padding: 18px 40px;
    border-radius: 60px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

    .reference-cta-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s;
    }

    .reference-cta-btn:hover::before {
        left: 100%;
    }

    .reference-cta-btn.primary {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        color: #2563eb;
        border: 2px solid rgba(37, 99, 235, 0.2);
    }

        .reference-cta-btn.primary:hover {
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
            border-color: #2563eb;
        }

    .reference-cta-btn.secondary {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        border: 2px solid transparent;
    }

        .reference-cta-btn.secondary:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
        }

    .reference-cta-btn.success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        border: 2px solid transparent;
    }

        .reference-cta-btn.success:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
        }



