/* ============================================== */
/* SMART MONEY WITH KAI - BLOG STYLESHEET         */
/* ============================================== */

/* ============================================== */
/* SELF-HOSTED FONT                               */
/* ============================================== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url(/fonts/PlusJakartaSans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url(/fonts/PlusJakartaSans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================== */
/* CSS CUSTOM PROPERTIES                          */
/* ============================================== */
:root {
    --black: #0a0a0a;
    --yellow: #FFE500;
    --yellow-rgb: 255, 229, 0;
    --yellow-soft: #ffd900;
    --yellow-glow: rgba(255, 229, 0, 0.4);
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-800: #1a1a1a;
    --gray-900: #0f0f0f;
    --green: #10b981;
    --green-rgb: 16, 185, 129;
    --red: #dc2626;

    --bg-primary: #050505;
    --bg-secondary: #0d0d0d;
    --bg-elevated: #0f0f0f;
    --bg-card: rgba(18, 18, 18, 0.6);
    --bg-card-solid: #121212;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 229, 0, 0.3);
    --glow-yellow: 0 0 60px rgba(255, 229, 0, 0.15), 0 0 120px rgba(255, 229, 0, 0.1);
    --glow-yellow-strong: 0 0 30px rgba(255, 229, 0, 0.2), 0 0 60px rgba(255, 229, 0, 0.15);
    --card-shadow: none;
}

[data-theme="light"] {
    --bg-primary: #fafaf9;
    --bg-secondary: #f2f1ec;
    --bg-elevated: #eceae4;
    --bg-card: #ffffff;
    --bg-card-solid: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-hover: rgba(200, 180, 0, 0.5);
    --glow-yellow: none;
    --glow-yellow-strong: 0 2px 12px rgba(200, 180, 0, 0.1);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --yellow: #d4b800;
}

/* ============================================== */
/* RESET & BASE                                   */
/* ============================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    opacity: 0.35;
    transition: opacity 0.4s ease;
    will-change: filter;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.1) 0%, transparent 70%);
    bottom: 20%;
    right: -150px;
}

[data-theme="light"] body::before,
[data-theme="light"] body::after {
    opacity: 0.15;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { opacity: 0.85; }

/* Ensure CTA buttons override article link color */
.article-content .promo-cta,
.article-content .promo-cta:hover,
a.promo-cta,
a.promo-cta:hover {
    color: var(--black);
    text-decoration: none;
}

img { max-width: 100%; height: auto; }

/* ============================================== */
/* NAVIGATION                                     */
/* ============================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 1.5rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

[data-theme="light"] .nav {
    background: rgba(250, 250, 249, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo span { color: var(--yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--yellow);
    opacity: 1;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-primary);
}

.nav-toggle svg, .nav-toggle i {
    width: 24px;
    height: 24px;
    fill: currentColor;
    font-size: 28px;
}

/* Desktop nav iOS-style theme toggle */
.nav-theme-li {
    display: flex;
    align-items: center;
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 639px) {
    .nav-actions { display: flex; }
}

