/* Case Study Refonte Styles */

/* Hero */
.cs-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.cs-hero-overlay {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(90deg, rgba(0, 51, 41, 0.92) 0%, rgba(0, 51, 41, 0.6) 50%, rgba(0, 51, 41, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 64px 64px;
    box-sizing: border-box;
    gap: 48px;
}

.cs-hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #D8F283;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
}

.cs-hero-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0;
}

.cs-hero-subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.cs-hero-play {
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.cs-hero-play:hover {
    transform: scale(1.08);
}

.cs-hero-play img {
    width: 80px;
    height: 80px;
}

/* Video Popup */
.cs-video-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
}

.cs-video-popup-inner {
    position: relative;
    width: 90vw;
    max-width: 860px;
}

.cs-video-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

/* Sections */
.cs-section {
    padding: 80px 64px;
    background: #FFFFFF;
}

.cs-section-alt {
    background: #F8FAF9;
}

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cs-section-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 500;
    color: #003329;
    margin: 0 0 32px 0;
}

.cs-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-text p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: #475467;
    margin: 0;
}

.cs-text strong {
    font-weight: 600;
    color: #181D27;
}

/* Two Column Layout */
.cs-two-col {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.cs-main-col {
    flex: 1;
    min-width: 0;
}

.cs-sidebar {
    width: 360px;
    flex-shrink: 0;
}

/* Quote Block */
.cs-quote-block {
    display: flex;
    gap: 0;
    margin: 24px 0;
}

.cs-quote-bar {
    width: 4px;
    background: #EC674E;
    border-radius: 2px;
    flex-shrink: 0;
}

.cs-quote-content {
    padding-left: 24px;
}

.cs-quote-text {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
    color: #181D27;
    margin: 0 0 12px 0;
    font-weight: 400;
}

.cs-quote-author {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #475467;
}

.cs-author-name {
    font-weight: 600;
    color: #181D27;
}

/* Sidebar Card */
.cs-sidebar-card {
    background: #F8FAF9;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-sidebar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.cs-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-sidebar-label {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #98A2B3;
    letter-spacing: 0.5px;
}

.cs-sidebar-value {
    font-family: var(--font-primary);
    font-size: 15px;
    color: #181D27;
    line-height: 1.4;
}

.cs-sidebar-link {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #003329;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.cs-sidebar-link:hover {
    opacity: 0.7;
}

/* Mission Card */
.cs-mission-card {
    background: #FFFAF9;
}

.cs-mission-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    color: #181D27;
    margin: 0;
}

.cs-mission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: #475467;
    line-height: 1.5;
}

.cs-mission-item img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-mission-item strong {
    font-weight: 600;
    color: #181D27;
}

/* Summary Grid */
.cs-summary-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.cs-summary-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-summary-heading {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: #003329;
    text-align: center;
    margin: 0 0 24px 0;
}

.cs-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
}

.cs-status-item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-status-done {
    background: rgba(0, 51, 41, 0.06);
    color: #003329;
}

.cs-status-done::before {
    background: #22C55E;
}

.cs-status-progress {
    background: rgba(236, 103, 78, 0.08);
    color: #EC674E;
}

.cs-status-progress::before {
    background: #EC674E;
}

.cs-status-neutral {
    background: rgba(152, 162, 179, 0.1);
    color: #98A2B3;
}

.cs-status-neutral::before {
    background: #D0D5DD;
}

/* Q&A Block */
.cs-qa-block {
    margin-bottom: 32px;
}

.cs-qa-question {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: #181D27;
    margin: 0 0 8px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .cs-hero-overlay {
        padding: 100px 24px 48px;
        flex-direction: column;
        align-items: flex-start;
        min-height: 400px;
    }

    .cs-hero-title {
        font-size: 32px;
    }

    .cs-section {
        padding: 48px 24px;
    }

    .cs-two-col {
        flex-direction: column;
    }

    .cs-sidebar {
        width: 100%;
    }

    .cs-section-title {
        font-size: 28px;
    }

    .cs-summary-grid {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .cs-hero-title {
        font-size: 26px;
    }

    .cs-hero-subtitle {
        font-size: 16px;
    }

    .cs-section {
        padding: 32px 16px;
    }

    .cs-quote-text {
        font-size: 16px;
    }

    .cs-hero-play {
        width: 60px;
        height: 60px;
    }

    .cs-hero-play img {
        width: 60px;
        height: 60px;
    }
}
