.changelog-page {
    margin-top: var(--topbar-height);
    background-color: #ffffff;
    min-height: calc(100vh - var(--topbar-height));
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.changelog-hero {
    padding: 4.5rem 2rem 3.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 110%, rgba(8, 187, 231, 0.08), transparent 70%),
        linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.changelog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.changelog-last-updated {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Content Container */
.changelog-content-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.changelog-container {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    /* Slate-700 */
}

/* Hide markdown h1 since title is in the hero */
.changelog-body h1 {
    display: none;
}

/* Version Headers (Markdown h2 -> e.g. ## [1.1.0] - 2026-08-01) */
.changelog-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

/* Reset margin for first version heading */
.changelog-body h2:first-of-type {
    margin-top: 0;
}

/* Category Headers (Markdown h3 -> Added, Fixed, Changed, etc.) */
.changelog-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.changelog-body p {
    margin-bottom: 1.5rem;
}

.changelog-body a {
    color: var(--brand-dark, #0284c7);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--brand-color, #08bbe7);
    transition: all 0.2s ease;
}

.changelog-body a:hover {
    color: var(--brand-color, #08bbe7);
    border-bottom-style: solid;
}

.changelog-body strong {
    color: #0f172a;
    font-weight: 600;
}

.changelog-body hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 3.5rem 0;
}

/* Bullet list styling */
.changelog-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.75rem;
}

.changelog-body ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.changelog-body ul li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-color, #08bbe7);
}

/* Blockquotes / Announcement Callouts */
.changelog-body blockquote {
    border-left: 4px solid var(--brand-color, #08bbe7);
    background-color: #f8fafc;
    padding: 1.25rem 1.75rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    color: #475569;
    font-style: italic;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.changelog-body blockquote strong {
    font-style: normal;
    color: #0f172a;
}

/* Inline Code Elements */
.changelog-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
    background-color: #f1f5f9;
    color: #0f172a;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .changelog-hero {
        padding: 3.5rem 1.5rem 2.5rem;
    }

    .changelog-content-section {
        padding: 2.5rem 1.25rem;
    }

    .changelog-body {
        font-size: 1rem;
        line-height: 1.65;
    }

    .changelog-body h2 {
        font-size: 1.35rem;
        margin-top: 2.5rem;
    }

    .changelog-body h3 {
        font-size: 1.05rem;
        margin-top: 1.5rem;
    }
}