.nav-mobile-bottom {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile nav */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .nav-mobile {
    background: #fafaf9;
}

.nav-mobile.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.nav-mobile-links a {
    font-size: 2.4rem;
    font-weight: 600;
    color: #FFE500;
    text-decoration: none;
    padding: 0.6rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: opacity 0.2s;
}

[data-theme="light"] .nav-mobile-links a {
    color: #0a0a0a;
}

.nav-mobile-links a:hover {
    opacity: 0.7;
}

/* iOS-style theme switch */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.theme-switch-track {
    width: 50px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

[data-theme="light"] .theme-switch-track {
    background: rgba(0, 0, 0, 0.15);
}

.theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .theme-switch-thumb {
    transform: translateX(22px);
    background: #0a0a0a;
}

.theme-switch-thumb svg {
    width: 12px;
    height: 12px;
    fill: #0a0a0a;
}

.theme-switch-thumb .icon-sun { display: none; }
[data-theme="light"] .theme-switch-thumb .icon-moon { display: none; }
[data-theme="light"] .theme-switch-thumb .icon-sun { display: block; }
[data-theme="light"] .theme-switch-thumb svg {
    fill: #fff;
}

.nav-mobile-close {
    position: static;
    margin-top: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    transition: color 0.2s;
}

.nav-mobile-close:hover {
    color: #fff;
}

[data-theme="light"] .nav-mobile-close {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .nav-mobile-close:hover {
    color: #000;
}

.nav-mobile-close svg, .nav-mobile-close i { width: 28px; height: 28px; fill: currentColor; font-size: 24px; }

/* Desktop nav toggle overrides (must come after base theme-switch styles) */
.nav-theme-track.nav-theme-track {
    width: 38px;
    height: 20px;
}

.nav-theme-track .theme-switch-thumb {
    width: 14px;
    height: 14px;
}

[data-theme="light"] .nav-theme-track .theme-switch-thumb {
    transform: translateX(18px);
}

.nav-theme-track .theme-switch-thumb svg {
    width: 8px;
    height: 8px;
}

@media (max-width: 639px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ============================================== */
/* BLOG INDEX                                     */
/* ============================================== */
.blog-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 1.25rem 2rem;
    position: relative;
    z-index: 1;
}

.blog-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--yellow);
    margin-bottom: 0.3rem;
}

.section-title {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.blog-search-wrapper {
    max-width: 480px;
    margin: 0 auto 2rem;
}

.blog-search {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-search:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(var(--yellow-rgb), 0.1);
}

.blog-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
    display: block;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 40px rgba(var(--yellow-rgb), 0.06);
    opacity: 1;
}

.blog-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-secondary);
}

.blog-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.blog-card-body {
    padding: 1rem;
}

.blog-card-date {
    display: none;
}

.blog-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0.3rem 0 0.4rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.blog-card-excerpt {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-load-more-wrap {
    text-align: center;
    padding: 2rem 0 0;
}

.blog-load-more {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.7rem 2rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-load-more:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.blog-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================== */
/* ARTICLE PAGE                                   */
/* ============================================== */
.article-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 1.25rem 2rem;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.back-link:hover { color: var(--yellow); opacity: 1; }

.back-link svg, .back-link i {
    width: 16px;
    height: 16px;
    fill: currentColor;
    font-size: 16px;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: none;
}

.article-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    margin-bottom: 0.5rem;
}

/* ============================================== */
/* ARTICLE CONTENT TYPOGRAPHY                     */
/* ============================================== */
.article-content {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2.5rem 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 0.6rem;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.article-content strong {
    font-weight: 700;
    color: var(--text-primary);
}

.article-content a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover { opacity: 0.8; }

.article-content blockquote {
    border-left: 3px solid var(--yellow);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: #222222;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-secondary);
}

[data-theme="light"] .article-content blockquote {
    background: #f5f3ed;
}

.article-content img {
    border-radius: 10px;
    margin: 1.5rem 0;
}

.article-content figure {
    margin: 1.5rem 0;
}

.article-content figcaption {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

/* ============================================== */
/* ARTICLE EMBEDS (SMWK BRAND)                    */
/* ============================================== */

/* Promo code box */
.promo-box {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="light"] .promo-box {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.promo-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.promo-box-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    position: relative;
}

[data-theme="light"] .promo-box-subtitle {
    color: var(--text-secondary);
}

.promo-code {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--yellow);
    background: rgba(var(--yellow-rgb), 0.1);
    border: 2px dashed rgba(var(--yellow-rgb), 0.35);
    padding: 0.7rem 1.75rem;
    border-radius: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    position: relative;
}

.promo-code-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    position: relative;
}

[data-theme="light"] .promo-code-label {
    color: var(--text-secondary);
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.promo-feature {
    text-align: center;
}

.promo-feature-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--green);
}

.promo-feature-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[data-theme="light"] .promo-feature-label {
    color: var(--text-secondary);
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    background: var(--yellow);
    color: #000;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(var(--yellow-rgb), 0.2);
    position: relative;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--yellow-rgb), 0.3);
    opacity: 1;
}

/* ============================================== */
/* PROMOTED BANNER                                */
/* ============================================== */
.article-content a.promoted-banner,
.article-content a.promoted-banner:hover {
    text-decoration: none !important;
    color: inherit;
}

.article-content a.promoted-banner .promoted-banner-offer {
    text-decoration: none !important;
    color: var(--text-primary);
}

