/* ============================================================
   Article detail page — shared styles (Obsidian Amber design)

   Usage: referenced by every blog article page at
          frontend/cn/blog/articles/*.html
   Path from article:  ../../css/article.css

   DO NOT put page-specific content here. All selectors are
   generic and driven by HTML class names / element structure.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --ink: #0a0a0a;
    --ink-soft: #3f3f46;
    --muted: #6b7280;
    --faint: #9ca3af;
    --line: #e7e8ec;
    --surface: #ffffff;
    --surface-alt: #f7f7f9;
    --accent-amber: #f59e0b;
    --accent-amber-deep: #d97706;
    --accent-amber-light: #fbbf24;
    --accent-amber-dark: #b45309;
    --hero-dark: #070604;
    --dark-layer: #0a0804;
}

body {
    background: linear-gradient(160deg, #fffbf2 0%, #ffffff 40%, #fffdf5 72%, #fff9ed 100%) !important;
    color: var(--ink) !important;
}

main {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main h1, main h2, main h3, main h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}
main p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Eyebrow label ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-amber-deep);
    margin-bottom: 14px;
}
.eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber-light), var(--accent-amber-deep));
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(245,158,11,0.55);
}

/* ---------- Glass card ---------- */
.clean-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(15,23,42,0.05),
                0 1px 3px rgba(15,23,42,0.03),
                inset 0 1px 0 rgba(255,255,255,0.88);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.clean-card:hover {
    box-shadow: 0 20px 48px rgba(15,23,42,0.10),
                0 4px 16px rgba(245,158,11,0.08),
                inset 0 1px 0 rgba(255,255,255,0.95);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.85);
}

/* ==================== ARTICLE HERO (dark band) ==================== */
.article-hero-header {
    padding: 128px 0 72px;
    background: var(--hero-dark);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-mesh {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 8% 45%, rgba(245,158,11,0.20) 0%, transparent 55%),
        radial-gradient(ellipse 55% 55% at 88% 18%, rgba(217,119,6,0.16) 0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 55% 88%, rgba(251,191,36,0.10) 0%, transparent 55%);
    animation: mesh-breathe 13s ease-in-out infinite;
    pointer-events: none;
}
@keyframes mesh-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }

.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 100%);
    pointer-events: none;
}
.article-hero-header .wrap { position: relative; z-index: 2; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
    font-weight: 500;
    margin-bottom: 28px;
}
.breadcrumb a {
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    transition: color 0.18s ease;
}
.breadcrumb a:hover { color: var(--accent-amber-light); }
/* breadcrumb separator — place an SVG chevron inline in the HTML */
.breadcrumb .sep { display: inline-flex; align-items: center; opacity: 0.45; }

/* Category chip */
.cat-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(245,158,11,0.15);
    color: var(--accent-amber-light);
    border: 1px solid rgba(245,158,11,0.28);
}

.article-hero-header h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #fff;
    font-weight: 800;
    margin-bottom: 22px;
    max-width: 820px;
}
.article-hero-header h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 40%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.88;
    max-width: 680px;
    margin-bottom: 36px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}
.article-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* meta-item icon: place inline SVG with width="12" stroke="rgba(245,158,11,0.6)" */

/* Tag pills in hero */
.tag-pill {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.55);
}

/* ==================== ARTICLE LAYOUT (main + sidebar) ==================== */
.article-body-section {
    padding: 72px 0 80px;
    background: transparent;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}
@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 296px;
        gap: 56px;
    }
}

