:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #14b8a6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #cbd5e1;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

.article {
    padding-top: 80px;
}

.article-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.article-hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.article-category {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    max-width: 800px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    gap: 24px;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--gray-light);
    border-radius: 50%;
}

.article-meta span:first-child::before {
    display: none;
}

.article-content-wrapper {
    padding: 60px 0 100px;
}

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.share-buttons {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.share-buttons h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.share-btn.twitter:hover { background: #000; color: #fff; }
.share-btn.linkedin:hover { background: #0077b5; color: #fff; }
.share-btn.facebook:hover { background: #1877f2; color: #fff; }
.share-btn.telegram:hover { background: #0088cc; color: #fff; }

.related-articles h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.related-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.related-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content {
    max-width: 800px;
}

.article-lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-lighter);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--dark);
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--dark);
}

.article-content ul, 
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--dark);
}

.article-content ul li {
    list-style-type: disc;
}

.article-content strong {
    color: var(--dark);
    font-weight: 700;
}

.article-content blockquote {
    margin: 40px 0;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.article-content blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
}

.article-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-lighter);
}

.tag {
    padding: 8px 16px;
    background: var(--light);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.article-navigation {
    margin-top: 48px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.back-to-blog:hover {
    background: var(--primary);
    transform: translateX(-4px);
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .share-buttons,
    .related-articles {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .article-hero {
        height: 400px;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

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

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
    }

    .article-lead {
        font-size: 1.15rem;
    }
}