.article-content a.promoted-banner .promoted-banner-cta {
    text-decoration: none !important;
    color: #000;
}

.article-content a.promoted-banner .promoted-banner-disclaimer {
    text-decoration: none !important;
}

.promoted-banner-wrap {
    margin: 0 0 2rem;
}

.promoted-banner-label {
    display: inline-block;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.07);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

[data-theme="light"] .promoted-banner-label {
    color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.06);
}

.promoted-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(var(--yellow-rgb), 0.07) 0%, rgba(var(--yellow-rgb), 0.03) 100%);
    border: 1px solid rgba(var(--yellow-rgb), 0.18);
    border-radius: 12px;
    padding: 0.65rem 1.15rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.promoted-banner:hover {
    border-color: rgba(var(--yellow-rgb), 0.32);
    box-shadow: 0 4px 16px rgba(var(--yellow-rgb), 0.06);
    opacity: 1;
}

[data-theme="light"] .promoted-banner {
    background: linear-gradient(135deg, rgba(200, 180, 0, 0.12) 0%, rgba(200, 180, 0, 0.06) 100%);
    border-color: rgba(180, 160, 0, 0.25);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .promoted-banner:hover {
    border-color: rgba(180, 160, 0, 0.38);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.promoted-banner-logo {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}


.promoted-banner-body {
    flex: 1;
    min-width: 0;
}

.promoted-banner-offer {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.promoted-banner-disclaimer {
    font-size: 0.62rem;
    color: #555;
    margin-top: 0.15rem;
    line-height: 1.3;
}

[data-theme="light"] .promoted-banner-disclaimer {
    color: #aaa;
}

.promoted-banner-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.2rem;
    background: var(--yellow);
    color: #000 !important;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(var(--yellow-rgb), 0.15);
}

.promoted-banner:hover .promoted-banner-cta {
    box-shadow: 0 4px 16px rgba(var(--yellow-rgb), 0.25);
    transform: translateY(-1px);
}

/* Promoted banner responsive */
@media (max-width: 600px) {
    .promoted-banner {
        flex-wrap: wrap;
        gap: 0.65rem;
        padding: 0.65rem 0.9rem 0.75rem;
    }

    .promoted-banner-logo {
        width: 40px;
        height: 40px;
    }

    .promoted-banner-offer {
        font-size: 0.88rem;
    }

    .promoted-banner-cta {
        width: 100%;
        justify-content: center;
        padding: 0.55rem 1rem;
    }
}

/* Info card / key stats */
.info-card {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2rem 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="light"] .info-card {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .info-card::before {
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.04) 0%, transparent 70%);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--yellow-rgb), 0.12);
    border: 1px solid rgba(var(--yellow-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--yellow);
}

.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    position: relative;
    color: var(--yellow);
}

/* Legacy: title without header wrapper */
.info-card > .info-card-title { margin-bottom: 1.25rem; }

.info-card ul {
    position: relative;
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: 0.55rem 0 0.55rem 1.5rem;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 5px;
    height: 5px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(var(--yellow-rgb), 0.3);
}

[data-theme="light"] .info-card ul li {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    position: relative;
}

@media (min-width: 480px) {
    .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem;
    text-align: center;
    transition: all 0.2s ease;
}

.info-stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--yellow-rgb), 0.15);
}

[data-theme="light"] .info-stat {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .info-stat:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

.info-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

[data-theme="light"] .info-stat-label {
    color: var(--text-secondary);
}

.info-stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--yellow);
}

