/* MacBook Display Problems Blog - Scoped CSS (Only affects this page) */

.macbook-blog-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.macbook-blog-page {
    font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, \'Helvetica Neue\', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.macbook-blog-page .blog-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.macbook-blog-page .hero-section {
    position: relative;
    overflow: hidden;
}

.macbook-blog-page .hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.macbook-blog-page .hero-image:hover {
    transform: scale(1.05);
}

.macbook-blog-page .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: white;
}

.macbook-blog-page .content-wrapper {
    padding: 50px;
}

.macbook-blog-page h1 {
    font-size: 2.8em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 800;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.macbook-blog-page .intro-text {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    border-left: 6px solid #667eea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.macbook-blog-page .intro-text::before {
    content: \"💡\";
    font-size: 3em;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
}

.macbook-blog-page .problem-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    margin: 40px 0;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.macbook-blog-page .problem-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.macbook-blog-page .problem-section::before {
    content: \'\';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 20px 20px 0 0;
}

.macbook-blog-page .problem-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.macbook-blog-page h2 {
    font-size: 2em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 700;
    display: inline-block;
}

.macbook-blog-page h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.macbook-blog-page h3::before {
    content: \'▸\';
    color: #667eea;
    font-size: 1.2em;
}

.macbook-blog-page p {
    margin-bottom: 18px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
}

.macbook-blog-page .recommendation-box {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 6px solid #4caf50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    position: relative;
}

.macbook-blog-page .recommendation-box::before {
    content: \'✓\';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 3em;
    color: #4caf50;
    opacity: 0.2;
}

.macbook-blog-page .recommendation-box h3 {
    color: #2d5016;
    margin-top: 0;
}

.macbook-blog-page .recommendation-box p {
    color: #2d5016;
}

.macbook-blog-page .warning-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 6px solid #ff9800;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
    position: relative;
}

.macbook-blog-page .warning-box::before {
    content: \'⚠\';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 3em;
    color: #ff9800;
    opacity: 0.2;
}

.macbook-blog-page .warning-box p {
    color: #8b5a00;
}

.macbook-blog-page .highlight-box {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 6px solid #e91e63;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
    position: relative;
}

.macbook-blog-page .highlight-box::before {
    content: \'🔧\';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 3em;
    opacity: 0.2;
}

.macbook-blog-page .highlight-box h2 {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.macbook-blog-page .highlight-box p {
    color: #fff;
}

.macbook-blog-page strong {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 2px 6px;
    border-radius: 4px;
}

.macbook-blog-page ul {
    margin: 20px 0 20px 30px;
}

.macbook-blog-page ul li {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.8;
    position: relative;
    padding-left: 15px;
}

.macbook-blog-page ul li::marker {
    color: #667eea;
    font-size: 1.3em;
}

.macbook-blog-page hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 50px 0;
}

.macbook-blog-page .cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.macbook-blog-page .cta-section::before {
    content: \'\';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.macbook-blog-page .cta-section h2 {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 20px;
    font-size: 2em;
    position: relative;
    z-index: 1;
}

.macbook-blog-page .cta-section p {
    font-size: 1.15em;
    margin-bottom: 0;
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 1;
}

.macbook-blog-page .icon-check {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4caf50, #81c784);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .macbook-blog-page {
        padding: 20px 10px;
    }
    
    .macbook-blog-page .content-wrapper {
        padding: 30px 20px;
    }
    
    .macbook-blog-page h1 {
        font-size: 2em;
    }
    
    .macbook-blog-page h2 {
        font-size: 1.6em;
    }
    
    .macbook-blog-page h3 {
        font-size: 1.2em;
    }
    
    .macbook-blog-page .problem-section {
        padding: 25px 20px;
    }
    
    .macbook-blog-page .cta-section {
        padding: 30px 20px;
    }
}