/* --- VARIABLES (Copied from style.css for consistency) --- */
:root {
    --bg-color: #050509;
    --surface-color: #0F1015;
    --text-color: #F5F5F7;
    --subtle-text: #a0a0a0;
    --accent-color: #4F8BFF;
    --border-color: rgba(245, 245, 247, 0.1);
    --card-radius: 16px;
    --nav-height: 70px;
}

/* --- CASE STUDY NAV --- */
.case-study-nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

/* --- CASE STUDY HERO --- */
.case-study-hero {
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.case-study-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-study-hero .summary {
    font-size: 1.2rem;
    color: var(--subtle-text);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.case-study-hero .tags {
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- CASE STUDY CONTENT --- */
.case-study-content {
    padding: 4rem 0;
}

.case-study-section {
    max-width: 800px; /* Slightly narrower for readability */
    margin: 0 auto 4rem auto;
}

.case-study-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.case-study-section p,
.case-study-section ul {
    color: var(--subtle-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.case-study-section ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.screenshots {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* --- BACK BUTTON --- */
.back-button-container {
    text-align: center;
    padding: 2rem 0 4rem 0;
}

.back-button {
    display: inline-block;
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #1c1d24;
}