/* Step-by-step guide */
.steps-container {
    margin: 2rem 0;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .steps-container {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

[data-theme="light"] .step {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.step-number {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(var(--yellow-rgb), 0.12);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.step-content { flex: 1; }

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}

[data-theme="light"] .step-desc {
    color: var(--text-secondary);
}

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.88rem;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .compare-table {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.compare-table th {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .compare-table th {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.compare-table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .compare-table td {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

.compare-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .compare-table tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

.compare-table .highlight {
    color: var(--yellow);
    font-weight: 700;
}

/* Pros & cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 479px) {
    .pros-cons { grid-template-columns: 1fr; }
}

.pros-list, .cons-list {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .pros-list,
[data-theme="light"] .cons-list {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.pros-list h4, .cons-list h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pros-list h4 { color: var(--green); }
.cons-list h4 { color: #f59e0b; }

.pros-list li, .cons-list li {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    list-style: none;
}

.pros-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
}

.cons-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 5px;
    height: 5px;
    background: #f59e0b;
    border-radius: 50%;
}

/* Highlight box (large featured number inside info-card) */
.highlight-box {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    position: relative;
}

[data-theme="light"] .highlight-box {
    background: rgba(0, 0, 0, 0.03);
}

.highlight-box-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.35rem;
}

[data-theme="light"] .highlight-box-label {
    color: var(--text-secondary);
}

.highlight-box-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1.1;
}

.highlight-box-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.3rem;
}

[data-theme="light"] .highlight-box-desc {
    color: var(--text-secondary);
}

@media (max-width: 479px) {
    .highlight-box-value { font-size: 2.2rem; }
}

/* Feature pills row */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    position: relative;
}

.feature-pills.centered { justify-content: center; }

.feature-pill {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
}

[data-theme="light"] .feature-pill {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

/* Callout / tip box */
.callout {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--yellow);
    border-radius: 0 16px 16px 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), -4px 0 20px rgba(var(--yellow-rgb), 0.06);
    position: relative;
    overflow: hidden;
}

.callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--yellow-rgb), 0.04) 0%, transparent 100%);
    pointer-events: none;
}

[data-theme="light"] .callout {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    border-left-color: var(--yellow);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06), -4px 0 15px rgba(var(--yellow-rgb), 0.05);
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    position: relative;
}

.callout-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--yellow-rgb), 0.12);
    border: 1px solid rgba(var(--yellow-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.callout-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--yellow);
}

.callout-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--yellow);
    margin-bottom: 0;
    position: relative;
}

/* Legacy support: callout-label without callout-header */
.callout > .callout-label { margin-bottom: 0.5rem; }

.callout p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
}

.callout .callout-stat {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--yellow);
    display: block;
    margin-top: 0.5rem;
}

[data-theme="light"] .callout p {
    color: var(--text-primary);
}

/* Growth bars (horizontal bar chart) */
.growth-bars {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2rem 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.growth-bars::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="light"] .growth-bars {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.growth-bars-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--yellow);
    position: relative;
}

.growth-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    position: relative;
}

.growth-bar-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    min-width: 70px;
    flex-shrink: 0;
}

[data-theme="light"] .growth-bar-label {
    color: var(--text-secondary);
}

.growth-bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

[data-theme="light"] .growth-bar-track {
    background: rgba(0, 0, 0, 0.04);
}

.growth-bar-fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #000;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.growth-bar-fill.contribution {
    background: linear-gradient(90deg, var(--yellow), rgba(var(--yellow-rgb), 0.7));
}

.growth-bar-fill.returns {
    background: linear-gradient(90deg, var(--green), rgba(var(--green-rgb), 0.7));
    color: #fff;
}

.growth-bar-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--yellow);
    min-width: 60px;
    text-align: right;
    flex-shrink: 0;
}

