/* ==========================================================================
   FARAZ AKBAR STUDIO - INFOGRAPHIC CASE STUDY SYSTEM
   Vibrant, Data-Dense, High-Performance Infographic Architecture
   ========================================================================== */

:root {
    --cs-primary: #1e293b;
    --cs-accent: #0284c7;
    --cs-secondary: #0f172a;
    --cs-bg-soft: #f8fafc;
    --cs-card-border: #e2e8f0;
    --cs-text-main: #334155;
    --cs-text-muted: #64748b;
    --cs-radius: 16px;
    --cs-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --cs-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
    --cs-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Page Spacing */
.cs-page-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
    background: #fdfdfd;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cs-text-main);
}

/* Breadcrumbs */
.cs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.cs-breadcrumb a {
    color: #0284c7;
    text-decoration: none;
    transition: color 0.2s;
}
.cs-breadcrumb a:hover {
    color: #0369a1;
    text-decoration: underline;
}
.cs-breadcrumb i {
    font-size: 11px;
    opacity: 0.6;
}

/* Infographic Hero Banner */
.cs-hero {
    position: relative;
    border-radius: 24px;
    padding: 50px 40px;
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}
.cs-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cs-hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: #ffffff;
}
.cs-hero-tagline {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 820px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Meta Pills Bar */
.cs-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.cs-meta-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13.5px;
}
.cs-meta-pill i {
    color: #fbbf24;
    font-size: 15px;
}
.cs-meta-pill span {
    font-weight: 400;
    opacity: 0.8;
    margin-right: 4px;
}
.cs-meta-pill strong {
    font-weight: 700;
}

/* KPI Metrics Infographic Grid */
.cs-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.cs-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--cs-shadow-sm);
    position: relative;
    overflow: hidden;
}
.cs-metric-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cs-shadow-md);
    border-color: #cbd5e1;
}
.cs-metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--metric-color, #0284c7);
}
.cs-metric-val {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--metric-color, #0284c7);
    font-family: 'Oswald', 'Montserrat', sans-serif;
}
.cs-metric-lbl {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}
.cs-metric-sub {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
}

/* Infographic Section Headings */
.cs-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 36px auto;
}
.cs-section-subtitle {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cs-accent);
    margin-bottom: 8px;
    display: block;
}
.cs-section-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
}
.cs-section-desc {
    font-size: 15.5px;
    color: #64748b;
    line-height: 1.6;
}

/* Problem vs Solution Split Architecture */
.cs-split-comp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .cs-split-comp {
        grid-template-columns: 1fr;
    }
}
.cs-comp-card {
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: var(--cs-shadow-sm);
}
.cs-comp-card.friction {
    background: #fff8f8;
    border: 1px solid #fee2e2;
    border-top: 5px solid #ef4444;
}
.cs-comp-card.solution {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-top: 5px solid #10b981;
}
.cs-comp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 50px;
}
.cs-comp-card.friction .cs-comp-tag {
    background: #fee2e2;
    color: #b91c1c;
}
.cs-comp-card.solution .cs-comp-tag {
    background: #dcfce7;
    color: #15803d;
}
.cs-comp-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0f172a;
}
.cs-comp-text {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}
.cs-comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cs-comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.cs-comp-card.friction .cs-comp-list li i {
    color: #ef4444;
    margin-top: 3px;
}
.cs-comp-card.solution .cs-comp-list li i {
    color: #10b981;
    margin-top: 3px;
}

/* Roadmap Process Infographic */
.cs-roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
}
.cs-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    position: relative;
    box-shadow: var(--cs-shadow-sm);
    transition: all 0.3s ease;
}
.cs-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-md);
    border-color: #cbd5e1;
}
.cs-step-num {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.15);
}
.cs-step-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.cs-step-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 14px;
}
.cs-step-deliverables {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.cs-step-deliverables li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-step-deliverables li::before {
    content: '•';
    color: var(--cs-accent);
    font-weight: bold;
    font-size: 16px;
}

/* Color System & Brand Architecture Infographic */
.cs-color-palette {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.cs-color-chip {
    flex: 1 1 180px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--cs-shadow-sm);
}
.cs-color-preview {
    height: 90px;
    width: 100%;
}
.cs-color-info {
    padding: 12px;
    font-size: 13px;
}
.cs-color-name {
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}
.cs-color-hex {
    font-family: monospace;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Positive Impact Banner */
.cs-impact-box {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 15px 30px -10px rgba(6, 78, 59, 0.3);
    position: relative;
    overflow: hidden;
}
.cs-impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cs-impact-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}
.cs-impact-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 850px;
}

/* Call to Action Bar */
.cs-cta-bar {
    background: #0f172a;
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 50px;
}
.cs-cta-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}
.cs-cta-text p {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}
.cs-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cs-btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
}
.cs-btn-whatsapp:hover {
    background: #20ba57;
    transform: translateY(-2px);
}
.cs-btn-primary {
    background: #0284c7;
    color: #ffffff !important;
}
.cs-btn-primary:hover {
    background: #0369a1;
    transform: translateY(-2px);
}
.cs-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.cs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Previous / Next Case Study Nav */
.cs-pagination {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 16px;
}
.cs-page-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s;
}
.cs-page-link .sub {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}
.cs-page-link .title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-page-link:hover .title {
    color: #0284c7;
}

@media (max-width: 768px) {
    .cs-hero {
        padding: 30px 20px;
    }
    .cs-hero-title {
        font-size: 30px;
    }
    .cs-hero-tagline {
        font-size: 15.5px;
    }
    .cs-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cs-cta-bar {
        padding: 30px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Master Hub Cards */
.cs-hub-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}
.cs-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}
.cs-hub-card-header {
    padding: 28px 24px 22px;
    color: #ffffff !important;
    position: relative;
}
.cs-hub-card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.cs-hub-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 6px 0;
    line-height: 1.25;
}
.cs-hub-card-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.4;
    font-weight: 500;
}
.cs-hub-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.cs-hub-card-timeline {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cs-hub-card-timeline i {
    color: #0284c7;
}
.cs-hub-card-tagline {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.cs-hub-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0284c7 !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.cs-hub-card:hover .cs-hub-card-link {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
}

