/* ============================================
   InspectorData Blog - Shared Styles
   Matches homepage (index.html) design system
   ============================================ */

:root {
    /* Matching homepage design tokens */
    --background: #FFFFFF;
    --background-secondary: #FAFAFA;
    --background-tertiary: #F8F9FA;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;
    --accent-primary: #4a90e2;
    --accent-hover: #357abd;
    --accent-light: #DBEAFE;
    --success: #10B981;
    --success-light: #D1FAE5;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: 48px; font-weight: 800; }
h2 { font-size: 36px; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { font-size: 18px; line-height: 1.7; color: var(--text-secondary); }
a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }

/* ============================================
   HEADER - Exact match to homepage
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i { color: var(--accent-primary); }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    color: white;
}

.btn-secondary {
    background: var(--background);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--background-secondary);
    border-color: var(--text-tertiary);
}

.btn-accent { background: var(--success); color: white; }
.btn-accent:hover { background: #059669; color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hamburger menu */
.hamburger-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav-controls {
    display: none;
}

/* ============================================
   BLOG HERO - Premium landing page header
   ============================================ */
.blog-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(74, 144, 226, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.blog-hero h1 {
    color: #FFFFFF;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero p {
    color: #94A3B8;
    font-size: 20px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   BLOG GRID - Card layout
   ============================================ */
.blog-section {
    padding: 80px 0;
}

.blog-section-header {
    margin-bottom: 48px;
}

.blog-section-header h2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.blog-section-header p {
    font-size: 16px;
    color: var(--text-tertiary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ============================================
   BLOG CARD - Rich visual cards with CSS images
   ============================================ */
.blog-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
    color: inherit;
}

/* Card image area - CSS-only rich visuals */
.blog-card-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Report Writing card */
.blog-card-image.theme-reports {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}
.blog-card-image.theme-reports::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-reports::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--success));
}

/* Software Review card */
.blog-card-image.theme-software {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #16213e 100%);
}
.blog-card-image.theme-software::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: conic-gradient(from 180deg, rgba(74, 144, 226, 0.12), rgba(16, 185, 129, 0.08), rgba(74, 144, 226, 0.12));
    border-radius: 50%;
}
.blog-card-image.theme-software::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, var(--accent-primary));
}

/* Business Guide card */
.blog-card-image.theme-business {
    background: linear-gradient(135deg, #0f172a 0%, #1c1917 50%, #292524 100%);
}
.blog-card-image.theme-business::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-business::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), #f59e0b);
}

/* Checklist/Buyer Guide card */
.blog-card-image.theme-checklist {
    background: linear-gradient(135deg, #0f172a 0%, #14532d 50%, #166534 100%);
}
.blog-card-image.theme-checklist::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-checklist::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), #34d399);
}

/* Comparison card */
.blog-card-image.theme-comparison {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 50%, #1e1b4b 100%);
}
.blog-card-image.theme-comparison::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-comparison::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
}

