/* Blog Shared Styles */
:root {
    --deep-blue: #0a1929;
    --accent: #00d4ff;
    --cyber-purple: #bf40bf;
    --dark-panel: #132337;
    --green: #00ff88;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--deep-blue);
    color: #d0d0d0;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 100px !important;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(191, 64, 191, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    line-height: 1.8;
}

/* Article Layout */
.blog-article {
    max-width: 780px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
}
.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; color: #555; }

/* Article Header */
.blog-article h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

/* Content */
.blog-article h2 {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--accent);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.blog-article h3 {
    color: #e0e0e0;
    font-size: 1.15rem;
    margin: 2rem 0 0.8rem;
}

.blog-article p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #c0c0c0;
}

.blog-article strong {
    color: #e0e0e0;
}

.blog-article ul, .blog-article ol {
    margin: 0.8rem 0 1.5rem 1.5rem;
}

.blog-article li {
    margin-bottom: 0.6rem;
    color: #c0c0c0;
}

.blog-article code {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em;
}

/* Tool CTA Links */
.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
}
.tool-cta:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

/* Tool CTA Box (bigger, in-content callout) */
.tool-callout {
    background: var(--dark-panel);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.3s;
}
.tool-callout:hover { border-color: var(--accent); }
.tool-callout-icon { font-size: 2rem; flex-shrink: 0; }
.tool-callout-text { flex: 1; }
.tool-callout-text strong { display: block; color: #fff; margin-bottom: 4px; }
.tool-callout-text span { font-size: 0.9rem; color: #999; }
.tool-callout a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    flex-shrink: 0;
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s;
}
.tool-callout a:hover {
    background: var(--accent);
    color: var(--deep-blue);
}

/* FAQ Section */
.faq-section { margin-top: 2rem; }
.faq-section details {
    background: var(--dark-panel);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.faq-section summary {
    padding: 1rem 1.2rem;
    cursor: pointer;
    color: #e0e0e0;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-section summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; }
.faq-section details[open] summary::after { content: '−'; }
.faq-section details[open] summary { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-section .faq-answer {
    padding: 1rem 1.2rem;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Ad Slots */
.ad-slot-google, .ad-slot-custom {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 780px;
}

/* Footer */
footer {
    text-align: center;
    color: #6b7280;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Blog Listing Page */
.blog-listing { max-width: 900px; margin: 0 auto; }
.blog-listing h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0.5rem;
}
.blog-listing-subtitle {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}
.blog-category {
    margin-bottom: 2.5rem;
}
.blog-category h2 {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}
.blog-card {
    display: block;
    background: var(--dark-panel);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 10px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s ease;
}
.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    background: rgba(0, 212, 255, 0.05);
}
.blog-card h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.blog-card p {
    font-size: 0.88rem;
    color: #999;
    margin: 0;
}
.blog-card .blog-card-meta {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}

/* Static Page Styles (About, Privacy, Terms) */
.static-page {
    max-width: 780px;
    margin: 0 auto;
}
.static-page h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}
.static-page h2 {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--accent);
    font-size: 1.4rem;
    margin: 2rem 0 0.8rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}
.static-page h3 {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem;
}
.static-page p {
    margin-bottom: 1rem;
    color: #c0c0c0;
    line-height: 1.8;
}
.static-page ul, .static-page ol {
    margin: 0.6rem 0 1.2rem 1.5rem;
}
.static-page li {
    margin-bottom: 0.5rem;
    color: #c0c0c0;
}
.static-page strong { color: #e0e0e0; }
.static-page a { color: var(--accent); text-decoration: none; }
.static-page a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    body { padding: 1rem; padding-top: 80px !important; }
    .blog-article h1, .blog-listing h1, .static-page h1 { font-size: 1.6rem; }
    .blog-article h2, .static-page h2 { font-size: 1.2rem; }
    .tool-callout { flex-direction: column; text-align: center; }
    .article-meta { flex-direction: column; gap: 8px; }
}
