/* VanillaSlice Custom Styles */

:root {
    --primary: #512BD4;
    --secondary: #2D79C7;
    --accent: #F7B731;
}

body {
    font-family: 'Inter', sans-serif;
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Prose styles for blog posts */
.prose {
    max-width: 75ch;
}

.prose h2 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #1a202c;
}

.prose h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #1a202c;
}

.prose h4 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    color: #1a202c;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    color: #4a5568;
}

.prose pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.25em;
    border-radius: 0.5em;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose code {
    background: #f7fafc;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-size: 0.9em;
    color: #c7254e;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: #e2e8f0;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 1em 0;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin: 1em 0;
}

.prose li {
    margin: 0.5em 0;
    color: #4a5568;
}

.prose blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #4a5568;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose th {
    background: #f7fafc;
    padding: 0.75em;
    text-align: left;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.prose td {
    padding: 0.75em;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

html.scroll-smooth {
    scroll-behavior: smooth;
}
