/* General Styles */
:root {
    --brand-blue: #2563EB;
    --brand-cyan: #06b6d4;
    --brand-dark: #1e293b;
    --brand-navy: #0f172a;
    --brand-light: #f8faff;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--brand-dark);
    background-color: var(--brand-light);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    box-shadow: none !important;
}

.navbar-brand {
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(241, 245, 249, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-cyan) !important;
}

/* Article Sections */
.article-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.article-section:hover {
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 2px 12px rgba(6, 182, 212, 0.08);
}

.article-section h2 {
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.article-section h3 {
    color: var(--brand-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

/* Code Blocks */
.code-block {
    background: var(--brand-navy);
    border-radius: 6px;
    border-left: 3px solid var(--brand-cyan);
    box-shadow: -3px 0 12px rgba(6, 182, 212, 0.15);
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    position: relative;
}

.code-block::before {
    content: '● ● ●';
    display: block;
    color: rgba(6, 182, 212, 0.5);
    font-size: 0.55rem;
    letter-spacing: 5px;
    margin-bottom: 0.75rem;
}

.code-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #e2e8f0;
}

/* Tables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Accordion */
.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.accordion-button {
    padding: 1rem;
    background-color: #f8f9fa;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: #2c3e50;
}

.accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #2c3e50;
}

.accordion-body {
    padding: 1rem;
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-section {
        padding: 1rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
}

/* Note Blocks */
.note-block {
    background-color: #f0f9ff;
    border-left: 4px solid var(--brand-cyan);
    box-shadow: -4px 0 12px rgba(6, 182, 212, 0.1);
    padding: 1rem;
    margin: 1rem 0;
}

/* Lists */
.article-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-section li {
    margin-bottom: 0.5rem;
}

/* Links */
.article-section a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

 @media (min-width: 992px) {
 .container { max-width: 1100px !important; }
 } 