/* Article Styles CSS */
.article-container {
    margin-top: 120px;
    padding: 0 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.article-category {
    display: inline-block;
    background: rgba(139, 69, 197, 0.2);
    color: #8b45c5;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(139, 69, 197, 0.3);
}

.article-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #8b45c5, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.article-meta {
    color: #8b45c5;
    font-size: 16px;
    margin-bottom: 40px;
}

.article-hero {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #8b45c5, #4a90e2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease-out;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.article-content {
    color: #cccccc;
    line-height: 1.8;
    font-size: 18px;
    animation: slideInContent 0.8s ease-out;
}

.article-content h2 {
    color: #ffffff;
    font-size: 32px;
    margin: 40px 0 20px 0;
    background: linear-gradient(45deg, #8b45c5, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-content h3 {
    color: #ffffff;
    font-size: 24px;
    margin: 30px 0 15px 0;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlight-box {
    background: rgba(139, 69, 197, 0.1);
    border-left: 4px solid #8b45c5;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.back-btn {
    background: transparent;
    border: 2px solid #8b45c5;
    color: #8b45c5;
    padding: 15px 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
}

.back-btn:hover {
    background: #8b45c5;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 197, 0.3);
}

/* Code Block Styles */
.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 69, 197, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    position: relative;
}

.code-block::before {
    content: attr(data-language);
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(139, 69, 197, 0.2);
    color: #8b45c5;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
}

.code-block code {
    color: #ffffff;
    font-size: 14px;
}

/* SWOT Analysis Styles */
.swot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.swot-quadrant {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(139, 69, 197, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swot-quadrant:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 197, 0.2);
}

.swot-quadrant h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.strengths {
    border-left: 4px solid #4CAF50;
}

.strengths h3 {
    color: #4CAF50;
}

.weaknesses {
    border-left: 4px solid #FF5722;
}

.weaknesses h3 {
    color: #FF5722;
}

.opportunities {
    border-left: 4px solid #2196F3;
}

.opportunities h3 {
    color: #2196F3;
}

.threats {
    border-left: 4px solid #FF9800;
}

.threats h3 {
    color: #FF9800;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #8b45c5, #4a90e2);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: #8b45c5;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.timeline-date {
    color: #8b45c5;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 197, 0.2);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 197, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.skill-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.skill-level {
    color: #8b45c5;
    font-size: 14px;
}

/* Progress Bar */
.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b45c5, #4a90e2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Quote Styles */
.quote {
    font-style: italic;
    font-size: 20px;
    text-align: center;
    color: #8b45c5;
    margin: 40px 0;
    padding: 20px;
    border-left: 4px solid #8b45c5;
    background: rgba(139, 69, 197, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-container {
        padding: 0 20px;
        margin-top: 100px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-hero {
        height: 250px;
        font-size: 48px;
    }

    .article-content {
        font-size: 16px;
    }

    .swot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .swot-quadrant {
        padding: 20px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 9px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}