/* gathered Blog - Shared Styles */

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

:root {
    --bg-dark: #ffffff;
    --bg-card: #fafafa;
    --text-main: #111111;
    --text-muted: #52525b;
    --text-subtle: #a1a1aa;
    --primary: #ff6b00;
    --primary-glow: rgba(255, 107, 0, 0.15);
    --secondary: #ff8c33;
    --accent: #ff6b00;
    --border: #e5e5e5;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
.blog-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.blog-nav-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.blog-nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-nav-back:hover {
    color: var(--accent);
}

/* Hero */
.blog-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 1) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}

.blog-category {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Content */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.blog-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin: 60px 0 24px;
    letter-spacing: -0.02em;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    margin: 40px 0 16px;
}

.blog-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-content a:hover {
    border-color: var(--accent);
}

.blog-content ul, .blog-content ol {
    margin: 0 0 28px 24px;
    color: var(--text-muted);
}

.blog-content li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.blog-content strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Images */
.blog-image {
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-image-caption {
    padding: 16px 20px;
    background: var(--bg-card);
    font-size: 14px;
    color: var(--text-subtle);
    text-align: center;
}

/* Highlight Box */
.highlight-box {
    background: rgba(255, 107, 0, 0.06);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 16px;
    padding: 28px;
    margin: 40px 0;
}

.highlight-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Blockquote */
blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
    margin: 40px 0;
    font-size: 22px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
}

/* CTA */
.blog-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    margin: 60px 0;
}

.blog-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.blog-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.blog-cta-button {
    display: inline-block;
    padding: 16px 36px;
    background: white;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 60px 0 0;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 500;
}

.author-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 480px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* Related Articles */
.related-articles {
    border-top: 1px solid var(--border);
    padding-top: 60px;
    margin-top: 60px;
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card-content {
    padding: 20px;
}

.related-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

/* Footer */
.blog-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
}

.blog-footer p {
    color: var(--text-subtle);
    font-size: 14px;
}

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

/* Table of Contents */
.toc {
    background: rgba(255, 107, 0, 0.04);
    border: 1px solid rgba(255, 107, 0, 0.12);
    border-radius: 16px;
    padding: 28px;
    margin: 40px 0;
}

.toc h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.toc ol {
    margin: 0 0 0 20px;
    color: var(--text-muted);
}

.toc li {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 4px;
}

.toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: var(--accent);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 15px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-table thead {
    background: rgba(255, 107, 0, 0.08);
}

.comparison-table th {
    padding: 16px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

.comparison-table td {
    padding: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.comparison-table .highlight-row {
    background: rgba(255, 107, 0, 0.06);
}

/* Pros/Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.pros, .cons {
    padding: 20px;
    border-radius: 12px;
}

.pros {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.cons {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.pros h4 {
    color: #4ade80;
    font-size: 14px;
    margin-bottom: 10px;
}

.cons h4 {
    color: #f87171;
    font-size: 14px;
    margin-bottom: 10px;
}

.pros li, .cons li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* App Verdict Badges */
.app-verdict {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
}

.verdict-best {
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
}

.verdict-good {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

.verdict-okay {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-subtle);
}

/* Responsive */
@media (max-width: 640px) {
    .blog-hero {
        height: 60vh;
        min-height: 400px;
    }

    .blog-title {
        font-size: 28px;
    }

    .blog-content {
        padding: 40px 20px 80px;
    }

    .blog-content p, .blog-content li {
        font-size: 16px;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta {
        padding: 32px 24px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th, .comparison-table td {
        padding: 10px 8px;
    }
}