/* ==================== ARTICLE CONTENT TYPOGRAPHY ==================== */
.article-content {
    font-size: 1.025rem;
    line-height: 1.92;
    color: var(--ink-soft);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.article-content h2 {
    font-size: 1.5rem;
    margin-top: 52px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(245,158,11,0.18);
    position: relative;
}
.article-content h2::before {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--accent-amber), var(--accent-amber-light));
    border-radius: 2px;
}
.article-content h3 {
    font-size: 1.15rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--ink);
}
.article-content p {
    margin-bottom: 20px;
    color: var(--ink-soft);
}
.article-content strong { color: var(--ink); font-weight: 700; }
.article-content a {
    color: var(--accent-amber-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover { color: var(--accent-amber-dark); }

/* Inline code */
.article-content code {
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.88em;
    background: rgba(245,158,11,0.10);
    border: 1px solid rgba(245,158,11,0.20);
    border-radius: 5px;
    padding: 2px 7px;
    color: var(--accent-amber-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Code block */
.article-content pre {
    background: #0d0b05;
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: 14px;
    padding: 24px 28px;
    overflow-x: auto;
    max-width: 100%;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
}
.article-content pre code {
    background: none; border: none; padding: 0;
    color: #e2d9c2;
    font-size: 0.88rem;
    line-height: 1.75;
    white-space: pre;
    word-break: normal;
    overflow-wrap: normal;
}

/* Data table */
.data-table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 16px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(245,158,11,0.12);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.data-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table thead tr {
    background: linear-gradient(135deg, #0d0b05, #14100a);
}
.data-table thead th {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
    border-bottom: 1px solid rgba(245,158,11,0.18);
    white-space: nowrap;
}
.data-table tbody tr { border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:nth-child(odd)  { background: rgba(255,255,255,0.5); }
.data-table tbody tr:nth-child(even) { background: rgba(247,247,249,0.5); }
.data-table tbody td {
    padding: 13px 18px;
    color: var(--ink-soft);
    vertical-align: top;
    line-height: 1.55;
    white-space: normal;
    word-break: break-word;
    min-width: 72px;
}
.data-table .highlight-val {
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Callout / tip box
   Variants: default (amber), .tip (green), .warning (red) */
.callout {
    border-left: 3px solid var(--accent-amber);
    background: linear-gradient(135deg, rgba(245,158,11,0.07), rgba(245,158,11,0.03));
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 28px 0;
}
.callout.tip    { border-color: #10b981; background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(16,185,129,0.03)); }
.callout.warning{ border-color: #ef4444; background: linear-gradient(135deg, rgba(239,68,68,0.07), rgba(239,68,68,0.03)); }

.callout-title {
    font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--accent-amber-deep);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 7px;
}
.callout.tip     .callout-title { color: #059669; }
.callout.warning .callout-title { color: #dc2626; }
.callout p { margin-bottom: 0; font-size: 0.93rem; overflow-wrap: break-word; word-wrap: break-word; }

/* Metric highlight row */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.metric-card {
    padding: 22px 18px; border-radius: 16px; text-align: center;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(245,158,11,0.12);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.metric-val {
    font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block; line-height: 1.1;
}
.metric-label {
    font-size: 0.78rem; color: var(--muted); font-weight: 500;
    margin-top: 6px; display: block;
}

/* Step indicator list (ol.step-list > li.step-item) */
.step-list {
    list-style: none; padding: 0; margin: 24px 0;
    display: flex; flex-direction: column; gap: 18px;
}
.step-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 20px 22px; border-radius: 14px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(245,158,11,0.12);
    box-shadow: 0 2px 6px rgba(15,23,42,0.04);
}
.step-num {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    color: #fff; font-size: 0.78rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}
.step-body { flex: 1; min-width: 0; }
.step-body strong { display: block; font-size: 0.96rem; color: var(--ink); margin-bottom: 5px; }
.step-body p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ==================== SIDEBAR ==================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 88px; } }

/* TOC card */
.toc-card { padding: 24px 22px; }
.toc-title {
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--accent-amber-deep);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.toc-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.toc-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px;
    font-size: 0.84rem; color: var(--muted);
    text-decoration: none; font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}
.toc-link:hover { background: rgba(245,158,11,0.08); color: var(--accent-amber-deep); }
.toc-link.active { background: rgba(245,158,11,0.12); color: var(--accent-amber-deep); font-weight: 700; }
.toc-num {
    font-size: 0.7rem; font-weight: 800;
    color: var(--accent-amber); opacity: 0.65; min-width: 22px;
}

/* Sidebar CTA widget */
.sidebar-cta {
    border-radius: 20px; overflow: hidden;
    background: linear-gradient(145deg, #0f0c06, #1a1409);
    border: 1px solid rgba(245,158,11,0.22);
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}
.sidebar-cta-inner { padding: 28px 22px; }
.sidebar-cta-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--accent-amber);
    background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25);
    padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.sidebar-cta h3 { font-size: 1.05rem; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.sidebar-cta p  { font-size: 0.84rem; color: rgba(255,255,255,0.48); line-height: 1.7; margin-bottom: 18px; }
.sidebar-cta .feature-list {
    list-style: none; padding: 0; margin: 0 0 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.sidebar-cta .feature-list li {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.84rem; color: rgba(255,255,255,0.62); font-weight: 500;
}
/* feature-list icon: inline SVG circle-check, width="11", stroke="var(--accent-amber)" */
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.price-val {
    font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-unit { font-size: 0.78rem; color: rgba(255,255,255,0.38); font-weight: 500; }
.btn-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 20px; border-radius: 12px;
    font-weight: 700; font-size: 0.88rem;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    color: #fff; text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ==================== ARTICLE END CTA BLOCK ==================== */
.article-cta-section {
    margin-top: 64px; border-radius: 24px; overflow: hidden;
    background: linear-gradient(135deg, #0f0c06 0%, #1a1409 50%, #0d0b05 100%);
    border: 1px solid rgba(245,158,11,0.22);
    box-shadow: 0 12px 48px rgba(0,0,0,0.22);
    position: relative;
}
.article-cta-mesh {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 5% 50%, rgba(245,158,11,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 90% 20%, rgba(217,119,6,0.14) 0%, transparent 55%);
    animation: mesh-breathe 11s ease-in-out infinite;
}
.article-cta-inner {
    position: relative; z-index: 2;
    padding: 52px 52px;
    display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.article-cta-inner > div:first-child { flex: 1; min-width: 280px; }
.article-cta-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent-amber);
    margin-bottom: 16px;
}
.article-cta-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-amber);
    box-shadow: 0 0 8px rgba(245,158,11,0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.65; }
}
.article-cta-inner h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #fff; line-height: 1.22; margin-bottom: 16px;
}
.article-cta-inner h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #fde68a, #fbbf24, #d97706);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.article-cta-inner > div:first-child > p {
    font-size: 0.96rem; color: rgba(255,255,255,0.52); line-height: 1.85; margin-bottom: 28px;
}
.cta-price-block { display: flex; align-items: baseline; gap: 8px; margin-bottom: 28px; }
.cta-price-val {
    font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-price-unit { font-size: 0.88rem; color: rgba(255,255,255,0.38); font-weight: 500; }
.cta-btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 12px;
    font-weight: 700; font-size: 0.92rem;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    color: #fff !important; text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(245,158,11,0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-cta-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff !important; }
.btn-cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 12px;
    font-weight: 600; font-size: 0.92rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.78); text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
.cta-spec-card {
    min-width: 220px; padding: 28px 24px; border-radius: 18px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(245,158,11,0.18);
}
.cta-spec-card .spec-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.84rem;
}
.cta-spec-card .spec-row:last-child { border-bottom: none; }
.cta-spec-card .spec-label { color: rgba(255,255,255,0.42); font-weight: 500; }
.cta-spec-card .spec-val { color: #fff; font-weight: 700; }
.cta-spec-card .spec-val.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==================== FLOATING CTA WIDGET ==================== */
.floating-cta {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 268px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(145deg, #0f0c06, #1a1409);
    border: 1px solid rgba(245,158,11,0.28);
    box-shadow: 0 16px 48px rgba(0,0,0,0.38), 0 4px 16px rgba(245,158,11,0.12);
    opacity: 0; transform: translateY(16px) scale(0.97);
    transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1),
                transform 0.35s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta-close {
    position: absolute; top: 12px; right: 12px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: none; cursor: pointer;
    color: rgba(255,255,255,0.45); font-size: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.18s ease;
}
.floating-cta-close:hover { background: rgba(255,255,255,0.16); }
.floating-cta-inner { padding: 22px 20px; }
.floating-cta-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.67rem; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--accent-amber);
    margin-bottom: 10px;
}
.pulse-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-amber); flex-shrink: 0;
    box-shadow: 0 0 6px rgba(245,158,11,0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}
.floating-cta h4 { font-size: 0.94rem; color: #fff; font-weight: 800; line-height: 1.38; margin-bottom: 12px; }
.fc-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.fc-price-val {
    font-size: 1.45rem; font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fc-price-unit { font-size: 0.72rem; color: rgba(255,255,255,0.38); font-weight: 500; }
.fc-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 16px; border-radius: 10px;
    font-weight: 700; font-size: 0.84rem;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    color: #fff !important; text-decoration: none !important; margin-bottom: 12px;
    transition: opacity 0.2s ease;
}
.fc-btn:hover { opacity: 0.88; color: #fff !important; }
.fc-features { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-feature-tag {
    font-size: 0.67rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 3px 9px; border-radius: 999px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.48);
}

/* ==================== RELATED ARTICLES SECTION ==================== */
.related-section { padding: 72px 0 88px; }
.section-head { max-width: 600px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 1.85rem; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 0.96rem; line-height: 1.75; }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

.related-card { padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.related-card-thumb {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    display: block; transition: transform 0.45s ease; background: #111;
}
.related-card:hover .related-card-thumb { transform: scale(1.03); }
.related-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.related-card-body .cat-chip {
    font-size: 0.68rem; padding: 3px 10px; margin-bottom: 12px;
    background: rgba(245,158,11,0.10); color: var(--accent-amber-deep);
    border: 1px solid rgba(245,158,11,0.18);
}
.related-card h3 { font-size: 1.02rem; line-height: 1.44; margin-bottom: 10px; }
.related-card h3 a { color: inherit; text-decoration: none; }
.related-card h3 a:hover { color: var(--accent-amber-deep); }
.related-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.75; flex: 1; }

/* ==================== READING PROGRESS BAR ==================== */
.read-progress-bar {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
    background: linear-gradient(90deg, var(--accent-amber), var(--accent-amber-light));
    width: 0%; transition: width 0.1s linear;
}

/* ==================== COMPARISON TABLE ==================== */
/* Optional component: use when comparing two options side-by-side */
.compare-table-wrap { overflow-x: auto; margin: 32px 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
.compare-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: 0.88rem; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(15,23,42,0.08);
}
.compare-table thead th {
    padding: 16px 20px; font-size: 0.8rem; font-weight: 800;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.compare-table thead th:first-child {
    background: #0d0b05; color: rgba(255,255,255,0.5); text-align: left;
}
.compare-table thead th.col-bad  { background: #1e1a1a; color: rgba(255,255,255,0.42); text-align: center; }
.compare-table thead th.col-good { background: linear-gradient(135deg, #d97706, #f59e0b); color: #1a0e00; text-align: center; }
.compare-table tbody tr { background: rgba(255,255,255,0.65); }
.compare-table tbody tr:nth-child(even) { background: rgba(247,247,249,0.65); }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.9); }
.compare-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(226,228,236,0.6);
    vertical-align: middle;
}
.compare-table tbody td:first-child { font-weight: 600; color: var(--ink); }
.compare-table tbody td.col-bad  { text-align: center; color: #dc2626; font-weight: 600; }
.compare-table tbody td.col-good { text-align: center; color: #059669; font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ==================== METRIC CARD — ALTERNATE CLASS NAMES ==================== */
/* Aliases: some articles use .m-value / .m-label instead of .metric-val / .metric-label */
.metric-card .m-value {
    font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 6px; display: block;
}
.metric-card .m-label {
    font-size: 0.75rem; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.05em; display: block;
}

/* ==================== SIDEBAR CTA — GOLDEN PILL BUTTON VARIANT ==================== */
/* Scoped to sidebar-cta so it only overrides inside that widget */
.sidebar-cta .btn-cta {
    border-radius: 999px;
    color: #1a0e00;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 60%, #fde68a 100%);
    box-shadow: 0 4px 20px rgba(245,158,11,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.sidebar-cta .btn-cta:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,158,11,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ==================== ANIMATIONS ==================== */
@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* fc-pulse — floating CTA badge dot animation (ring-expand variant) */
@keyframes fc-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(245,158,11,0.8); }
    70%  { box-shadow: 0 0 0 5px rgba(245,158,11,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

/* ==================== RESPONSIVE OVERRIDES ==================== */
@media (max-width: 767px) {
    .wrap { padding: 0 16px; }
    .article-body-section { padding: 48px 0 64px; }
    .article-content { font-size: 0.98rem; line-height: 1.85; }
    .article-content h2 { font-size: 1.3rem; margin-top: 40px; }
    .article-content pre { padding: 16px 18px; border-radius: 12px; }
    .data-table-wrap {
        margin: 20px 0;
        border-radius: 12px;
    }
    .data-table {
        min-width: 520px;
        font-size: 0.84rem;
    }
    .data-table thead th {
        padding: 11px 14px;
        font-size: 0.72rem;
    }
    .data-table tbody td {
        padding: 11px 14px;
        min-width: 64px;
    }
    .data-table tbody td:last-child {
        min-width: 100px;
    }
    .metric-row { grid-template-columns: 1fr; }
    .step-item { padding: 16px 18px; gap: 14px; }
    .floating-cta { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
    .article-cta-inner { padding: 36px 24px; gap: 28px; }
    .article-cta-inner > div:first-child { min-width: 0; }
    .cta-spec-card { min-width: 0; width: 100%; }
}
