/* ============================================
   SEMILLITA BLOG — Shared Styles
   Inherits brand from ../index.html
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style-position: inside; }

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --secondary: #FF6B9D;
    --accent: #00D2FF;
    --green: #00C897;
    --orange: #FF9F43;
    --yellow: #FECA57;
    --dark: #1a1a2e;
    --light: #f8f9ff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6B9D 100%);
    --gradient-2: linear-gradient(135deg, #00D2FF 0%, #6C63FF 100%);
    --gradient-3: linear-gradient(135deg, #FF6B9D 0%, #FF9F43 100%);
    --shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
    --shadow-sm: 0 8px 24px rgba(108, 99, 255, 0.08);
    --radius: 20px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    width: 0;
    z-index: 1001;
    transition: width 0.1s ease;
}

/* ===== NAVBAR (matches landing) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
}
.logo-icon {
    width: 36px;
    height: 36px;
    position: relative;
}
.logo-icon .seed {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50% 50% 50% 10%;
    position: relative;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}
.logo-icon .sprout {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 11px;
    background: var(--green);
    border-radius: 2px;
}
.logo-icon .sprout::before,
.logo-icon .sprout::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50% 0 50% 50%;
    background: var(--green);
}
.logo-icon .sprout::before { top: -2px; left: -6px; transform: rotate(45deg); }
.logo-icon .sprout::after { top: -2px; right: -6px; border-radius: 0 50% 50% 50%; transform: rotate(-45deg); }
.logo-icon .face-dot {
    width: 3.5px;
    height: 3.5px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}
.logo-icon .face-dot.left { top: 15px; left: 11px; }
.logo-icon .face-dot.right { top: 15px; right: 11px; }
.logo-icon .face-smile {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 5px;
    border-bottom: 2px solid #fff;
    border-radius: 0 0 10px 10px;
}
.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BLOG HEADER ===== */
.blog-hero {
    padding: 140px 0 60px;
    background:
        radial-gradient(ellipse 600px 400px at 10% 10%, rgba(108, 99, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 600px 400px at 90% 30%, rgba(255, 107, 157, 0.08), transparent 60%);
}
.blog-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--dark);
}
.blog-hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 640px;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0 48px;
}
.category-pill {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}
.category-pill:hover { border-color: var(--primary); color: var(--primary); }
.category-pill.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ===== ARTICLE CARDS ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding-bottom: 100px;
}
.article-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.article-card-image {
    aspect-ratio: 16/9;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
}
.article-card-image.gradient-2 { background: var(--gradient-2); }
.article-card-image.gradient-3 { background: var(--gradient-3); }
.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.article-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--dark);
}
.article-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}
.article-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--muted);
    align-items: center;
}
.article-card-meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 360px;
}
.article-card.featured .article-card-image { aspect-ratio: unset; font-size: 6rem; }
.article-card.featured .article-card-body { justify-content: center; padding: 48px; }
.article-card.featured h3 { font-size: 2rem; }
@media (max-width: 768px) {
    .article-card.featured { grid-template-columns: 1fr; }
    .article-card.featured .article-card-body { padding: 32px 24px; }
    .article-card.featured h3 { font-size: 1.5rem; }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */

/* ===== ARTICLE HEADER ===== */
.article-header {
    padding: 120px 0 40px;
    background:
        radial-gradient(ellipse 500px 300px at 20% 20%, rgba(108, 99, 255, 0.06), transparent 60%),
        radial-gradient(ellipse 500px 300px at 80% 40%, rgba(255, 107, 157, 0.06), transparent 60%);
}
.article-breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--primary); font-weight: 600; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.article-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
}
.article-lead {
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 680px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
}
.article-author-info { display: flex; flex-direction: column; }
.article-author-name { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.article-author-role { font-size: 0.8rem; color: var(--muted); }
.article-meta-info {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    align-items: center;
}
.article-meta-info .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; display: inline-block; }

/* ===== ARTICLE LAYOUT (content + TOC) ===== */
.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    padding: 48px 0 80px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; padding: 32px 0 60px; }
}

/* ===== TABLE OF CONTENTS ===== */
.article-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    font-size: 0.9rem;
}
.article-toc h4 {
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 800;
}
.article-toc ul { list-style: none; border-left: 2px solid var(--border); }
.article-toc li a {
    display: block;
    padding: 8px 16px;
    color: var(--muted);
    font-weight: 500;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: all 0.2s;
    line-height: 1.4;
}
.article-toc li a:hover { color: var(--primary); }
.article-toc li a.active {
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 700;
}
.article-toc li.h3 a { padding-left: 32px; font-size: 0.85rem; }
@media (max-width: 1024px) {
    .article-toc { position: static; display: none; }
}

