/* Case Study Custom Styles */

.case-study-content {
    padding: 80px 0;
    background: #fff;
}

.cs-hero-img-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #d4af37, #8a6310);
    border-radius: 12px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .cs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cs-hero-img-placeholder {
        height: 300px;
    }
    .macbook-screen {
        height: 250px;
    }
}

.cs-sidebar {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
}

.cs-sidebar-item {
    margin-bottom: 24px;
}

.cs-sidebar-item:last-child {
    margin-bottom: 0;
}

.cs-sidebar-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs-sidebar-item p, .cs-sidebar-item ul {
    font-weight: 500;
    color: #0f172a;
}

.cs-sidebar-item ul {
    list-style: none;
    padding: 0;
}

.cs-sidebar-item ul li {
    margin-bottom: 4px;
}

.cs-main h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #0f172a;
}

.cs-main h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #0f172a;
}

.cs-main p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.image-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.collage-item {
    background: #f1f5f9;
    border-radius: 8px;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.quote-block {
    padding: 40px;
    background: #fefce8;
    border-left: 4px solid #d4af37;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #854d0e;
}

/* Mockup Styles */
.macbook-mockup {
    width: 100%;
    background: #e2e8f0;
    border-radius: 12px 12px 0 0;
    padding: 15px 15px 0;
    position: relative;
    margin-top: 40px;
}

.macbook-mockup::before {
    content: '';
    display: block;
    height: 6px;
    width: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: -20px 0 0 #cbd5e1, 20px 0 0 #cbd5e1;
}

.macbook-screen {
    background: #fff;
    border-radius: 4px 4px 0 0;
    border: 3px solid #0f172a;
    border-bottom: none;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.macbook-base {
    height: 18px;
    background: #94a3b8;
    border-radius: 0 0 16px 16px;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.macbook-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 0 0 6px 6px;
}

.iphone-mockup {
    width: 280px;
    height: 580px;
    background: #0f172a;
    border-radius: 36px;
    margin: 40px auto;
    padding: 12px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.iphone-screen {
    background: #fff;
    height: 100%;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.device-mockup-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #8a6310);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.device-mockup-inner h4 {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.device-mockup-inner p {
    font-size: 1rem;
    opacity: 0.9;
    color: #fff;
    margin-bottom: 0;
}

/* Custom Live Button */
.btn-live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-live:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}
