/* AdCow Blog Styles */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --accent-red: #d31414;
    --accent-orange: #ff6b35;
    --border-radius: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header .logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.blog-header h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Article */
.article {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.article-meta .category {
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.article h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--accent-orange);
}

.article h3 {
    font-size: 1.2rem;
    margin: 25px 0 10px;
}

.article p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.article ul, .article ol {
    margin: 15px 0 15px 25px;
    color: var(--text-gray);
}

.article li {
    margin-bottom: 8px;
}

.article strong {
    color: var(--text-white);
}

/* Callout boxes */
.callout {
    background: rgba(211, 20, 20, 0.1);
    border-left: 4px solid var(--accent-red);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
}

.callout.tip {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--accent-orange);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
}

.faq-section h2 {
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-white);
}

.faq-answer {
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--accent-red);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.lang-switcher a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--accent-red);
    color: white;
}

/* Blog list */
.blog-list {
    display: grid;
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h3 {
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: var(--text-white);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--accent-orange);
}

.blog-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.blog-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.blog-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-gray);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
}

.blog-footer a {
    color: var(--accent-red);
    text-decoration: none;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
}

.blog-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.blog-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border-color: rgba(255,255,255,0.1);
}

.blog-nav a.active {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white;
}

.blog-nav .nav-icon {
    font-size: 1.2rem;
}

/* Article layout - title before image */
.article.future-article {
    display: flex;
    flex-direction: column;
}
.article.future-article .article-meta { order: 1; }
.article.future-article h1 { order: 2; }
.article.future-article .article-image,
.article.future-article .article-hero { order: 3; margin-top: 20px; }
.article.future-article p,
.article.future-article h2,
.article.future-article h3,
.article.future-article ul,
.article.future-article ol,
.article.future-article .highlight-box,
.article.future-article .quote-box,
.article.future-article .stats-grid,
.article.future-article .prediction-box,
.article.future-article .content-section { order: 4; }

/* Light theme */
body.light-theme {
    --bg-dark: #f5f5f5;
    --bg-card: #ffffff;
    --text-white: #1a1a1a;
    --text-gray: #555555;
}

body.light-theme .article,
body.light-theme .blog-nav,
body.light-theme .blog-card,
body.light-theme .faq-section,
body.light-theme .future-hero {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.light-theme .article-card {
    background: #ffffff;
    border-color: #e0e0e0;
}

body.light-theme .category-header {
    border-bottom-color: #e0e0e0;
}

body.light-theme .tag {
    background: #e0e0e0;
    color: #333;
}

body.light-theme .article-card h3 a {
    color: #1a1a1a;
}

body.light-theme .article-card p {
    color: #555;
}

body.light-theme .category-header h2 {
    color: #1a1a1a;
}

body.light-theme .article h1,
body.light-theme .article h2,
body.light-theme .article h3,
body.light-theme .article strong {
    color: #1a1a1a;
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--accent-red);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(211, 20, 20, 0.4);
    transition: transform 0.2s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .article {
        padding: 25px;
    }

    .article h1 {
        font-size: 1.6rem;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .blog-nav {
        gap: 8px;
        padding: 15px;
    }

    .blog-nav a {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .blog-nav .nav-icon {
        font-size: 1rem;
    }
}
