:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Blog Content */
.blog-content {
    margin-top: 5rem;
    padding: 2rem 0;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta span:not(:last-child)::after {
    content: "•";
    margin: 0 0.5rem;
}

.post-featured-image {
    margin: 2rem -1.5rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.875rem;
    margin: 3rem 0 1.5rem;
    color: var(--text);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content .lead {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
}

/* Blockquotes and Callouts */
.highlight-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
}

.highlight-quote p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.highlight-quote cite {
    color: var(--text-light);
    font-style: normal;
}

.content-box {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.callout {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 0.5rem;
    border: 1px solid #bae6fd;
}

/* Lists */
.feature-list,
.checkmark-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.feature-list li,
.checkmark-list li {
    margin-bottom: 1rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.checkmark-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Conclusion Section */
.conclusion {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    border-radius: 0.5rem;
    text-align: center;
}

.conclusion p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-share {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 0.375rem;
    color: var(--text);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share:hover {
    background: var(--surface);
    border-color: var(--text-light);
}

/* Post Footer */
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Related Posts */
.related-posts {
    background: var(--surface);
    padding: 4rem 0;
    margin-top: 4rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-post {
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease;
}

.related-post:hover {
    transform: translateY(-2px);
}

.related-post img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.related-post h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.related-post .post-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: #0071c5;
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-lighter);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section a {
    display: block;
    color: var(--text-lighter);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-lighter);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
    }
}