:root {
    --case-primary: #0066cc;
    --case-secondary: #004c99;
    --case-accent: #00a0e9;
    --case-dark: #1a1a2e;
    --case-light: #f5f7fa;
    --case-text: #333333;
    --case-text-light: #666666;
    --case-border: #e0e0e0;
}

.case-hero {
    background: linear-gradient(135deg, var(--case-primary) 0%, var(--case-secondary) 100%);
    padding: 100px 0 80px;
    color: white;
}

.case-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.case-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.case-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.case-hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.case-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.95;
}

.meta-item i {
    font-size: 16px;
}

.case-content {
    padding: 60px 0;
    background: var(--case-light);
}

.case-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.case-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.case-nav {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.case-nav h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--case-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--case-primary);
}

.case-nav ul {
    list-style: none;
}

.case-nav li {
    margin-bottom: 8px;
}

.case-nav a {
    display: block;
    padding: 10px 14px;
    color: var(--case-text-light);
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.case-nav a:hover,
.case-nav a.active {
    background: rgba(0, 102, 204, 0.08);
    color: var(--case-primary);
}

.case-nav a.active {
    font-weight: 600;
}

.case-products-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-products-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--case-dark);
    margin-bottom: 16px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--case-light);
    border-radius: 8px;
    font-size: 13px;
    color: var(--case-text);
}

.product-item i {
    color: var(--case-primary);
    font-size: 16px;
}

.case-main {
    background: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-section {
    margin-bottom: 50px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--case-dark);
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid var(--case-primary);
}

.case-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--case-text);
    margin-bottom: 16px;
}

.pain-point-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff8f8 100%);
    border-left: 4px solid #dc3545;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
}

.pain-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pain-point-icon i {
    font-size: 20px;
}

.pain-point-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 8px;
}

.pain-point-card p {
    margin-bottom: 0;
}

.selection-point {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--case-light);
    border-radius: 8px;
}

.selection-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--case-primary) 0%, var(--case-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.selection-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--case-primary);
    margin-bottom: 8px;
}

.selection-content p {
    margin-bottom: 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--case-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--case-primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--case-primary);
}

.timeline-content {
    background: var(--case-light);
    padding: 24px;
    border-radius: 8px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--case-primary);
    margin-bottom: 12px;
}

.timeline-content p {
    margin-bottom: 0;
}

.results-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--case-border);
    background: white;
    color: var(--case-text-light);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--case-primary);
    color: var(--case-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--case-primary) 0%, var(--case-secondary) 100%);
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
}

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

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.result-card {
    background: var(--case-light);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--case-primary) 0%, var(--case-secondary) 100%);
    color: white;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-card.highlight .result-value {
    color: white;
}

.result-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-card.highlight .result-label {
    opacity: 0.9;
}

.result-card p {
    font-size: 13px;
    color: var(--case-text-light);
    margin-bottom: 0;
}

.result-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.integrator-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-stat {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--case-light) 0%, #f0f5ff 100%);
    border-radius: 12px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--case-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--case-dark);
    margin-bottom: 10px;
}

.result-stat p {
    font-size: 13px;
    color: var(--case-text-light);
    margin-bottom: 0;
}

.outlook-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border: 1px solid #cce0ff;
    padding: 32px;
    border-radius: 12px;
}

.outlook-box p {
    font-size: 16px;
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .case-layout {
        grid-template-columns: 1fr;
    }
    
    .case-sidebar {
        position: static;
        order: -1;
    }
    
    .case-nav {
        display: none;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integrator-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-hero {
        padding: 80px 0 60px;
    }
    
    .case-hero-title {
        font-size: 28px;
    }
    
    .case-hero-subtitle {
        font-size: 16px;
    }
    
    .case-main {
        padding: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .integrator-results {
        grid-template-columns: 1fr;
    }
    
    .pain-point-card {
        flex-direction: column;
    }
    
    .timeline-item {
        margin-bottom: 24px;
    }
}
