/* ─── CompFrame Blog Enhancements ─── */

/* TOP GRADIENT BAR */
.blog-top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #06b6d4, #a855f7, #4ade80);
    background-size: 200% 100%;
    animation: blogBarShift 4s linear infinite;
    z-index: 200;
}
@keyframes blogBarShift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* GLOW ORBS */
.blog-glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.055;
    pointer-events: none;
    z-index: 0;
}
.blog-glow-orb.green {
    width: 600px; height: 600px;
    background: #4ade80;
    top: -200px; right: -150px;
}
.blog-glow-orb.amber {
    width: 500px; height: 500px;
    background: #f59e0b;
    bottom: 200px; left: -200px;
}

/* H1 KEYWORD HIGHLIGHT */
.blog-title-highlight {
    background: linear-gradient(135deg, #4ade80 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

/* WHY THIS WORKS CALLOUT BOX */
.why-this-works {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-left: 3px solid #4ade80;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.why-this-works-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #4ade80;
    margin-bottom: 10px;
}
.why-this-works p {
    font-size: 15px !important;
    color: #a8b1c8 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* TOOL-SPECIFIC CTA (overrides existing .post-cta and .article-cta) */
.post-cta,
.article-cta {
    background: linear-gradient(135deg, rgba(11, 22, 40, 0.95) 0%, rgba(22, 34, 64, 0.90) 100%);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    padding: 36px 40px;
    margin: 48px 0;
    text-align: center;
}
.post-cta h2,
.article-cta h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #e8eaf0;
    margin-bottom: 10px;
}
.post-cta p,
.article-cta p {
    font-size: 15px;
    color: #8a8fa6;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.post-cta .btn-primary,
.article-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #C9A84C 0%, #A68A3A 100%);
    color: #0B1628;
    border: 1px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.post-cta .btn-primary:hover,
.article-cta .btn-primary:hover {
    background: linear-gradient(135deg, #E4CA7A 0%, #C9A84C 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* EMAIL CAPTURE FORM */
.blog-subscribe-section {
    background: #0B1628;
    border: 1px solid rgba(201, 168, 76, 0.20);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.blog-subscribe-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #C9A84C;
    margin-bottom: 12px;
}
.blog-subscribe-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #e8eaf0;
    margin-bottom: 8px;
}
.blog-subscribe-desc {
    font-size: 14px;
    color: #8a8fa6;
    margin-bottom: 24px;
    line-height: 1.6;
}
.blog-subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}
.blog-subscribe-input {
    flex: 1;
    background: rgba(22, 34, 64, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.15);
    color: #e8eaf0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}
.blog-subscribe-input:focus { border-color: #C9A84C; }
.blog-subscribe-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #C9A84C 0%, #A68A3A 100%);
    color: #0B1628;
    border: 1px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.blog-subscribe-btn:hover {
    background: linear-gradient(135deg, #E4CA7A 0%, #C9A84C 100%);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}
.blog-subscribe-msg {
    display: none;
    font-size: 13px;
    margin-top: 12px;
}
.blog-subscribe-msg.success { color: #C9A84C; }
.blog-subscribe-msg.error { color: #ef4444; }
.blog-subscribe-privacy {
    font-size: 12px;
    color: #5c6080;
    margin-top: 12px;
}
@media (max-width: 480px) {
    .blog-subscribe-form { flex-direction: column; }
    .blog-subscribe-section { padding: 28px 20px; }
    .post-cta { padding: 28px 24px; }
}