/* Pricing card */
.blog-card-image.theme-pricing {
    background: linear-gradient(135deg, #0f172a 0%, #713f12 50%, #92400e 100%);
}
.blog-card-image.theme-pricing::before {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-pricing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Warning/Issues card */
.blog-card-image.theme-warning {
    background: linear-gradient(135deg, #0f172a 0%, #7f1d1d 50%, #991b1b 100%);
}
.blog-card-image.theme-warning::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-card-image.theme-warning::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

/* Card image icon */
.blog-card-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 28px;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-primary);
    margin-bottom: 12px;
    width: fit-content;
}

.blog-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.blog-card-meta i { margin-right: 4px; }

/* ============================================
   ARTICLE HERO
   ============================================ */
.article-hero {
    padding: 140px 0 60px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(74, 144, 226, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.article-hero .container-narrow { position: relative; z-index: 1; }

.article-hero .breadcrumb {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}
.article-hero .breadcrumb a {
    color: var(--text-tertiary);
    transition: var(--transition);
}
.article-hero .breadcrumb a:hover { color: #FFFFFF; }

.article-hero h1 {
    color: #FFFFFF;
    font-size: 44px;
    margin-bottom: 20px;
    max-width: 700px;
    letter-spacing: -0.03em;
}

.article-hero .article-meta {
    display: flex;
    gap: 24px;
    font-size: 15px;
    color: var(--text-tertiary);
}
.article-hero .article-meta i { margin-right: 6px; }

/* ============================================
   ARTICLE CONTENT
   ============================================ */
.article-content { padding: 64px 0 80px; }

.article-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 28px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.article-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--text-primary);
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.article-content ul, .article-content ol {
    margin: 16px 0 24px 24px;
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}
.article-content li { margin-bottom: 8px; }

.article-content blockquote {
    border-left: 4px solid var(--accent-primary);
    background: var(--accent-light);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #334155;
}

.article-content .tip-box {
    background: var(--success-light);
    border: 1px solid #a7f3d0;
    border-left: 4px solid var(--success);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 24px 0;
}
.article-content .tip-box strong { color: #065f46; }

.article-content .intro-lead {
    font-size: 19px;
    line-height: 1.8;
    color: #334155;
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
    margin-bottom: 32px;
}

/* Article tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.article-content thead { background: var(--text-primary); color: white; }
.article-content th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.article-content td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: #334155;
}
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:nth-child(even) { background: var(--background-secondary); }
.article-content tbody tr:last-child { background: var(--success-light); font-weight: 600; }

/* Comparison table (software article) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.comparison-table th {
    background: var(--text-primary);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.comparison-table tr:nth-child(even) { background: var(--background-secondary); }
.comparison-table .check { color: var(--success); font-weight: 600; }
.comparison-table .cross { color: #EF4444; }
.comparison-table .highlight-row { background: var(--accent-light) !important; }

/* Article CTA */
.article-cta {
    background: #000000;
    color: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}
.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(74, 144, 226, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.article-cta * { position: relative; z-index: 1; }
.article-cta h3 { color: white; margin-bottom: 12px; font-size: 24px; }
.article-cta p { color: var(--text-tertiary); margin-bottom: 24px; }
.article-cta .btn-accent { padding: 14px 32px; font-size: 17px; }

/* Share buttons */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 32px 0;
}
.share-bar span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}
.share-btn:hover { transform: translateY(-2px); color: white; box-shadow: var(--shadow-md); }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267b2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: var(--text-secondary); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: #000000;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; margin-bottom: 16px; font-size: 36px; }
.cta-section p { font-size: 18px; color: var(--text-tertiary); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER - Matches homepage exactly
   ============================================ */
footer {
    background: var(--background-tertiary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    gap: 48px 32px;
    margin-bottom: 48px;
}

.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 24px; }
.footer-brand p { font-size: 14px; color: var(--text-tertiary); }

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-primary); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in-up-d1 { animation-delay: 0.1s; }
.fade-in-up-d2 { animation-delay: 0.2s; }
.fade-in-up-d3 { animation-delay: 0.3s; }
.fade-in-up-d4 { animation-delay: 0.4s; }

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    background: transparent;
}
.reading-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-primary), var(--success));
    transition: width 0.1s linear;
}

/* ============================================
   AUTHOR CREDIBILITY BAR
   ============================================ */
.author-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--background-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}
.author-info { flex: 1; }
.author-info .author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.author-info .author-creds {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.author-info .author-creds strong { color: var(--accent-primary); }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
    background: var(--background-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 40px;
}
.toc-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}
.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toc-list li { padding: 0; border: none; }
.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 2px solid transparent;
}
.toc-link:hover {
    color: var(--accent-primary);
    background: var(--accent-light);
}
.toc-link.active {
    color: var(--accent-primary);
    background: var(--accent-light);
    border-left-color: var(--accent-primary);
    font-weight: 600;
}
.toc-link .toc-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-tertiary);
    min-width: 20px;
}
.toc-link.active .toc-num { color: var(--accent-primary); }

/* ============================================
   PRODUCT SHOWCASE CARD
   ============================================ */
.product-showcase {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: var(--background-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: 32px 0;
    transition: var(--transition);
}
.product-showcase:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}
.product-showcase-img {
    width: 200px;
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.product-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-showcase-body { flex: 1; }
.product-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-primary);
    margin-bottom: 8px;
}
.product-showcase-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.product-showcase-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.product-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
}
.product-showcase-cta:hover { color: var(--accent-hover); }
.product-showcase-cta i { font-size: 12px; transition: transform 0.2s; }
.product-showcase-cta:hover i { transform: translateX(3px); }

