body.demo .container {
    width: min(100% - 32px, 900px);
}

body.post h1 {
    max-width: none;
}

.post__image {
    margin-top: 24px;
}

.demo-bar {
    background: #1a1a1a;
    color: white;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #333;
}

.demo-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-selector select {
    background: #333;
    color: white;
    border: 1px solid #444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.post__tag {
    background: #e0e0e0;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 10px;
}

.post__tag--std {
    background: #d6d4d4;
}

.post__tag--premium {
    background: rgb(245, 241, 220);
}

.demo-selector select:hover {
    border-color: #666;
}

body.demo section {
    padding: 50px 0;
}

body.demo .post__tech {
    padding: 32px;
    background: #f5f5f5;
    margin-bottom: 50px;
    font-size: 14px;
}

body.demo .post__tech h2 {
    font-size: 20px;
    line-height: 1;
}

blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    /* Indigo accent */
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #334155;
    line-height: 1.8;
    font-size: 1.125rem;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.02);
}

blockquote::before {
    content: "“";
    position: absolute;
    top: -15px;
    left: 10px;
    font-size: 5rem;
    color: rgba(99, 102, 241, 0.1);
    font-family: "Georgia", serif;
    line-height: 1;
    pointer-events: none;
}

blockquote p {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: 1.25rem;
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    letter-spacing: 0.025em;
}

blockquote cite::before {
    content: "— ";
    color: #6366f1;
}

/* Post Bio & Author Card */
.post__bio {
    /*background: #fff;*/
    border-top: 1px solid #f1f5f9;
    padding: 60px 0;
}

.author-card {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    background: #f8fafc;
    padding: 3rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    border: 1px solid #e2e8f0;
}

.author-card__image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.author-card__content {
    flex: 1;
}

.author-card__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6366f1;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.author-card__name {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    color: #0f172a;
    font-weight: 800;
}

.author-card__bio {
    margin: 0 0 1.5rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
}

.author-card__social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.post-footer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
}

.post-detail__title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.post-detail__value {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}


@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .author-card__bio {
        margin-left: auto;
        margin-right: auto;
    }

    .author-card__social {
        justify-content: center;
    }
}

/* SEO Popup Modal Styles */
.seo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.seo-modal.active {
    opacity: 1;
    visibility: visible;
}

.seo-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.seo-modal__content {
    position: relative;
    background: white;
    width: min(90%, 500px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-modal.active .seo-modal__content {
    transform: translateY(0);
}

.seo-modal__icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #6366f1;
}

.seo-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-modal__title span {
    background: #6366f1;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.seo-modal__text {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.seo-modal__text p {
    margin-bottom: 1rem;
}

.seo-modal__text strong {
    color: #1e293b;
}

.seo-modal__close {
    width: 100%;
    padding: 1rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.seo-modal__close:hover {
    background: #4f46e5;
}

/* Internal link pulse effect */
a[rel="internal-link"] {
    color: #6366f1;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    transition: all 0.2s;
    position: relative;
}

a[rel="internal-link"]:hover {
    color: #4338ca;
}

/***/
.strategy-demo h1 {
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 3rem;
}

.strategy-summary {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 1px solid #e2e8f0;
}

.strategy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    font-size: 0.95rem;
}

.execution-cycle h2 {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-step .step-number {
    position: absolute;
    left: -43px;
    top: 0;
    width: 32px;
    height: 32px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 1;
}

.timeline-step.highlight .step-number {
    background: #14b8a6;
    box-shadow: 0 0 0 4px #ccfbf1;
}

.timeline-step h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.timeline-step.highlight h3 {
    color: #0f766e;
}

.timeline-step.highlight {
    background: #f0fdfa;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #ccfbf1;
}