.case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-study-hero {
    background: linear-gradient(135deg, #f6f5f4 0%, #e9e4e2 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.case-study-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 106, 37, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.case-study-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 175, 244, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.case-study-title {
    font-size: 48px;
    font-weight: 700;
    color: #161412;
    margin-bottom: 16px;
    line-height: 1.2;
}

.case-study-subtitle {
    font-size: 24px;
    color: #766860;
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: #5a4f49;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 60px;
}

.content-area {
    background: #ffffff;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #161412;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #f46a25;
}

.section-content {
    font-size: 16px;
    line-height: 1.7;
    color: #433837;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, #f46a25 0%, #25aff4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-metric {
    font-size: 18px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    color: #766860;
}

.question-card {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.question-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.question-title {
    font-size: 20px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 16px;
}

.question-answer {
    font-size: 16px;
    line-height: 1.7;
    color: #433837;
}

.testimonial-card {
    background: linear-gradient(135deg, #fef8f5 0%, #f5fcff 100%);
    border-radius: 24px;
    padding: 48px;
    margin: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 32px;
    font-size: 120px;
    color: #f46a25;
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.client-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.client-details h4 {
    font-size: 20px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 4px;
}

.client-details p {
    font-size: 16px;
    color: #766860;
    margin-bottom: 8px;
}

.client-details a {
    color: #f46a25;
    text-decoration: none;
    font-weight: 500;
}

.client-details a:hover {
    text-decoration: underline;
}

.testimonial-quote {
    font-size: 24px;
    font-style: italic;
    color: #161412;
    line-height: 1.5;
    margin-bottom: 24px;
}

.toc {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.toc-title {
    font-size: 18px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 16px;
}

.toc-item {
    display: block;
    padding: 8px 0;
    color: #766860;
    text-decoration: none;
    border-bottom: 1px solid #f4f2f1;
    transition: color 0.3s ease;
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-item:hover {
    color: #f46a25;
}

.social-sharing {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 16px;
    padding: 24px;
}

.social-title {
    font-size: 18px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn.twitter {
    background: #000000;
    color: #ffffff;
}

.social-btn.facebook {
    background: #1877f2;
    color: #ffffff;
}

.social-btn.linkedin {
    background: #0077b5;
    color: #ffffff;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .case-study-title {
        font-size: 36px;
    }
    
    .case-study-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        padding: 60px 0;
    }
    
    .case-study-title {
        font-size: 28px;
    }
    
    .case-study-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .question-card {
        padding: 24px;
    }
    
    .testimonial-card {
        padding: 32px 24px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
    }
}