/* =====================================================
   ChoreEquity Case Study Styles
   ===================================================== */

.case-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.case-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--text);
    margin-bottom: 1rem;
}
.case-hero h1 span {
    color: var(--accent);
}
body.dark-mode .case-hero h1 span {
    color: #ccff00;
}

.case-hero p {
    font-size: 1.125rem;
    color: var(--text-2);
    max-width: 560px;
}

.case-hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.case-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section {
    padding: 6rem 0;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    color: var(--text);
}

.screenshot-container {
    margin: 2rem 0 4rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--bg-3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-block.reverse .case-screenshot {
        order: -1;
    }
}

.case-screenshot {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.case-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}