/* ============================================
   SOCIAL PROOF STRIP
   ============================================ */
.social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    margin: 40px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.social-proof::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 80px;
    color: rgba(74, 144, 226, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}
.social-proof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--success));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.social-proof-body { flex: 1; position: relative; z-index: 1; }
.social-proof-quote {
    font-size: 15px;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 6px;
    font-style: italic;
}
.social-proof-source {
    font-size: 13px;
    color: var(--text-tertiary);
}
.social-proof-source strong { color: #cbd5e1; }
.social-proof-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 13px;
    flex-shrink: 0;
}

/* ============================================
   SAVINGS CALCULATOR
   ============================================ */
.savings-calc {
    padding: 32px;
    background: var(--background-tertiary);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    margin: 40px 0;
}
.savings-calc-header {
    text-align: center;
    margin-bottom: 24px;
}
.savings-calc-header h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.savings-calc-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}
.savings-calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.calc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calc-field input {
    width: 100%;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-primary);
    transition: var(--transition);
}
.calc-field input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}
.savings-calc-results { display: none; }
.calc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.calc-result-card {
    padding: 16px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--border);
    text-align: center;
}
.calc-result-card.highlight {
    border-color: var(--success);
    background: var(--success-light);
}
.calc-result-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.calc-result-card.highlight .calc-result-label { color: #065f46; }
.calc-result-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}
.calc-result-card.highlight .calc-result-amount { color: #065f46; }
.calc-result-amount span { font-size: 14px; font-weight: 500; color: var(--text-tertiary); }
.calc-result-detail { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.calc-savings {
    text-align: center;
    padding: 12px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
}
.calc-savings strong { color: var(--accent-primary); }

/* ============================================
   RELATED ARTICLES
   ============================================ */
.related-articles {
    padding: 64px 0;
    background: var(--background-tertiary);
    border-top: 1px solid var(--border);
}
.related-articles-header {
    text-align: center;
    margin-bottom: 32px;
}
.related-articles-header h2 {
    font-size: 24px;
    color: var(--text-primary);
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.related-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.related-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}
.related-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}
.related-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}
.related-card-body span {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ============================================
   FLOATING CTA BAR
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #0f172a;
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    padding: 14px 0;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.floating-cta.visible { bottom: 0; }
.floating-cta.dismissed { bottom: -80px !important; }
.floating-cta-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.floating-cta-text {
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 500;
}
.floating-cta-text strong { color: white; }
.floating-cta-actions { display: flex; align-items: center; gap: 12px; }
.floating-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--success);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.floating-cta-btn:hover { background: #059669; color: white; transform: translateY(-1px); }
.floating-cta-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}
.floating-cta-close:hover { color: white; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: span 3; max-width: 100%; }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }

    .container, .container-narrow { padding: 0 16px; }

    /* Mobile nav */
    .mobile-nav-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-login-btn { display: inline-flex !important; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border-top: 1px solid var(--border);
        z-index: 1000;
        gap: 0;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-links li:last-child { border-bottom: none; }
    header .container nav { position: relative; }

    body, html { overflow-x: hidden; }

    /* Blog hero mobile */
    .blog-hero { padding: 110px 0 48px; }
    .blog-hero h1 { font-size: 32px; }
    .blog-hero p { font-size: 17px; }

    /* Blog grid mobile */
    .blog-section { padding: 48px 0; }
    .blog-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Article hero mobile */
    .article-hero { padding: 100px 0 40px; }
    .article-hero h1 { font-size: 28px; }
    .article-hero .article-meta { flex-wrap: wrap; gap: 12px; font-size: 14px; }

    /* Article content mobile */
    .article-content { padding: 40px 0 48px; }
    .article-cta { padding: 32px 20px; }

    /* CTA mobile */
    .cta-section { padding: 48px 0; }
    .cta-section h2 { font-size: 28px; }

    /* Footer mobile */
    footer { padding: 40px 0 24px; }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    /* Tables scroll on mobile */
    .article-content table,
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
