/* Case Studies Ultra - Specialized Styles */

/* Page Specifics */
.case-studies-page {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

/* Case Layout Container */
.case-studies-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Case Study Card Component */
.case-study-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

/* Visual Side (Left) */
.case-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    height: 100%;
}

.case-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 4px 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0a192f;
    background: var(--accent-primary);
    border-radius: 2px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.case-badge.warning { background: #ffbd2e; }
.case-badge.info { background: #00b4d8; }
.case-badge.danger { background: #ff5f56; }

/* Content Side (Right) */
.case-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Outcome Box */
.outcome-box {
    background: rgba(100, 255, 218, 0.05);
    border-left: 3px solid var(--accent-primary);
    padding: 1.25rem;
    border-radius: 0 4px 4px 0;
    margin-bottom: 1.5rem;
}

.outcome-box h4 {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

.outcome-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outcome-box li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.outcome-box li:last-child { margin-bottom: 0; }

.outcome-box li i {
    margin-right: 10px;
    margin-top: 4px;
    color: var(--accent-primary);
}

/* Footer Meta/Tags */
.case-meta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-link {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s;
}

.badge-link:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}

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