/* blog-page.css — Extracted from blog.html inline styles */

/* ===== APPLE/GOOGLE STYLE BLOG ===== */
        :root {
            /* Dark theme (Hero, Chat, Footer) */
            --blog-bg: #000000;
            --blog-surface: #0a0a0a;
            --blog-card: #111111;
            --blog-text: #f5f5f7;
            --blog-muted: #86868b;
            --blog-accent: #2997ff;
            --blog-accent-2: #bf5af2;
            --blog-green: #30d158;
            --blog-orange: #ff9f0a;
            --blog-red: #ff453a;

            /* Light theme (Sections below hero) */
            --blog-light-bg: #F5F5F7;
            --blog-light-surface: #FFFFFF;
            --blog-light-card: #FFFFFF;
            --blog-light-text: #1D1D1F;
            --blog-light-muted: #6E6E73;
            --blog-light-border: rgba(0, 0, 0, 0.08);
        }

        /* Light Section Base Styles */
        .light-section {
            background: var(--blog-light-bg) !important;
            color: var(--blog-light-text) !important;
        }

        .light-section .blog-section-title,
        .light-section h2,
        .light-section h3,
        .light-section h4 {
            color: var(--blog-light-text) !important;
            -webkit-text-fill-color: var(--blog-light-text) !important;
            background: none !important;
        }

        .light-section .blog-section-subtitle,
        .light-section p {
            color: var(--blog-light-muted) !important;
        }

        /* Light Cards */
        .light-section .article-card,
        .light-section .faq-item,
        .light-section .discussion-card {
            background: var(--blog-light-card) !important;
            border: 1px solid var(--blog-light-border) !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .article-card:hover,
        .light-section .faq-item:hover {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            transform: translateY(-4px);
        }

        .light-section .article-card h3,
        .light-section .faq-item span {
            color: var(--blog-light-text) !important;
        }

        .light-section .article-card p {
            color: var(--blog-light-muted) !important;
        }

        .light-section .faq-question {
            color: var(--blog-light-text) !important;
        }

        .light-section .faq-answer,
        .light-section .faq-answer p,
        .light-section .faq-answer li {
            color: var(--blog-light-muted) !important;
        }

        .light-section .faq-icon {
            color: var(--blog-light-muted) !important;
        }

        .light-section .faq-item.active .faq-icon {
            color: var(--blog-accent) !important;
        }

        /* Light Category Pills */
        .light-section .blog-category {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.08);
            color: var(--blog-light-muted);
        }

        .light-section .blog-category:hover {
            background: rgba(0, 0, 0, 0.08);
            color: var(--blog-light-text);
        }

        .light-section .blog-category.active {
            background: var(--blog-accent);
            border-color: var(--blog-accent);
            color: white;
        }

        /* Light Search */
        .light-section .blog-search {
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.12);
            color: var(--blog-light-text);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .light-section .blog-search:focus {
            border-color: var(--blog-accent);
            box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.15);
        }

        .light-section .blog-search::placeholder {
            color: var(--blog-light-muted);
        }

        /* Light KB Cards */
        .light-section .kb-card {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .kb-card:hover {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            transform: translateY(-4px);
        }

        .light-section .kb-card-title {
            color: var(--blog-light-text) !important;
        }

        .light-section .kb-card-count {
            color: var(--blog-light-muted) !important;
        }

        /* Light Comparison Table */
        .light-section .comparison-table {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .comparison-table th {
            background: var(--blog-light-bg) !important;
            color: var(--blog-light-text) !important;
            border-bottom: 1px solid var(--blog-light-border);
        }

        .light-section .comparison-table td {
            background: white !important;
            color: var(--blog-light-text) !important;
            border-bottom: 1px solid var(--blog-light-border);
        }

        .light-section .comparison-table tr:hover td {
            background: var(--blog-light-bg) !important;
        }

        /* Light Calculator */
        .light-section select,
        .light-section input[type="number"] {
            background: var(--blog-light-bg) !important;
            border: 1px solid var(--blog-light-border) !important;
            color: var(--blog-light-text) !important;
        }

        .light-section label {
            color: var(--blog-light-muted) !important;
        }

        /* Light News Items */
        .light-section .news-item {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .news-item h4 {
            color: var(--blog-light-text) !important;
        }

        .light-section .news-item p {
            color: var(--blog-light-muted) !important;
        }

        /* Light Checklists */
        .light-section .checklist-card {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
        }

        /* Light Newsletter */
        .light-section input[type="email"] {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
            color: var(--blog-light-text) !important;
        }

        /* Light Quick Tips */
        .light-section .quick-tip-card {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
        }

        .light-section .article-pill,
        .light-section .article-card-meta span {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.08);
            color: var(--blog-light-muted);
        }

        .light-section .article-card-media {
            background: linear-gradient(135deg, rgba(37, 99, 221, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
        }

        .light-section .article-card-icon {
            background: rgba(0, 0, 0, 0.06);
            color: var(--blog-light-text);
        }

        .light-section .quick-tip-label {
            color: var(--blog-accent);
        }

        .light-section .marketplace-card {
            background: var(--blog-light-card) !important;
            border: 1px solid var(--blog-light-border) !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .marketplace-tag {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.08);
            color: var(--blog-light-muted);
        }

        .light-section .marketplace-link {
            border-color: rgba(0, 0, 0, 0.12);
            color: var(--blog-accent);
        }

        .light-section .blog-section-note {
            background: var(--blog-light-card);
            border: 1px solid var(--blog-light-border);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .blog-section-rich strong {
            color: var(--blog-light-text);
        }

        .light-section .blog-map-card {
            background: var(--blog-light-card);
            border: 1px solid var(--blog-light-border);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .light-section .section-link {
            border-color: rgba(0, 0, 0, 0.12);
            color: var(--blog-light-muted);
        }

        .light-section .text-white {
            color: var(--blog-light-text) !important;
        }

        .light-section .text-gray-400 {
            color: var(--blog-light-muted) !important;
        }

        /* Override inline styles using CSS variables */
        .light-section [style*="--blog-card"],
        .light-section [style*="var(--blog-card)"] {
            background: white !important;
            border-color: var(--blog-light-border) !important;
        }

        .light-section [style*="--blog-text"],
        .light-section [style*="var(--blog-text)"] {
            color: var(--blog-light-text) !important;
        }

        .light-section [style*="--blog-muted"],
        .light-section [style*="var(--blog-muted)"] {
            color: var(--blog-light-muted) !important;
        }

        .light-section [style*="--blog-surface"],
        .light-section [style*="var(--blog-surface)"] {
            background: var(--blog-light-bg) !important;
        }

        /* Force all divs with dark bg in light section */
        .light-section div[style*="background: var(--blog-card)"] {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
        }

        .light-section div[style*="background: rgba(255,255,255,0.03)"] {
            background: var(--blog-light-bg) !important;
        }

        /* Discussion cards - force light */
        .light-section>div>div[style*="background: var(--blog-card)"] {
            background: white !important;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        /* Glossary term cards */
        .light-section .glossary-term,
        .light-section div[style*="rgba(255,255,255,0.06)"] {
            background: white !important;
            border-color: var(--blog-light-border) !important;
        }

        /* Calculator card fix */
        .light-section div[style*="border-radius: 24px"][style*="padding: 32px"] {
            background: white !important;
            border: 1px solid var(--blog-light-border) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        body {
            background: var(--blog-bg);
            color: var(--blog-text);
            margin: 0;
            overflow-x: hidden;
            min-height: 100vh;
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Google Sans', 'Segoe UI', system-ui, sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        html {
            scroll-behavior: smooth;
        }

        /* Typography */
        .blog-headline {
            font-size: clamp(48px, 8vw, 96px);
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.05;
            background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .blog-subheadline {
            font-size: clamp(20px, 3vw, 28px);
            font-weight: 400;
            color: var(--blog-muted);
            line-height: 1.4;
            max-width: 680px;
        }

        /* Hero Section - Apple Style */
        .blog-hero {
            min-height: 70vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px 24px 80px;
            position: relative;
            overflow: hidden;
        }

        .blog-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: 50%;
            transform: translateX(-50%);
            width: 200%;
            height: 200%;
            background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.15) 0%, transparent 50%);
            pointer-events: none;
        }

        .blog-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            color: var(--blog-muted);
            margin-bottom: 24px;
            backdrop-filter: blur(10px);
        }

        .blog-hero-badge i {
            color: var(--blog-accent);
        }

        /* Search Bar - Google Style */
        .blog-search-container {
            max-width: 680px;
            width: 100%;
            margin-top: 48px;
        }

        .blog-search {
            width: 100%;
            padding: 18px 24px 18px 56px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            font-size: 17px;
            color: var(--blog-text);
            outline: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(20px);
        }

        .blog-search:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--blog-accent);
            box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.15);
        }

        .blog-search::placeholder {
            color: var(--blog-muted);
        }

        .blog-search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--blog-muted);
            font-size: 18px;
        }

        /* Category Pills */
        .blog-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 32px;
        }

        .blog-category {
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 100px;
            font-size: 14px;
            font-weight: 500;
            color: var(--blog-muted);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .blog-category:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--blog-text);
        }

        .blog-category.active {
            background: var(--blog-accent);
            border-color: var(--blog-accent);
            color: white;
        }

        /* Content Grid */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 24px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Cards - Apple Style */
        .blog-card {
            background: var(--blog-card);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .blog-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        }

        .blog-card-image {
            aspect-ratio: 16/10;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .blog-card-icon {
            font-size: 48px;
            opacity: 0.3;
            transition: all 0.4s ease;
        }

        .blog-card:hover .blog-card-icon {
            transform: scale(1.2);
            opacity: 0.5;
        }

        .blog-card-content {
            padding: 24px;
        }

        .blog-card-category {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--blog-accent);
            margin-bottom: 12px;
        }

        .blog-card-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--blog-text);
            line-height: 1.3;
            margin-bottom: 12px;
        }

        .blog-card-excerpt {
            font-size: 15px;
            color: var(--blog-muted);
            line-height: 1.5;
            margin-bottom: 16px;
        }

        .blog-card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--blog-muted);
        }

        .blog-card-author {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .blog-card-author img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
        }

        /* Featured Card */
        .blog-card.featured {
            grid-column: span 2;
        }

        .blog-card.featured .blog-card-image {
            aspect-ratio: 21/9;
        }

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

        @media (max-width: 768px) {
            .blog-card.featured {
                grid-column: span 1;
            }

            .blog-card.featured .blog-card-image {
                aspect-ratio: 16/10;
            }
        }

        /* Section Headers */
        .blog-section {
            padding: 80px 24px;
            max-width: 1400px;
            margin: 0 auto;
            scroll-margin-top: 120px;
        }

        .blog-section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .blog-section-title {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 16px;
        }

        .blog-section-subtitle {
            font-size: 18px;
            color: var(--blog-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Page Navigation */
        .blog-nav {
            position: sticky;
            top: 76px;
            z-index: 20;
            background: rgba(11, 16, 32, 0.86);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .blog-nav-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 12px 24px;
            display: flex;
            gap: 10px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .blog-nav-inner::-webkit-scrollbar {
            display: none;
        }

        .blog-nav-link {
            white-space: nowrap;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            font-size: 12px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--blog-text);
            text-decoration: none;
            transition: all 0.2s ease;
        }

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

        .blog-nav-link.active {
            background: var(--blog-accent);
            border-color: var(--blog-accent);
            color: #fff;
        }

        .blog-progress {
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 100%;
            background: rgba(255, 255, 255, 0.08);
        }

        .blog-progress span {
            display: block;
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, var(--blog-accent), #60a5fa);
            transition: width 0.12s ease;
        }

        .blog-map-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .blog-map-card {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 18px;
            padding: 18px;
            text-decoration: none;
            color: inherit;
            display: grid;
            gap: 10px;
            transition: all 0.25s ease;
        }

        .blog-map-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
        }

        .blog-map-card h3 {
            margin: 0;
            font-size: 16px;
            color: var(--blog-text);
        }

        .blog-map-card p {
            margin: 0;
            font-size: 13px;
            color: var(--blog-muted);
            line-height: 1.5;
        }

        .blog-map-card ul {
            margin: 0;
            padding-left: 18px;
            font-size: 12px;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        .section-links {
            max-width: 1100px;
            margin: 0 auto 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .section-link {
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            font-size: 12px;
            color: var(--blog-muted);
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .section-link:hover {
            border-color: var(--blog-accent);
            color: var(--blog-accent);
        }

        .light-section + .blog-nav {
            background: rgba(245, 245, 247, 0.9);
        }

        .reveal {
            opacity: 0;
            transform: translateY(18px) scale(0.98);
            transition: opacity 0.6s ease, transform 0.6s ease;
            will-change: transform, opacity;
        }

        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .back-to-top {
            position: fixed;
            right: 24px;
            bottom: 96px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(15, 23, 42, 0.9);
            color: #fff;
            display: grid;
            place-items: center;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transform: translateY(10px);
            transition: all 0.2s ease;
            z-index: 9997;
        }

        .back-to-top.is-visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .back-to-top:hover {
            border-color: var(--blog-accent);
            color: var(--blog-accent);
        }

        @media (max-width: 768px) {
            .back-to-top {
                right: 16px;
                bottom: 84px;
                width: 40px;
                height: 40px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .reveal {
                transition: none;
                transform: none;
            }

            .back-to-top {
                transition: none;
            }
        }

        /* Section Rich Text */
        .blog-section-rich {
            max-width: 960px;
            margin: 0 auto 28px;
            display: grid;
            gap: 12px;
            font-size: 15px;
            line-height: 1.7;
            color: var(--blog-muted);
        }

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

        .blog-section-note {
            max-width: 1100px;
            margin: 0 auto 32px;
            padding: 20px;
            border-radius: 18px;
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .blog-section-note h4 {
            margin: 0 0 8px;
            font-size: 12px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--blog-muted);
        }

        .blog-section-note ul {
            margin: 0;
            padding-left: 18px;
            color: var(--blog-muted);
            font-size: 13px;
            line-height: 1.6;
        }

        .blog-section-note li {
            margin-bottom: 6px;
        }

        #kb-base,
        #kb-routes,
        #kb-templates,
        #kbQA {
            scroll-margin-top: 120px;
        }

        /* Knowledge Base Cards */
        .kb-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .kb-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 32px;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .kb-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--kb-color, var(--blog-accent));
            opacity: 0;
            transition: opacity 0.3s;
        }

        .kb-card:hover {
            transform: translateY(-4px);
            border-color: var(--kb-color, var(--blog-accent));
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .kb-card:hover::before {
            opacity: 1;
        }

        .kb-card-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 20px;
            background: var(--kb-color, var(--blog-accent));
            color: white;
        }

        .kb-card-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--blog-text);
            margin-bottom: 8px;
        }

        .kb-card-count {
            font-size: 14px;
            color: var(--blog-muted);
        }

        /* Blog Section Base */
        .blog-section {
            padding: 80px 24px;
        }

        .blog-section-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 48px;
        }

        .blog-section-title {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 700;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 12px;
        }

        .blog-section-subtitle {
            font-size: 17px;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        /* FAQ Accordion */
        .faq-item {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            margin-bottom: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: rgba(255, 255, 255, 0.15);
        }

        .faq-item.active {
            border-color: var(--blog-accent);
        }

        .faq-question {
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            color: var(--blog-text);
        }

        .faq-icon {
            transition: transform 0.3s ease;
            color: var(--blog-muted);
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
            color: var(--blog-accent);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px;
            color: var(--blog-muted);
            font-size: 15px;
            line-height: 1.7;
        }

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

        .faq-answer a:hover {
            text-decoration: underline;
        }

        .faq-item.active .faq-answer {
            max-height: 900px;
            padding: 0 24px 24px;
        }

        .faq-answer p,
        .faq-answer li {
            margin-bottom: 8px;
        }

        .faq-answer ul {
            padding-left: 20px;
        }

        .tip-box {
            background: rgba(41, 151, 255, 0.1);
            border-left: 3px solid var(--blog-accent);
            padding: 12px 16px;
            border-radius: 8px;
            margin: 12px 0;
        }

        .tip-box-success {
            background: rgba(48, 209, 88, 0.1);
            border-left-color: var(--blog-green);
        }

        .tip-box-warning {
            background: rgba(255, 159, 10, 0.1);
            border-left-color: var(--blog-orange);
        }

        /* Comparison Table */
        .comparison-table {
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            border-collapse: collapse;
            background: var(--blog-card);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .comparison-table th,
        .comparison-table td {
            padding: 16px 20px;
            text-align: center;
            font-size: 14px;
        }

        .comparison-table th {
            background: rgba(255, 255, 255, 0.05);
            font-weight: 600;
            color: var(--blog-text);
        }

        .comparison-table th:first-child,
        .comparison-table td:first-child {
            text-align: left;
            font-weight: 500;
        }

        .comparison-table tr {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .comparison-table tr:last-child {
            border-bottom: none;
        }

        .comparison-table td {
            color: var(--blog-muted);
        }

        .comparison-table strong {
            color: var(--blog-text);
        }

        /* Checklist Cards */
        .checklist-card {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 28px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .checklist-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .checklist-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            margin-bottom: 20px;
        }

        .checklist-card h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--blog-text);
            margin-bottom: 8px;
        }

        .checklist-card p {
            font-size: 14px;
            color: var(--blog-muted);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .checklist-download {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--blog-accent);
            font-weight: 500;
        }

        /* News Items */
        .news-item {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 16px;
            position: relative;
            transition: all 0.3s ease;
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .news-item:hover {
            border-color: rgba(255, 255, 255, 0.15);
        }

        .news-date {
            font-size: 12px;
            color: var(--blog-muted);
            margin-bottom: 8px;
        }

        .news-badge {
            position: absolute;
            top: 24px;
            right: 24px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            color: white;
        }

        .news-item h4 {
            font-size: 17px;
            font-weight: 600;
            color: var(--blog-text);
            margin-bottom: 8px;
            padding-right: 60px;
        }

        .news-item p {
            font-size: 14px;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        /* Article Cards */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .article-card {
            display: grid;
            grid-template-columns: 120px minmax(0, 1fr);
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .article-card-media {
            padding: 18px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: linear-gradient(135deg, rgba(41, 151, 255, 0.18) 0%, rgba(191, 90, 242, 0.18) 100%);
        }

        .article-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            color: var(--blog-text);
            font-size: 20px;
        }

        .article-card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 16px;
        }

        .article-pill {
            padding: 4px 10px;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--blog-muted);
        }

        .article-card-body {
            padding: 20px 22px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .article-card h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: var(--blog-text);
        }

        .article-card p {
            margin: 0;
            font-size: 14px;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        .article-card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 12px;
            color: var(--blog-muted);
        }

        .article-card-meta span {
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* Quick Tips */
        .quick-tip-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .quick-tip-card {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .quick-tip-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .quick-tip-label {
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--blog-accent);
        }

        .quick-tip-card h4 {
            margin: 0;
            font-size: 15px;
            color: var(--blog-text);
        }

        .quick-tip-card p {
            margin: 0;
            font-size: 13px;
            color: var(--blog-muted);
            line-height: 1.5;
        }

        /* Discussion Cards */
        .discussion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;
        }

        .discussion-card {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .discussion-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .discussion-card h4 {
            margin: 0;
            font-size: 16px;
            color: var(--blog-text);
        }

        .discussion-card p {
            margin: 0;
            font-size: 13px;
            color: var(--blog-muted);
            line-height: 1.5;
        }

        .discussion-meta {
            display: flex;
            gap: 12px;
            font-size: 12px;
            color: var(--blog-muted);
        }

        /* Marketplace Cards */
        .marketplace-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 18px;
        }

        .marketplace-card {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 18px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            transition: all 0.3s ease;
        }

        .marketplace-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
        }

        .marketplace-card h3 {
            margin: 0;
            font-size: 18px;
            color: var(--blog-text);
        }

        .marketplace-card p {
            margin: 0;
            font-size: 14px;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        .marketplace-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .marketplace-tag {
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--blog-muted);
        }

        .marketplace-points {
            display: grid;
            gap: 8px;
            font-size: 13px;
            color: var(--blog-muted);
        }

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

        .marketplace-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 4px;
        }

        .marketplace-link {
            font-size: 12px;
            color: var(--blog-accent);
            text-decoration: none;
            padding: 4px 10px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            transition: all 0.2s ease;
        }

        .marketplace-link:hover {
            border-color: var(--blog-accent);
        }

        /* FAQ + Glossary */
        .faq-grid {
            display: grid;
            gap: 12px;
            max-width: 1120px;
            margin: 0 auto;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        .glossary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .glossary-term {
            background: var(--blog-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 16px;
        }

        .glossary-term h4 {
            margin: 0 0 6px;
            font-size: 15px;
            color: var(--blog-text);
        }

        .glossary-term p {
            margin: 0;
            font-size: 13px;
            color: var(--blog-muted);
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .article-card {
                grid-template-columns: 1fr;
            }

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

        /* Smart Chat Widget - Apple Style */
        .smart-chat {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9998;
        }

        .smart-chat-btn {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-2) 100%);
            border: none;
            color: white;
            font-size: 28px;
            cursor: pointer;
            box-shadow: 0 8px 32px rgba(41, 151, 255, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .smart-chat-btn:hover {
            transform: scale(1.08);
            box-shadow: 0 12px 40px rgba(41, 151, 255, 0.5);
        }

        .smart-chat-panel {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 400px;
            max-height: 600px;
            background: var(--blog-card);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            display: none;
            flex-direction: column;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
            animation: slideUp 0.3s ease-out;
        }

        .smart-chat-panel.active {
            display: flex;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .smart-chat-header {
            background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-2) 100%);
            padding: 20px 24px;
            color: white;
        }

        .smart-chat-header h4 {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 4px 0;
        }

        .smart-chat-header p {
            font-size: 13px;
            opacity: 0.9;
            margin: 0;
        }

        .smart-chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            max-height: 350px;
            background: var(--blog-surface);
        }

        .chat-msg {
            margin-bottom: 16px;
            display: flex;
            gap: 12px;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .chat-msg.user {
            flex-direction: row-reverse;
        }

        .chat-msg-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            flex-shrink: 0;
        }

        .chat-msg-avatar.bot {
            background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-2) 100%);
            color: white;
        }

        .chat-msg-avatar.user {
            background: rgba(255, 255, 255, 0.1);
            color: var(--blog-text);
        }

        .chat-msg-content {
            max-width: 75%;
            padding: 14px 18px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.5;
        }

        .chat-msg:not(.user) .chat-msg-content {
            background: var(--blog-card);
            color: var(--blog-text);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .chat-msg.user .chat-msg-content {
            background: var(--blog-accent);
            color: white;
        }

        .smart-chat-input {
            padding: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            gap: 12px;
            background: var(--blog-card);
        }

        .smart-chat-input input {
            flex: 1;
            padding: 14px 18px;
            background: var(--blog-surface);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            color: var(--blog-text);
            font-size: 14px;
            outline: none;
            transition: all 0.3s;
        }

        .smart-chat-input input:focus {
            border-color: var(--blog-accent);
        }

        .smart-chat-input input::placeholder {
            color: var(--blog-muted);
        }

        .smart-chat-input button {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: none;
            background: var(--blog-accent);
            color: white;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .smart-chat-input button:hover {
            background: #1a8aff;
        }

        /* Quick Actions in Chat */
        .chat-quick-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .chat-quick-btn {
            padding: 8px 16px;
            background: rgba(41, 151, 255, 0.15);
            border: 1px solid rgba(41, 151, 255, 0.3);
            border-radius: 20px;
            color: var(--blog-accent);
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .chat-quick-btn:hover {
            background: var(--blog-accent);
            color: white;
        }

        /* Modal - Apple Style */
        .blog-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            z-index: 9999;
            display: none;
            justify-content: center;
            align-items: flex-start;
            padding: 40px 20px;
            overflow-y: auto;
        }

        .blog-modal.active {
            display: flex;
        }

        .blog-modal-content {
            background: var(--blog-card);
            max-width: 800px;
            width: 100%;
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            animation: slideUp 0.4s ease-out;
        }

        .blog-modal-header {
            padding: 40px;
            background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-2) 100%);
            position: relative;
        }

        .blog-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .blog-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .blog-modal-body {
            padding: 40px;
            color: var(--blog-text);
        }

        .blog-modal-body h2 {
            font-size: 24px;
            font-weight: 600;
            margin: 32px 0 16px;
            color: var(--blog-text);
        }

        .blog-modal-body p {
            font-size: 16px;
            line-height: 1.7;
            color: var(--blog-muted);
            margin-bottom: 16px;
        }

        .blog-modal-body ul {
            margin: 16px 0;
            padding-left: 24px;
        }

        .blog-modal-body li {
            margin: 12px 0;
            color: var(--blog-muted);
            line-height: 1.6;
        }

        .tip-box {
            background: rgba(41, 151, 255, 0.1);
            border-left: 4px solid var(--blog-accent);
            padding: 20px;
            border-radius: 0 12px 12px 0;
            margin: 24px 0;
        }

        .tip-box-warning {
            background: rgba(255, 159, 10, 0.1);
            border-left-color: var(--blog-orange);
        }

        .tip-box-success {
            background: rgba(48, 209, 88, 0.1);
            border-left-color: var(--blog-green);
        }

        /* Dense + unified layout (hero untouched) */
        .blog-section {
            padding: clamp(48px, 6vw, 64px) 24px !important;
            max-width: 1280px !important;
        }

        .blog-section-header {
            margin-bottom: 32px !important;
        }

        .blog-section-title {
            font-size: clamp(26px, 3.6vw, 40px) !important;
            margin-bottom: 10px !important;
            letter-spacing: -0.015em;
        }

        .blog-section-subtitle {
            font-size: 16px !important;
            line-height: 1.55 !important;
        }

        .kb-grid {
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
            gap: 16px !important;
        }

        .kb-card {
            padding: 22px !important;
            border-radius: 18px !important;
        }

        .kb-card-icon {
            width: 48px !important;
            height: 48px !important;
            border-radius: 14px !important;
            font-size: 20px !important;
            margin-bottom: 14px !important;
        }

        .faq-item {
            margin-bottom: 10px !important;
            border-radius: 14px !important;
        }

        .faq-question {
            padding: 16px 18px !important;
            font-size: 15px !important;
        }

        .faq-answer {
            padding: 0 18px !important;
            font-size: 14px !important;
            line-height: 1.6 !important;
        }

        .faq-item.active .faq-answer {
            padding: 0 18px 18px !important;
        }

        .tip-box {
            padding: 10px 14px !important;
            margin: 16px 0 !important;
        }

        .comparison-table {
            border-radius: 18px !important;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 12px 14px !important;
            font-size: 13px !important;
        }

        .checklist-card {
            padding: 22px !important;
            border-radius: 18px !important;
        }

        .checklist-icon {
            width: 48px !important;
            height: 48px !important;
            border-radius: 14px !important;
            font-size: 20px !important;
            margin-bottom: 14px !important;
        }

        .checklist-card h3 {
            font-size: 17px !important;
        }

        .checklist-card p {
            margin-bottom: 12px !important;
        }

        .news-item {
            padding: 18px !important;
            border-radius: 14px !important;
            margin-bottom: 12px !important;
        }

        .news-badge {
            top: 18px !important;
            right: 18px !important;
        }

        .news-item h4 {
            font-size: 16px !important;
            margin-bottom: 6px !important;
            padding-right: 72px !important;
        }

        .article-card {
            border-radius: 18px !important;
        }

        .article-card>div:last-child {
            padding: 18px !important;
        }

        .article-card h3 {
            font-size: 18px !important;
        }

        .article-card p {
            font-size: 13px !important;
        }

        .blog-section [style*="grid-template-columns"] {
            gap: 16px !important;
        }

        .category-filter {
            padding: 6px 14px !important;
            font-size: 12px !important;
            border-radius: 999px !important;
            border: 1px solid rgba(15, 23, 42, 0.08) !important;
            background: #f3f4f6 !important;
            color: #4b5563 !important;
        }

        .category-filter.active {
            background: #2563dd !important;
            border-color: #2563dd !important;
            color: #fff !important;
        }

        @media (max-width: 768px) {
            .blog-section {
                padding: 44px 16px !important;
            }

            .blog-section-header {
                margin-bottom: 24px !important;
            }

            .blog-section-title {
                font-size: 26px !important;
            }

            .kb-grid {
                grid-template-columns: 1fr !important;
            }

            .blog-nav {
                top: 64px;
            }

            .blog-nav-inner {
                padding: 10px 16px;
            }

            .blog-section-note {
                padding: 16px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }

            .smart-chat-panel {
                width: calc(100vw - 48px);
                right: -12px;
            }

            .blog-section {
                padding: 60px 16px;
            }
        }

