* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 16, 40, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-link {
    color: #8899aa;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-link:hover {
    color: #4a9eff;
}

.header-button {
    background: linear-gradient(135deg, #4a9eff 0%, #1f6eff 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.header-button:hover {
    background: linear-gradient(135deg, #5aaeff 0%, #2f7fff 100%);
    transform: translateY(-2px);
}

/* ===== BLOG LAYOUT ===== */
.blog-container {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 320px;
    background: rgba(10, 16, 40, 0.5);
    border-right: 1px solid rgba(74, 158, 255, 0.1);
    position: fixed;
    height: calc(100vh - 70px);
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 85px;
    left: 20px;
    z-index: 1001;
    background: rgba(74, 158, 255, 0.2);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: #4a9eff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(74, 158, 255, 0.3);
}

.sidebar-content {
    padding: 40px 24px;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.sidebar-header p {
    font-size: 13px;
    color: #8899aa;
    line-height: 1.5;
    margin-bottom: 32px;
}

.sidebar-nav {
    margin-bottom: 40px;
}

.nav-section {
    margin-bottom: 32px;
}

.nav-section-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: #667788;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #8899aa;
    transition: all 0.3s ease;
    margin-bottom: 6px;
    position: relative;
}

.nav-link:hover {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
}

.nav-link.active {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    border-left: 3px solid #4a9eff;
}

.nav-number {
    font-size: 11px;
    font-weight: 700;
    color: #667788;
    min-width: 20px;
}

.nav-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

.nav-badge {
    font-size: 9px;
    background: #4a9eff;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sidebar-cta {
    background: rgba(74, 158, 255, 0.05);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
}

.sidebar-cta p {
    font-size: 12px;
    color: #8899aa;
    line-height: 1.5;
    margin-bottom: 16px;
}

.sidebar-cta-button {
    display: inline-block;
    background: #4a9eff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-cta-button:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
.blog-main {
    margin-left: 320px;
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

.blog-hero {
    margin-bottom: 60px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #4a9eff;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #4a9eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: #8899aa;
    line-height: 1.6;
}

/* ===== FEATURED ARTICLE ===== */
.featured-article {
    background: rgba(74, 158, 255, 0.05);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
}

.featured-badge {
    display: inline-block;
    background: #4a9eff;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.featured-article h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-article h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-article h2 a:hover {
    color: #4a9eff;
}

.article-meta {
    font-size: 13px;
    color: #667788;
    margin-bottom: 16px;
}

.article-excerpt {
    font-size: 16px;
    color: #8899aa;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #4a9eff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.article-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-5px);
}

.article-category {
    font-size: 10px;
    color: #4a9eff;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #4a9eff;
}

.article-card .article-excerpt {
    font-size: 14px;
    margin-bottom: 12px;
}

.article-card .article-meta {
    margin-bottom: 0;
}

/* ===== ARTICLE PAGE ===== */
.article-header {
    margin-bottom: 48px;
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.article-subtitle {
    font-size: 20px;
    color: #8899aa;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.5;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #d0d0d0;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 24px 0;
    color: #fff;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 36px 0 16px 0;
    color: #4a9eff;
}

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

.article-content strong {
    color: #fff;
    font-weight: 600;
}

.article-content em {
    color: #8899aa;
    font-style: italic;
}

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

.article-content li {
    margin-bottom: 12px;
    color: #d0d0d0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.article-content th {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    font-weight: 600;
    font-size: 14px;
}

.article-content td {
    color: #d0d0d0;
    font-size: 15px;
}

.article-content code {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
}

.article-content blockquote {
    border-left: 4px solid #4a9eff;
    padding-left: 24px;
    margin: 32px 0;
    color: #8899aa;
    font-style: italic;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #8899aa;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #4a9eff;
    color: #fff;
    padding: 18px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    text-align: center;
    color: #8899aa;
    font-size: 13px;
}

.company-reg {
    margin-top: 20px;
    font-size: 12px;
    color: #667788;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-main {
        padding: 40px 60px;
    }
    
    .blog-hero-title {
        font-size: 42px;
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .blog-main {
        margin-left: 0;
        padding: 30px 24px;
    }
    
    .blog-hero-title {
        font-size: 32px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        padding: 24px;
    }
    
    .header-inner {
        padding: 18px 20px;
    }
    
    .header-right {
        gap: 16px;
    }
    
    .header-link {
        font-size: 13px;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.5);
}