.growth-bars-legend {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

[data-theme="light"] .growth-bars-legend {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.growth-bars-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .growth-bars-legend-item {
    color: var(--text-secondary);
}

.growth-bars-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.growth-bars-legend-dot.yellow { background: var(--yellow); }
.growth-bars-legend-dot.green { background: var(--green); }

/* Dual stat card (side by side comparison) */
.dual-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 479px) {
    .dual-stat { grid-template-columns: 1fr; }
}

.dual-stat-card {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.dual-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.dual-stat-card.negative { border-top-color: #ef4444; }
.dual-stat-card.negative::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
}
.dual-stat-card.positive { border-top-color: var(--green); }
.dual-stat-card.positive::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}
.dual-stat-card.gold { border-top-color: var(--yellow); }
.dual-stat-card.gold::before {
    background: radial-gradient(circle, rgba(var(--yellow-rgb), 0.06) 0%, transparent 70%);
}

[data-theme="light"] .dual-stat-card {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 50%, #efede8 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .dual-stat-card.negative { border-top-color: #ef4444; }
[data-theme="light"] .dual-stat-card.positive { border-top-color: var(--green); }
[data-theme="light"] .dual-stat-card.gold { border-top-color: var(--yellow); }

.dual-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}
.dual-stat-icon svg {
    width: 22px;
    height: 22px;
}
.dual-stat-icon.red {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.dual-stat-icon.green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}
.dual-stat-icon.gold {
    background: rgba(var(--yellow-rgb), 0.12);
    border: 1px solid rgba(var(--yellow-rgb), 0.2);
    color: var(--yellow);
}

.dual-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

[data-theme="light"] .dual-stat-label {
    color: var(--text-secondary);
}

.dual-stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.dual-stat-value.muted { color: rgba(255, 255, 255, 0.35); }
[data-theme="light"] .dual-stat-value.muted { color: var(--text-secondary); }
.dual-stat-value.accent { color: var(--green); }
.dual-stat-value.red { color: #ef4444; }
.dual-stat-value.gold { color: var(--yellow); }

.dual-stat-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .dual-stat-desc {
    color: var(--text-secondary);
}

@media (max-width: 479px) {
    .dual-stat-value { font-size: 1.6rem; }
    .dual-stat-icon { width: 38px; height: 38px; }
    .dual-stat-icon svg { width: 18px; height: 18px; }
}

/* FAQ section */
.faq-section {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
}

.faq-item.open {
    border-color: rgba(var(--yellow-rgb), 0.4);
}

.faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(var(--yellow-rgb), 0.03);
}

.faq-question::after {
    content: '+';
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 28px;
    text-align: center;
    color: var(--yellow);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: block;
    background: rgba(var(--yellow-rgb), 0.1);
    border: 1px solid rgba(var(--yellow-rgb), 0.2);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-question::after {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* YouTube embed */
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin: 2rem 0;
    background: var(--bg-secondary);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================== */
/* ARTICLE DISCLAIMER                             */
/* ============================================== */
.article-disclaimer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================== */
/* RELATED ARTICLES                               */
/* ============================================== */
.related-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

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

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

/* ============================================== */
/* FOOTER                                         */
/* ============================================== */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-social a {
    text-decoration: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.footer-social svg, .footer-social i {
    width: 16px;
    height: 16px;
    font-size: 16px;
    fill: var(--text-secondary);
    color: var(--text-secondary);
    transition: fill 0.3s ease, color 0.3s ease;
}

.footer-social a:hover svg, .footer-social a:hover i {
    fill: var(--yellow);
    color: var(--yellow);
}

/* ============================================== */
/* BACK TO TOP                                    */
/* ============================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow, #FFE500);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top svg, .back-to-top i {
    width: 20px;
    height: 20px;
    fill: currentColor;
    font-size: 20px;
}

/* ============================================== */
/* BLOG NEWSLETTER CTA                            */
/* ============================================== */
.blog-newsletter {
    margin: 2.5rem 0;
    position: relative;
    border-radius: 20px;
    padding: 1px;
    border: 1px solid rgba(255, 229, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 229, 0, 0.15), 0 0 35px rgba(255, 229, 0, 0.1), 0 0 70px rgba(255, 229, 0, 0.06);
}

.blog-newsletter-inner {
    background: var(--bg-card, #141414);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.blog-newsletter-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, rgba(255, 229, 0, 0.15), rgba(255, 229, 0, 0.05));
    border: 1px solid rgba(255, 229, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-newsletter-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--yellow, #FFE500);
}

.blog-newsletter h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.blog-newsletter p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.blog-newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 400px;
    margin: 0 auto;
    flex-direction: column;
}

@media (min-width: 480px) {
    .blog-newsletter-form {
        flex-direction: row;
    }
}

.blog-newsletter-form input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-secondary, #1a1a1a);
    color: var(--text-primary);
}

.blog-newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.blog-newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 229, 0, 0.4);
}

.blog-newsletter-form button {
    padding: 0.85rem 1.5rem;
    background: var(--yellow, #FFE500);
    color: #0a0a0a;
    border: none;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s;
    touch-action: manipulation;
}

.blog-newsletter-form button:hover {
    transform: scale(1.05);
}

.blog-newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.blog-newsletter-trust {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.blog-newsletter-success {
    display: none;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-newsletter-success.show {
    display: block;
}

.blog-newsletter-form.hidden {
    display: none;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--yellow);
    opacity: 1;
}

.footer-legal span {
    color: var(--text-secondary);
    opacity: 0.4;
}

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

.footer a:hover {
    color: var(--yellow);
}

/* ============================================== */
/* SCROLL REVEAL                                  */
/* ============================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================== */
/* CHAIN REACTION / FLOW DIAGRAM                  */
/* ============================================== */
.chain-reaction {
    margin: 2rem 0;
    position: relative;
}

.chain-node {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chain-node:hover {
    border-color: rgba(var(--yellow-rgb), 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--yellow-rgb), 0.04);
}

[data-theme="light"] .chain-node {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .chain-node:hover {
    border-color: rgba(var(--yellow-rgb), 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.chain-node-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.chain-node-icon.oil { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.chain-node-icon.cost { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); }
.chain-node-icon.inflation { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.chain-node-icon.rates { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }

.chain-node-body { flex: 1; }

.chain-node-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.chain-node-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

[data-theme="light"] .chain-node-desc {
    color: var(--text-secondary);
}

.chain-arrow {
    display: flex;
    justify-content: center;
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.2);
}

.chain-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

[data-theme="light"] .chain-arrow {
    color: rgba(0, 0, 0, 0.15);
}

/* ============================================== */
/* SPLIT COMPARISON CARDS                         */
/* ============================================== */
.split-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 2rem 0;
}

@media (max-width: 479px) {
    .split-compare { grid-template-columns: 1fr; }
}

.split-card {
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.split-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.split-card.negative {
    background: linear-gradient(135deg, #1a1212 0%, #1a1414 100%);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.split-card.negative::before {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.split-card.positive {
    background: linear-gradient(135deg, #111a14 0%, #121a14 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.split-card.positive::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

[data-theme="light"] .split-card.negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border-color: rgba(220, 38, 38, 0.12);
}

[data-theme="light"] .split-card.positive {
    background: linear-gradient(135deg, #f0fdf4 0%, #f5fff8 100%);
    border-color: rgba(16, 185, 129, 0.12);
}

.split-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.split-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.split-card.negative .split-card-title { color: #ef4444; }
.split-card.positive .split-card-title { color: #10b981; }

.split-card-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

[data-theme="light"] .split-card-text {
    color: var(--text-secondary);
}

/* ============================================== */
/* HISTORY TIMELINE                               */
/* ============================================== */
.history-timeline {
    margin: 2rem 0;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(var(--yellow-rgb), 0.04) 0%, transparent 60%);
    pointer-events: none;
}

[data-theme="light"] .history-timeline {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.history-timeline-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow);
    margin-bottom: 1.25rem;
    position: relative;
}

.history-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.history-row:last-child { border-bottom: none; }

[data-theme="light"] .history-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.history-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--yellow);
    min-width: 90px;
    flex-shrink: 0;
}

.history-bar {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

[data-theme="light"] .history-bar {
    background: rgba(0, 0, 0, 0.04);
}

.history-bar-fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(90deg, var(--red) 0%, #ef4444 100%);
}

.history-bar-fill.resolved {
    background: linear-gradient(90deg, var(--green) 0%, #34d399 100%);
    color: #fff;
}

.history-outcome {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}

.history-outcome.down { color: var(--red); }
.history-outcome.up { color: var(--green); }

@media (max-width: 479px) {
    .history-row { flex-wrap: wrap; gap: 0.5rem; }
    .history-year { min-width: auto; }
    .history-outcome { min-width: auto; text-align: left; }
}

/* ============================================== */
/* STAT BANNER (wide single stat)                 */
/* ============================================== */
.stat-banner {
    margin: 2rem 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(var(--yellow-rgb), 0.06) 0%, transparent 60%);
    pointer-events: none;
}

[data-theme="light"] .stat-banner {
    background: linear-gradient(135deg, #f9f9f7 0%, #f4f3ef 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

.stat-banner-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
    position: relative;
}

[data-theme="light"] .stat-banner-label {
    color: var(--text-secondary);
}

.stat-banner-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
}

@media (max-width: 479px) {
    .stat-banner-value { font-size: 2.5rem; }
}

.stat-banner-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
}

[data-theme="light"] .stat-banner-desc {
    color: var(--text-secondary);
}
