/* ===============================
   Headings
================================ */

.case-content h2 {
    margin-top: 3.2rem;
    margin-bottom: 1.2rem;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: #0f172a;
    position: relative;
    padding-left: 18px;
    animation: headingSlideIn 0.8s ease both;
}

/* accent bar */
.case-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 6px;
    height: 60%;
    border-radius: 999px;
    background: linear-gradient(180deg, #2563eb, #38bdf8);
}

.case-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.case-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

/* ===============================
   Paragraphs
================================ */

.case-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 1.4rem;
    animation: textFadeUp 0.8s ease both;
}

/* ===============================
   Lists (Global)
================================ */

.case-content ul {
    padding-left: 1.4rem;
    margin: 1rem 0 1.8rem;
}

.case-content ul li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: #475569;
    position: relative;
    padding-left: 8px;
}

/* subtle bullet enhancement */
.case-content ul li::marker {
    color: #2563eb;
}

/* ===============================
   Strategy Items
================================ */

.strategy-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 2.2rem;
}

.strategy-item {
    padding: 1.8rem 1.6rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: cardFadeUp 0.9s ease both;
}

.strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

/* ===============================
   Results Grid
================================ */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 2.4rem;
}

.result-item {
    padding: 2rem 1.4rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
    animation: scaleIn 0.8s ease both;
    transition: transform 0.35s ease;
}

.result-item:hover {
    transform: translateY(-10px) scale(1.03);
}

.result-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.result-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===============================
   Takeaways – Fixed List Items
================================ */

.takeaways {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.takeaways li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* check icon */
.takeaways li::before {
    content: "✔";
    flex-shrink: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 2px;
}

/* hover effect */
.takeaways li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

/* ===============================
   Responsive Fix
================================ */

@media (max-width: 480px) {
    .takeaways li {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}


/* ===============================
   Animations
================================ */

@keyframes headingSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 640px) {
    .case-content h2 {
        margin-top: 2.6rem;
    }

    .result-number {
        font-size: 1.9rem;
    }
}
