/* Case Study Page Styles */

.case-hero {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.case-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.case-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-preview {
    padding: 80px 0;
    background: #F8FAFC;
}

.dashboard-preview h2,
.feature-showcase h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1F2937;
}

.section-desc {
    text-align: center;
    color: #64748B;
    font-size: 18px;
    margin-bottom: 48px;
}

/* Mock Dashboard */
.mock-dashboard {
    display: flex;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.mock-sidebar {
    width: 220px;
    background: #6366F1;
    color: white;
    padding: 20px 0;
    flex-shrink: 0;
}

.mock-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    color: #6366F1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    font-weight: 600;
    font-size: 14px;
}

.logo-text span {
    color: #FF6B6B;
}

.mock-nav-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    padding: 16px 20px 8px;
}

.mock-nav-item {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.mock-nav-item:hover {
    background: rgba(255,255,255,0.1);
}

.mock-nav-item.active {
    background: rgba(255,255,255,0.2);
    border-left: 3px solid #FF6B6B;
}

.mock-content {
    flex: 1;
    padding: 24px;
    background: #F8FAFC;
}

.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mock-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
}

.mock-trial-badge {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.mock-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mock-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E2E8F0;
}

.mock-stat-card h4 {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 8px;
}

.mock-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
}

.mock-progress {
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.mock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #818CF8);
    border-radius: 3px;
}

.mock-trend {
    font-size: 12px;
    margin-top: 8px;
}

.mock-trend.positive {
    color: #10B981;
}

.mock-trend.warning {
    color: #F59E0B;
}

.mock-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.mock-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E2E8F0;
}

.mock-card.full-width {
    grid-column: 1 / -1;
}

.mock-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

.mock-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.mock-alert.success {
    background: #D1FAE5;
    color: #059669;
}

.mock-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

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

.mock-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: #EEF2FF;
    color: #6366F1;
}

.mock-badge.success {
    background: #D1FAE5;
    color: #059669;
}

.mock-badge.warning {
    background: #FEF3C7;
    color: #D97706;
}

.mock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mock-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: #F1F5F9;
    color: #475569;
    cursor: pointer;
}

.mock-btn.primary {
    background: #6366F1;
    color: white;
}

/* Feature Showcase */
.feature-showcase {
    padding: 80px 0;
    background: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.showcase-item {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    border-color: #6366F1;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.showcase-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.showcase-icon.journals {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.showcase-icon.wellbeing {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.showcase-icon.inspection {
    background: linear-gradient(135deg, #10B981, #059669);
}

.showcase-icon.business {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.showcase-icon.compliance {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.showcase-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}

.showcase-mock {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #E2E8F0;
    min-height: 160px;
}

.showcase-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

/* Mock Table */
.mock-table {
    font-size: 13px;
}

.mock-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 8px;
    padding: 10px;
    background: #F1F5F9;
    border-radius: 8px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.mock-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid #F1F5F9;
    color: #1F2937;
}

/* Mock Observation */
.mock-observation {
    padding: 4px;
}

.mock-obs-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mock-avatar {
    width: 36px;
    height: 36px;
    background: #6366F1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.mock-obs-header strong {
    display: block;
    font-size: 14px;
    color: #1F2937;
}

.mock-date {
    font-size: 12px;
    color: #94A3B8;
}

.mock-obs-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 12px;
}

.mock-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mock-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.mock-tag.shanarri {
    background: #FCE7F3;
    color: #BE185D;
}

.mock-tag.cfe {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* Mock SHANARRI */
.mock-shanarri {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shanarri-indicator {
    display: grid;
    grid-template-columns: 28px 80px 1fr;
    align-items: center;
    gap: 10px;
}

.shanarri-letter {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.shanarri-indicator span {
    font-size: 13px;
    color: #475569;
}

.shanarri-bar {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.shanarri-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: 4px;
}

/* Mock Inspection Pack */
.mock-inspection-pack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pack-section-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
}

.pack-number {
    width: 24px;
    height: 24px;
    background: #6366F1;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Mock Invoice */
.mock-invoice {
    padding: 14px;
    background: #F8FAFC;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #F59E0B;
}

.mock-invoice.paid {
    border-left-color: #10B981;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.invoice-number {
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
}

.invoice-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #1F2937;
}

.invoice-amount {
    font-weight: 700;
}

.invoice-meta {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 6px;
}

/* Mock Compliance */
.mock-compliance {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.compliance-item.success {
    background: #D1FAE5;
    color: #059669;
}

.compliance-item.warning {
    background: #FEF3C7;
    color: #D97706;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-actions .btn-primary {
    background: white;
    color: #6366F1;
}

.cta-actions .btn-primary:hover {
    background: #F8FAFC;
}

.cta-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.3);
        transform: scale(1.02);
    }
}

.cta-actions .btn-ghost,
.cta-section .cta-actions .btn.btn-ghost.btn-large {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.cta-actions .btn-ghost:hover,
.cta-section .cta-actions .btn.btn-ghost.btn-large:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Footer Fix */
.footer .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 8px 0 0 0;
}

.footer .footer-brand .brand {
    color: white;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer .footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .mock-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-hero h1 {
        font-size: 32px;
    }
    
    .mock-dashboard {
        flex-direction: column;
    }
    
    .mock-sidebar {
        width: 100%;
        display: none;
    }
    
    .mock-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mock-cards-row {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .mock-table-header,
    .mock-table-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .mock-table-header span:nth-child(3),
    .mock-table-header span:nth-child(4),
    .mock-table-row span:nth-child(3),
    .mock-table-row span:nth-child(4) {
        display: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
