/* Custom styling for code blocks */
.code-example pre {
    margin: 0;
    padding: 1.5rem;
    color: #d4d4d4 !important;
    font-size: 0.75rem; /* This is 14px */
}

.code-example code {
    color: #d4d4d4 !important;
    text-shadow: none !important;
    font-size: 0.75rem; /* This is 14px */
}

.code-example code {
    color: #d4d4d4 !important;
    text-shadow: none !important;
}

/* Override Prism.js dark theme colors */
.token.comment {
    color: #6a9955 !important;
}
.token.string {
    color: #ce9178 !important;
}
.token.keyword {
    color: #569cd6 !important;
}
.token.function {
    color: #dcdcaa !important;
}
.token.class-name {
    color: #4ec9b0 !important;
}
.token.operator {
    color: #d4d4d4 !important;
}
.token.punctuation {
    color: #d4d4d4 !important;
}
.token.parameter {
    color: #9cdcfe !important;
}

/* Rest of your styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --background-color: #f8fafc;
    --text-color: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, white, var(--background-color));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

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

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

.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.demo {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.code-title {
    background: #2d2d2d;
    color: #d4d4d4;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: "Fira Code", monospace;
    border-bottom: 1px solid #3d3d3d;
}

.demo-section {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.demo-section h3 {
    color: var(--primary-color);
    margin-top: 0;
}

footer {
    background-color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    color: #64748b;
}

/* Add styles for code block comments */
.code-content .comment {
    color: #6a9955 !important;
}