/* ===========================================
   BEFORE/AFTER SECTION - NEW DESIGN
   =========================================== */

.before-after-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.comparison-grid-new {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.comparison-item-new {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comparison-label-new {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 0 auto;
}

.before-label {
    background: #F3F4F6;
    color: #6B7280;
    border: 2px solid #E5E7EB;
}

.after-label {
    background: #FFF5F4;
    color: #F5655A;
    border: 2px solid #FFE5E2;
}

.comparison-arrow-new {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: bold;
    align-self: center;
    margin-top: 80px;
}

/* Instagram Mockup */
.instagram-mockup {
    background: white;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.instagram-mockup:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.insta-mockup-header {
    padding: 16px;
    border-bottom: 1px solid #DBDBDB;
    background: #FAFAFA;
}

.insta-profile-small {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-pic-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E0E0E0;
    border: 2px solid #E0E0E0;
}

.profile-pic-small.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8A82 100%);
    border: 2px solid var(--primary-color);
}

.profile-name-small {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* Instagram Grid - Empty */
.insta-grid-empty {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: white;
}

.empty-post {
    aspect-ratio: 1/1;
    background: #F5F5F5;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0.7;
    filter: grayscale(50%) contrast(0.8);
}

/* Instagram Grid - Filled */
.insta-grid-filled {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: white;
}

.filled-post {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #FFE5E2 0%, #FFD1CC 100%);
    position: relative;
}

.filled-post.post-1 {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.filled-post.post-2 {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

.filled-post.post-3 {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
}

.filled-post.post-4 {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.filled-post.post-5 {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
}

.filled-post.post-6 {
    background: linear-gradient(135deg, #FFE5E2 0%, #FFD1CC 100%);
}

.filled-post.post-7 {
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
}

.filled-post.post-8 {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
}

.filled-post.post-9 {
    background: linear-gradient(135deg, #F1F8E9 0%, #DCEDC8 100%);
}

/* Comparison Details */
.comparison-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #F3F4F6;
    transition: box-shadow 0.3s ease;
}

.comparison-details:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comparison-details h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

.icon-x,
.icon-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2.5;
    margin-top: 2px;
}

.icon-x {
    color: #6B7280;
}

.icon-check {
    color: #F5655A;
}

.detail-footer {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: #F3F4F6;
    color: #6B7280;
    margin: 0;
}

.detail-footer.success {
    background: #FFF5F4;
    color: #F5655A;
}

/* Before Details Styling */
.before-details {
    /* No left border */
}

/* After Details Styling */
.after-details {
    /* No left border */
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .comparison-grid-new {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .comparison-arrow-new {
        transform: rotate(90deg);
        margin: 0 auto;
        font-size: 36px;
    }
    
    .comparison-label-new {
        font-size: 20px;
    }
    
    .comparison-details {
        padding: 24px;
    }
    
    .comparison-details h3 {
        font-size: 18px;
    }
    
    .detail-list li {
        font-size: 14px;
    }
    
    .icon-x,
    .icon-check {
        width: 18px;
        height: 18px;
    }
}
