/* Premium Blog Article Styles */

/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background: #fafafa;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header/Navigation */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
    font-size: 1.15rem;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 32px;
    width: 32px;
}

.nav-logo strong {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* Article Header Section */
header h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin: 64px 0 20px 0;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.muted {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto 48px auto;
    padding: 0 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Main content */
main {
    background: white;
    margin: 48px auto 80px auto;
    padding: 56px 48px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 800px;
}

main p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    color: #374151;
    font-weight: 400;
}

main p strong {
    color: #0f172a;
    font-weight: 600;
}

main h2 {
    font-size: 2rem;
    margin-top: 56px;
    margin-bottom: 24px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

main h2:first-child {
    margin-top: 0;
}

main h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Lists */
main ul {
    margin: 28px 0;
    padding-left: 0;
    list-style: none;
}

main ul li {
    margin-bottom: 16px;
    padding-left: 36px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

main ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
    font-size: 1.2rem;
}

main ul li strong {
    color: #0f172a;
    font-weight: 600;
}

/* Callout box */
.callout {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    border-left: 4px solid #6366f1;
    padding: 32px 36px;
    margin: 48px 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.08);
}

.callout p {
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Divider */
.divider {
    border: none;
    border-top: 2px solid #f1f5f9;
    margin: 56px 0;
}

/* Links */
main a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

main a:hover {
    border-bottom-color: #6366f1;
}

/* "Next reads" section */
main p.muted {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #64748b;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 48px 0;
    text-align: center;
    margin-top: 80px;
}

.footer p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

.footer a {
    color: #e0e7ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
        margin: 40px 0 16px 0;
    }
    
    .muted {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    main {
        padding: 40px 28px;
        margin: 32px 16px 60px 16px;
        border-radius: 12px;
    }
    
    main h2 {
        font-size: 1.65rem;
        margin-top: 40px;
    }
    
    main h3 {
        font-size: 1.35rem;
    }
    
    main p,
    main ul li {
        font-size: 1.05rem;
    }
    
    .nav {
        padding: 0 20px;
    }
    
    .callout {
        padding: 24px 24px;
        margin: 36px 0;
    }
    
    .btn-primary {
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.85rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-logo img {
        height: 26px;
        width: 26px;
    }
    
    .nav-cta {
        padding: 9px 20px;
        font-size: 0.9rem;
    }
    
    main {
        padding: 32px 20px;
    }
}