:root {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #e8effc;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --success: #10b981;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

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

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

.nav-links a.btn-primary {
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* Blog hero */
.blog-hero {
    padding: 140px 24px 60px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 50%, #f5f0ff 100%);
    text-align: center;
}

.blog-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.blog-hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

/* Blog listing */
.blog-list-section {
    padding: 80px 24px;
    background: var(--bg);
}

.blog-list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(26, 86, 219, 0.08);
    transform: translateY(-2px);
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.blog-card h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.blog-card p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-read {
    color: var(--primary);
    font-weight: 600;
}

/* Blog post */
.post-hero {
    padding: 140px 24px 50px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 50%, #f5f0ff 100%);
}

.post-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.post-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.post-breadcrumb a:hover {
    text-decoration: underline;
}

.post-hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta .blog-category {
    margin-bottom: 0;
}

.post-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 60px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text);
}

.post-body h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.post-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin: 0 0 24px 24px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 8px;
    font-style: italic;
    color: var(--text);
}

.post-body blockquote p:last-child {
    margin-bottom: 0;
}

.post-body strong {
    font-weight: 700;
    color: var(--text);
}

.post-body em {
    font-style: italic;
}

.post-body a {
    color: var(--primary);
    font-weight: 500;
}

.post-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.post-cta {
    max-width: 760px;
    margin: 0 auto 80px;
    padding: 36px;
    background: linear-gradient(135deg, #f0f5ff, #e8effc);
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
}

.post-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.post-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-nav {
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 0 24px;
    text-align: center;
}

/* Footer */
footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .blog-hero {
        padding: 120px 16px 40px;
    }

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

    .blog-list {
        grid-template-columns: 1fr;
    }

    .blog-list-section {
        padding: 48px 16px;
    }

    .post-hero {
        padding: 120px 16px 40px;
    }

    .post-hero h1 {
        font-size: 1.7rem;
    }

    .post-body {
        padding: 40px 20px 40px;
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.35rem;
    }

    .post-body h3 {
        font-size: 1.1rem;
    }

    .post-cta {
        padding: 28px 20px;
        margin: 0 16px 60px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
