/* Premium SEO Content Styling */

.seo-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.premium-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 25px;
    padding: 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.article-header {
    padding: 40px 40px 20px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.article-title {
    font-size: 2.2em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #667eea; /* Fallback */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.premium-content {
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    font-size: 1.1em;
    color: #2d3748;
}

.premium-content h3 {
    color: #667eea;
    font-size: 1.4em;
    font-weight: 700;
    margin: 35px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.premium-content h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.premium-content p {
    margin-bottom: 20px;
    text-align: justify;
    color: #4a5568;
}

.premium-content p:first-child {
    font-size: 1.2em;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 30px;
}

.premium-content ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.premium-content li {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    margin: 12px 0;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-content li::before {
    content: '✦';
    color: #667eea;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1em;
}

.premium-content li:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.premium-content strong {
    color: #667eea;
    font-weight: 700;
}

.premium-content .highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-content-wrapper {
        padding: 0 15px;
    }
    
    .article-header {
        padding: 30px 25px 15px 25px;
    }
    
    .article-title {
        font-size: 1.8em;
    }
    
    .meta-item {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .premium-content {
        padding: 30px 25px;
        font-size: 1em;
    }
    
    .premium-content h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 25px 20px 15px 20px;
    }
    
    .article-title {
        font-size: 1.6em;
    }
    
    .article-meta {
        gap: 8px;
    }
    
    .premium-content {
        padding: 25px 20px;
    }
    
    .premium-content li {
        padding: 12px 15px;
    }
}

/* Animation for content loading */
.premium-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .premium-card {
        background: linear-gradient(145deg, #1a202c 0%, #2d3748 100%);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .article-header {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        border-bottom-color: rgba(102, 126, 234, 0.2);
    }
    
    .premium-content {
        color: #e2e8f0;
    }
    
    .premium-content p {
        color: #cbd5e0;
    }
    
    .premium-content p:first-child {
        color: #e2e8f0;
    }
    
    .premium-content li {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    }
    
    .premium-content li:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    }
}