:root {
    --primary: #0A192F;
    --accent: #2A93D5;
    --accent-light: #EBF4FA;
    --text-main: #333333;
    --text-muted: #555555;
    --bg-color: #ffffff;
    --grid-color: #E6E6FA;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    opacity: 0.6;
}

/* Header */
.blog-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-header a {
    text-decoration: none;
}

.blog-header .logo {
    height: 50px;
    width: auto;
}

.blog-header .back-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.blog-header .back-link:hover {
    color: #1a7bb8;
}

/* Article */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 30px;
    color: var(--primary);
}

.blog-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary);
}

.blog-content p {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 1.05rem;
}

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

.blog-content li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.blog-content li strong {
    color: var(--primary);
}

.blog-content ul ul,
.blog-content ol ul {
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-content a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: #1a7bb8;
}

.blog-content .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 25px;
}

.blog-content .highlight-box {
    background-color: var(--accent-light);
    border: 1px solid #c5dff0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}

.blog-content .highlight-box p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.blog-content .highlight-box p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.blog-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
}

.blog-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(42, 147, 213, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1a7bb8;
    box-shadow: 0 6px 20px rgba(42, 147, 213, 0.6);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #000;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-details {
    font-size: 0.9rem;
    color: #ccc;
    text-align: right;
}

.footer-details a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-details a:hover {
    color: var(--accent);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .blog-content {
        padding: 24px;
    }

    .blog-content h2 {
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-details {
        text-align: center;
    }
}
