/* ============================================== */
/* 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.15rem;
    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 {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

.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: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    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 { width: 36px; height: 36px; fill: currentColor; }

@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 {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.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-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 {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

.article-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.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: #222222;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    margin: 2rem 0;
}

[data-theme="light"] .promo-box {
    background: #f5f3ed;
    border-color: rgba(0, 0, 0, 0.12);
}

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

.promo-box-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.promo-code {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--yellow);
    background: rgba(var(--yellow-rgb), 0.08);
    border: 2px dashed rgba(var(--yellow-rgb), 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.promo-code-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

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

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

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

.promo-feature-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--yellow);
    color: var(--black);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Info card / key stats */
.info-card {
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 2rem 0;
}

[data-theme="light"] .info-card {
    background: #f5f3ed;
    border-color: rgba(0, 0, 0, 0.12);
}

.info-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.info-stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

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

/* Step-by-step guide */
.steps-container {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

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

.step-number {
    width: 32px;
    height: 32px;
    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.2rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.88rem;
}

.compare-table th {
    background: var(--bg-card);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.compare-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.compare-table .highlight {
    color: var(--green);
    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: #222222;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.25rem;
}

[data-theme="light"] .pros-list,
[data-theme="light"] .cons-list {
    background: #f5f3ed;
    border-color: rgba(0, 0, 0, 0.12);
}

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

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

.pros-list li, .cons-list li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

/* FAQ section */
.faq-section {
    margin: 2.5rem 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--yellow);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 0.75rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 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;
    position: relative;
    z-index: 1;
}

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

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

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

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ============================================== */
/* 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 {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================== */
/* BLOG NEWSLETTER CTA                            */
/* ============================================== */
.blog-newsletter {
    margin: 2.5rem 0;
    position: relative;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), var(--yellow), transparent 15%, transparent 85%, var(--yellow));
    animation: rotateConic 6s linear infinite;
    box-shadow: 0 0 30px rgba(255, 229, 0, 0.15);
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateConic {
    0% { --angle: 0deg; }
    100% { --angle: 360deg; }
}

@supports not (background: conic-gradient(from var(--angle), red, blue)) {
    .blog-newsletter {
        background: linear-gradient(135deg, var(--yellow), rgba(255, 229, 0, 0.2), var(--yellow));
        animation: none;
    }
}

.blog-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

.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 p {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

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

.footer p 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);
}
