/* ==========================================
   Case Study Page Styles
   ========================================== */

/* Breadcrumb */
.breadcrumb {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.breadcrumb a {
    color: #534AB7;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 0.45rem;
    color: #d1d5db;
}

/* Case Study Hero */
.cs-hero {
    background: #1a1a2e;
    color: #ffffff;
    padding: 5rem 0 4rem;
    text-align: center;
}

.cs-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.cs-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #D85A30;
    margin-bottom: 1.5rem;
}

.cs-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.cs-hero-sub {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.cs-pill {
    background: #ffffff;
    color: #534AB7;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* Prose sections */
.cs-section {
    padding: 5rem 0;
}

.cs-section--white  { background: #ffffff; }
.cs-section--gray   { background: #f9fafb; }

.cs-prose {
    max-width: 760px;
    margin: 0 auto;
}

.cs-prose h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #1f2937;
}

.cs-prose p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1.3rem;
}

.cs-prose p:last-child {
    margin-bottom: 0;
}

/* Section label + headline used in solution / discovery */
.cs-section-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #D85A30;
    margin-bottom: 0.6rem;
}

.cs-section-headline {
    font-size: 2.2rem;
    font-weight: 800;
    max-width: 700px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #1f2937;
}

.cs-body-block {
    max-width: 760px;
}

.cs-body-block p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1.3rem;
}

.cs-body-block p:last-child {
    margin-bottom: 0;
}

/* Pull Quote */
.cs-pull-quote {
    padding: 4.5rem 0;
    text-align: center;
}

.cs-pull-quote--coral  { background: #D85A30; }
.cs-pull-quote--indigo { background: #534AB7; }

.cs-quote-inner {
    max-width: 780px;
    margin: 0 auto;
}

.cs-quote-text {
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.cs-quote-attr {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-weight: 500;
}

/* How It Works Steps */
.cs-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.cs-step { text-align: center; }

.cs-step-number {
    width: 52px;
    height: 52px;
    background: #534AB7;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.cs-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.cs-step p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #6b7280;
}

/* Results stats grid */
.cs-results-headline {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #1f2937;
}

.cs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 2.5rem;
    background: #f9fafb;
    border-radius: 16px;
}

.cs-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #534AB7;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.cs-stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

/* Discovery Box (Luxe Nails) */
.cs-discovery-box {
    max-width: 760px;
    margin: 0 auto;
    border: 2px solid #534AB7;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #f5f4ff 0%, #ffffff 100%);
}

.cs-discovery-box h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    color: #1f2937;
}

.cs-discovery-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

/* Insights cards */
.cs-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.cs-insight-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.cs-insight-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.cs-insight-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #534AB7;
}

.cs-insight-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #6b7280;
}

/* Is This You */
.cs-biz-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 3rem;
    max-width: 500px;
    margin: 1.75rem auto 2.5rem;
    text-align: left;
}

.cs-biz-columns li {
    list-style: none;
    padding: 0.4rem 0 0.4rem 1.6rem;
    position: relative;
    font-size: 1rem;
    color: #374151;
}

.cs-biz-columns li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #534AB7;
    font-weight: 700;
}

/* Closing CTA */
.cs-closing-cta {
    background: linear-gradient(135deg, #534AB7 0%, #3d35a0 100%);
    color: #ffffff;
    padding: 5.5rem 0;
    text-align: center;
}

.cs-closing-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.cs-closing-cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cs-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-coral {
    background: #D85A30;
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-coral:hover {
    background: #c24e26;
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.55);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: border-color 0.2s, background 0.2s;
}

.btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-indigo {
    background: #534AB7;
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-indigo:hover {
    background: #3d35a0;
}

/* Also Read cross-link */
.cs-also-read {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
    text-align: center;
}

.cs-also-read p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.cs-also-read a {
    color: #534AB7;
    font-weight: 600;
    text-decoration: none;
}

.cs-also-read a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .cs-hero h1 {
        font-size: 2rem;
    }

    .cs-hero-sub {
        font-size: 1.05rem;
    }

    .cs-quote-text {
        font-size: 1.25rem;
    }

    .cs-prose h2,
    .cs-section-headline,
    .cs-results-headline,
    .cs-closing-cta h2 {
        font-size: 1.75rem;
    }

    .cs-discovery-box {
        padding: 1.75rem;
    }

    .cs-discovery-box h3 {
        font-size: 1.4rem;
    }

    .cs-steps,
    .cs-insights-grid {
        grid-template-columns: 1fr;
    }

    .cs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .cs-stat-number {
        font-size: 2.4rem;
    }

    .cs-biz-columns {
        grid-template-columns: 1fr;
    }

    .cs-pills {
        flex-direction: column;
        align-items: center;
    }
}