/* ===== ARTICLE CONTENT (prose) ===== */
.article-content {
    font-size: 1.075rem;
    color: #1f2937;
    line-height: 1.75;
    max-width: 720px;
}
.article-content > * + * { margin-top: 1.25rem; }
.article-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    scroll-margin-top: 100px;
}
.article-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 100px;
}
.article-content p { margin: 1.25rem 0; }
.article-content a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
    transition: border-color 0.2s;
}
.article-content a:hover { border-color: var(--primary); }
.article-content strong { color: var(--dark); font-weight: 700; }
.article-content ul, .article-content ol {
    margin: 1.25rem 0 1.25rem 1.5rem;
    list-style-position: outside;
}
.article-content li { margin: 0.5rem 0; }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }
.article-content blockquote {
    margin: 2rem 0;
    padding: 24px 28px;
    border-left: 4px solid var(--primary);
    background: var(--light);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #374151;
    font-size: 1.1rem;
}
.article-content blockquote p { margin: 0; }
.article-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
}
.article-content figure {
    margin: 2rem 0;
}
.article-content img {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.article-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
    font-style: italic;
}
.article-content code {
    background: var(--light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.9em;
    color: var(--primary-dark);
}
.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}
.article-content thead { background: var(--gradient); color: #fff; }
.article-content th, .article-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.article-content th { font-weight: 700; font-family: 'Nunito', sans-serif; }
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:hover { background: var(--light); }

/* ===== CALLOUT BOXES ===== */
.callout {
    margin: 2rem 0;
    padding: 24px 28px;
    border-radius: 16px;
    position: relative;
    padding-left: 64px;
}
.callout::before {
    position: absolute;
    left: 20px;
    top: 24px;
    font-size: 1.5rem;
}
.callout-tip {
    background: rgba(0, 200, 151, 0.08);
    border: 1px solid rgba(0, 200, 151, 0.2);
}
.callout-tip::before { content: '💡'; }
.callout-warning {
    background: rgba(255, 159, 67, 0.08);
    border: 1px solid rgba(255, 159, 67, 0.3);
}
.callout-warning::before { content: '⚠️'; }
.callout-info {
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.2);
}
.callout-info::before { content: 'ℹ️'; }
.callout-quote {
    background: rgba(255, 107, 157, 0.06);
    border: 1px solid rgba(255, 107, 157, 0.2);
}
.callout-quote::before { content: '💬'; }
.callout h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}
.callout p:last-child { margin-bottom: 0; }

/* ===== TL;DR BOX ===== */
.tldr {
    margin: 2rem 0;
    padding: 24px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.04), rgba(255, 107, 157, 0.04));
    border: 1px solid rgba(108, 99, 255, 0.15);
}
.tldr-label {
    font-family: 'Nunito', sans-serif;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
}
.tldr p { margin: 0; font-size: 1rem; color: #374151; }

/* ===== STAT CARDS (inline graphics) ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}
.stat-card {
    padding: 20px;
    border-radius: 16px;
    background: var(--light);
    text-align: center;
    border: 1px solid var(--border);
}
.stat-value {
    font-family: 'Nunito', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ===== BAR CHART (HTML/CSS) ===== */
.bar-chart {
    margin: 2rem 0;
    padding: 24px;
    background: var(--light);
    border-radius: 16px;
    border: 1px solid var(--border);
}
.bar-chart h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}
.bar-row {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.bar-label { color: var(--dark); font-weight: 600; }
.bar-track {
    height: 28px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 14px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
}
.bar-fill.alt-2 { background: var(--gradient-2); }
.bar-fill.alt-3 { background: var(--gradient-3); }
.bar-value { font-weight: 700; color: var(--dark); min-width: 40px; text-align: right; }
@media (max-width: 600px) {
    .bar-row { grid-template-columns: 1fr; gap: 4px; }
    .bar-value { text-align: left; }
}

/* ===== COMPARISON (vs) ===== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2rem 0;
}
.compare-col {
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
}
.compare-col.bad {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.2);
}
.compare-col.good {
    background: rgba(108, 99, 255, 0.04);
    border-color: rgba(108, 99, 255, 0.25);
    position: relative;
}
.compare-col h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compare-col ul { list-style: none; margin: 0; }
.compare-col li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}
.compare-col.bad li::before {
    content: '✗';
    position: absolute;
    left: 6px;
    color: #ef4444;
    font-weight: 700;
}
.compare-col.good li::before {
    content: '✓';
    position: absolute;
    left: 6px;
    color: var(--green);
    font-weight: 700;
}
@media (max-width: 600px) {
    .compare-grid { grid-template-columns: 1fr; }
}

/* ===== SHARE BAR ===== */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    margin-top: 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.share-label {
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    margin-right: 8px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn.copied {
    background: rgba(0, 200, 151, 0.08);
    border-color: var(--green);
    color: var(--green);
}
.share-floating {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}
.share-floating .share-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}
.share-floating .share-btn span { display: none; }
@media (max-width: 1280px) { .share-floating { display: none; } }

/* ===== AUTHOR BOX ===== */
.author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--light);
    border-radius: 20px;
    margin: 48px 0;
    align-items: flex-start;
}
.author-box .article-author-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.author-box h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.author-box p {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin: 48px 0;
    padding: 40px 32px;
    background: var(--light);
    border-radius: 24px;
}
.faq-section h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--dark);
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--dark);
    cursor: pointer;
    font-size: 1.05rem;
    padding-right: 40px;
    position: relative;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer {
    padding-top: 12px;
    color: #374151;
    font-size: 1rem;
    line-height: 1.65;
}

/* ===== RELATED ARTICLES ===== */
.related-section {
    padding: 60px 0;
    background: var(--light);
    border-radius: 24px;
    margin: 48px 0;
}
.related-section .container-narrow h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 32px;
    color: var(--dark);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* ===== PRODUCT CTA (inside article) ===== */
.product-cta {
    margin: 48px 0;
    padding: 40px;
    background: var(--gradient);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.product-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
    pointer-events: none;
}
.product-cta h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
}
.product-cta p {
    opacity: 0.95;
    margin-bottom: 24px;
    font-size: 1.05rem;
    position: relative;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.product-cta .btn-white {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== FOOTER (matches landing) ===== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: #9ca3af; font-size: 0.95rem; margin-top: 16px; max-width: 340px; }
.footer h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a, .footer ul li span {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: color 0.2s;
    cursor: pointer;
}
.footer ul li a:hover { color: #fff; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; font-size: 1.2rem; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .navbar.menu-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
}
