/* ===================================================================
   RAX Knowledge Center v2 - Light Theme
   Built on top of style.css + facelift.css
   Uses site :root CSS variables:
     --primary: hsl(210 100% 56%)
     --primary-hover: #2563eb
     --secondary: hsl(45 100% 51%)
     --background: #ffffff
     --card: hsl(0 0% 98%)
     --card-30: hsl(0 0% 98% / 30%)
     --foreground: #0a0a0a
     --muted-foreground: #737373
     --border: hsl(240 5% 90%)
     --radius: 0.5rem
   =================================================================== */

/* -- Hero (STAYS DARK - has its own gradient background) ----------- */
.kc-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.kc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.kc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 50%, rgba(15,23,42,0.65) 100%);
    z-index: 1;
}
.kc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 4rem 1rem 3rem;
}
.kc-hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}
.kc-hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* -- Search Bar (inside hero - stays dark-styled) ----------------- */
.kc-search-wrap {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}
.kc-search-wrap input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.kc-search-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.kc-search-wrap input:focus {
    outline: none;
    border-color: var(--primary, #3b82f6);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.kc-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    pointer-events: none;
}
/* Search results dropdown - light theme */
.kc-search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.kc-search-results.active { display: block; }
.kc-search-result-item {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border, hsl(240 5% 90%));
    cursor: pointer;
    transition: background 0.2s;
}
.kc-search-result-item:hover { background: hsl(210 100% 97%); }
.kc-search-result-item:last-child { border-bottom: none; }
.kc-search-result-item .result-title {
    color: var(--foreground, #0a0a0a);
    font-weight: 600;
    font-size: 0.95rem;
}
.kc-search-result-item .result-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}
.result-type-article { background: hsl(210 100% 95%); color: hsl(210 100% 40%); }
.result-type-wiki { background: hsl(270 80% 95%); color: hsl(270 60% 40%); }
.result-type-faq { background: hsl(142 70% 93%); color: hsl(142 60% 30%); }
.result-type-calculator { background: hsl(30 95% 93%); color: hsl(30 80% 35%); }
.kc-search-result-item .result-excerpt {
    color: var(--muted-foreground, #737373);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* -- Stats Bar (STAYS DARK - separate dark band) ------------------ */
.kc-stats-bar {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
}
.kc-stat {
    text-align: center;
    padding: 0.5rem;
}
.kc-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary, #3b82f6);
}
.kc-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -- Section Titles (LIGHT THEME) --------------------------------- */
.kc-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.75rem;
}
.kc-section-subtitle {
    color: var(--muted-foreground, #737373);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* -- Category Cards (LIGHT THEME) --------------------------------- */
.kc-categories { padding: 5rem 0; }

.kc-cat-card {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    text-decoration: none;
    display: block;
}
.kc-cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary, #3b82f6);
    box-shadow: 0 12px 32px rgba(59,130,246,0.1);
}
.kc-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.kc-cat-icon-mining { background: hsl(45 95% 92%); color: hsl(45 90% 40%); }
.kc-cat-icon-ai { background: hsl(270 80% 94%); color: hsl(270 60% 50%); }
.kc-cat-icon-dc { background: hsl(210 100% 94%); color: hsl(210 100% 45%); }
.kc-cat-icon-crypto { background: hsl(142 70% 92%); color: hsl(142 60% 35%); }
.kc-cat-icon-hosting { background: hsl(348 80% 94%); color: hsl(348 80% 50%); }
.kc-cat-icon-news { background: hsl(199 90% 93%); color: hsl(199 85% 40%); }
.kc-cat-icon-videos { background: hsl(330 80% 94%); color: hsl(330 65% 50%); }
.kc-cat-icon-case { background: hsl(30 95% 93%); color: hsl(30 80% 45%); }
.kc-cat-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.5rem;
}
.kc-cat-card p {
    color: var(--muted-foreground, #737373);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.kc-cat-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.kc-topic-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    background: hsl(210 100% 96%);
    color: hsl(210 100% 40%);
}
.kc-cat-count {
    font-size: 0.8rem;
    color: var(--muted-foreground, #737373);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, hsl(240 5% 90%));
}
.kc-cat-count i { margin-right: 0.3rem; }

/* -- Featured Article (LIGHT THEME) ------------------------------- */
.kc-featured { padding: 5rem 0; background: hsl(210 20% 98%); }
.kc-featured-card {
    background: #fff;
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}
.kc-featured-card:hover {
    border-color: var(--primary, #3b82f6);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.kc-featured-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.kc-featured-body { padding: 2rem; }
.kc-featured-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.75rem;
}
.kc-featured-body p {
    color: var(--muted-foreground, #737373);
    line-height: 1.7;
}

/* -- Article Cards (LIGHT THEME) ---------------------------------- */
.kc-articles { padding: 5rem 0; }

.kc-article-card {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.kc-article-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary, #3b82f6);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.kc-article-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, hsl(210 30% 94%) 0%, hsl(210 20% 88%) 100%);
}
.kc-article-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.kc-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted-foreground, #737373);
}
.kc-article-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    background: hsl(210 100% 95%);
    color: hsl(210 100% 40%);
}
.kc-article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.kc-article-body p {
    color: var(--muted-foreground, #737373);
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}
.kc-read-more {
    color: var(--primary, #3b82f6);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* -- Article Detail Page (LIGHT THEME) ---------------------------- */
.kc-article-detail {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1rem 5rem;
}
.kc-article-detail h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.kc-article-detail .article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border, hsl(240 5% 90%));
    font-size: 0.88rem;
    color: var(--muted-foreground, #737373);
}
.kc-article-detail .article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: hsl(0 0% 25%);
}
.kc-article-detail .article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}
.kc-article-detail .article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin: 2rem 0 0.75rem;
}
.kc-article-detail .article-content p { margin-bottom: 1.25rem; }
.kc-article-detail .article-content ul,
.kc-article-detail .article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.kc-article-detail .article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.kc-article-detail .article-content strong { color: var(--foreground, #0a0a0a); }
.kc-article-detail .article-content blockquote {
    border-left: 3px solid var(--primary, #3b82f6);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: hsl(210 100% 97%);
    border-radius: 0 0.5rem 0.5rem 0;
    color: hsl(0 0% 30%);
    font-style: italic;
}
.kc-article-detail .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.kc-article-detail .article-content th,
.kc-article-detail .article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border, hsl(240 5% 90%));
    text-align: left;
}
.kc-article-detail .article-content th {
    background: hsl(210 20% 96%);
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
}
.kc-article-detail .article-content a {
    color: var(--primary, #3b82f6);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.kc-article-detail .article-content a:hover {
    color: var(--primary-hover, #2563eb);
}

/* -- Table of Contents (LIGHT THEME) ------------------------------ */
.kc-toc {
    background: hsl(210 20% 97%);
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}
.kc-toc h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground, #737373);
    margin-bottom: 1rem;
}
.kc-toc ul { list-style: none; padding: 0; margin: 0; }
.kc-toc li { margin-bottom: 0.4rem; }
.kc-toc a {
    color: hsl(0 0% 35%);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.kc-toc a:hover { color: var(--primary, #3b82f6); }

/* -- Wiki Page (LIGHT THEME) -------------------------------------- */
.kc-wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.kc-wiki-card {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}
.kc-wiki-card:hover {
    border-color: hsl(270 60% 65%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.kc-wiki-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.5rem;
}
.kc-wiki-card p {
    color: var(--muted-foreground, #737373);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* -- Wiki Detail (LIGHT THEME) ------------------------------------ */
.kc-wiki-detail {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1rem 5rem;
}
.kc-wiki-detail h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 1rem;
}
.kc-wiki-detail .wiki-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: hsl(0 0% 25%);
}
.kc-wiki-detail .wiki-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin: 2.5rem 0 1rem;
}
.kc-wiki-detail .wiki-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin: 2rem 0 0.75rem;
}
.kc-wiki-detail .wiki-content p { margin-bottom: 1.25rem; }
.kc-wiki-detail .wiki-content ul,
.kc-wiki-detail .wiki-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.kc-wiki-detail .wiki-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.kc-wiki-detail .wiki-content strong { color: var(--foreground, #0a0a0a); }
.kc-wiki-detail .wiki-content a {
    color: var(--primary, #3b82f6);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.kc-wiki-detail .wiki-content a:hover {
    color: var(--primary-hover, #2563eb);
}
.kc-wiki-infobox {
    background: hsl(270 50% 97%);
    border: 1px solid hsl(270 40% 88%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.kc-wiki-infobox h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(270 60% 45%);
    margin-bottom: 1rem;
}
.kc-wiki-infobox table { width: 100%; }
.kc-wiki-infobox td {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid hsl(270 30% 92%);
    vertical-align: top;
}
.kc-wiki-infobox td:first-child {
    color: var(--muted-foreground, #737373);
    width: 40%;
    padding-right: 1rem;
}
.kc-wiki-infobox td:last-child { color: var(--foreground, #0a0a0a); }

/* -- FAQ (LIGHT THEME) -------------------------------------------- */
.kc-faq-section { padding: 5rem 0; }
.kc-faq-item {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.kc-faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: var(--foreground, #0a0a0a);
    font-weight: 500;
    font-size: 1rem;
}
.kc-faq-question:hover { background: hsl(210 20% 97%); }
.kc-faq-question i { transition: transform 0.3s; color: var(--muted-foreground, #737373); }
.kc-faq-question.active i { transform: rotate(180deg); }
.kc-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: hsl(0 0% 30%);
    line-height: 1.7;
    font-size: 0.95rem;
}
.kc-faq-answer.active {
    max-height: 600px;
    padding: 0 1.5rem 1.25rem;
}

/* -- Calculators (LIGHT THEME) ------------------------------------ */
.kc-calc-section { padding: 5rem 0; }
.kc-calc-card {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 1rem;
    padding: 2.5rem;
}
.kc-calc-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: hsl(0 0% 30%);
    margin-bottom: 0.4rem;
}
.kc-calc-card input[type="number"],
.kc-calc-card select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.5rem;
    background: #fff;
    color: var(--foreground, #0a0a0a);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}
.kc-calc-card input:focus,
.kc-calc-card select:focus {
    outline: none;
    border-color: var(--primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.kc-calc-result {
    background: hsl(210 100% 97%);
    border: 1px solid hsl(210 80% 88%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.kc-calc-result h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(210 100% 40%);
    margin-bottom: 1rem;
}
.kc-calc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid hsl(210 40% 92%);
    font-size: 0.92rem;
}
.kc-calc-result-row:last-child { border-bottom: none; }
.kc-calc-result-row .label { color: var(--muted-foreground, #737373); }
.kc-calc-result-row .value { color: var(--foreground, #0a0a0a); font-weight: 600; }
.kc-calc-result-row .value.highlight { color: hsl(142 60% 35%); font-size: 1.1rem; }

/* -- Related Content (LIGHT THEME) -------------------------------- */
.kc-related { padding: 3rem 0 5rem; }
.kc-related h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 1.5rem;
}

/* -- Breadcrumbs (LIGHT THEME) ------------------------------------ */
.kc-breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
}
.kc-breadcrumb a {
    color: var(--muted-foreground, #737373);
    text-decoration: none;
    transition: color 0.2s;
}
.kc-breadcrumb a:hover { color: var(--primary, #3b82f6); }
.kc-breadcrumb span { color: hsl(0 0% 80%); margin: 0 0.5rem; }
.kc-breadcrumb .current { color: var(--foreground, #0a0a0a); }

/* -- Download Center (LIGHT THEME) -------------------------------- */
.kc-download-card {
    background: var(--card, hsl(0 0% 98%));
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s;
    text-decoration: none;
}
.kc-download-card:hover {
    border-color: var(--primary, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.kc-download-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: hsl(210 100% 95%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary, #3b82f6);
    flex-shrink: 0;
}
.kc-download-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 0.2rem;
}
.kc-download-info p {
    color: var(--muted-foreground, #737373);
    font-size: 0.82rem;
    margin: 0;
}

/* -- Filter Bar (LIGHT THEME) ------------------------------------- */
.kc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.kc-filter-btn {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 2rem;
    background: transparent;
    color: var(--muted-foreground, #737373);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.kc-filter-btn:hover,
.kc-filter-btn.active {
    background: var(--primary, #3b82f6);
    border-color: var(--primary, #3b82f6);
    color: #fff;
}

/* -- Pagination (LIGHT THEME) ------------------------------------- */
.kc-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.kc-page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border, hsl(240 5% 90%));
    border-radius: 0.5rem;
    background: transparent;
    color: var(--muted-foreground, #737373);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.kc-page-btn:hover,
.kc-page-btn.active {
    background: var(--primary, #3b82f6);
    border-color: var(--primary, #3b82f6);
    color: #fff;
}

/* -- CTA Section (subtle gradient, LIGHT THEME) ------------------- */
.kc-cta {
    padding: 5rem 0;
    text-align: center;
}
.kc-cta-box {
    background: linear-gradient(135deg, hsl(210 100% 97%) 0%, hsl(270 50% 97%) 100%);
    border: 1px solid hsl(210 80% 88%);
    border-radius: 1.25rem;
    padding: 3.5rem;
}
.kc-cta-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground, #0a0a0a);
    margin-bottom: 1rem;
}
.kc-cta-box p {
    color: var(--muted-foreground, #737373);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* -- Responsive --------------------------------------------------- */
@media (max-width: 768px) {
    .kc-hero-content h1 { font-size: 1.85rem; }
    .kc-hero-content p { font-size: 1rem; }
    .kc-section-title { font-size: 1.5rem; }
    .kc-article-detail h1 { font-size: 1.75rem; }
    .kc-wiki-detail h1 { font-size: 1.75rem; }
    .kc-wiki-grid { grid-template-columns: 1fr; }
    .kc-featured-img { height: 220px; }
    .kc-calc-card { padding: 1.5rem; }
    .kc-cta-box { padding: 2rem 1.5rem; }
    .kc-hero { min-height: 420px; }
    .kc-hero-content { padding: 3rem 1rem 2rem; }
}
