/* ============================================================
   KNOWLEDGE HUB – Homepage Styles
   Design system: inherits from ../css/style.css
   ============================================================ */

/* ─── HERO ─────────────────────────────────────────────────── */
.kb-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: #fafbff;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.kb-hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 190, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.kb-hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(158, 94, 229, 0.10) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    pointer-events: none;
}

.kb-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 48, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 48, 219, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.kb-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Left */
.kb-hero-left {
    max-width: 600px;
}

.kb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(0, 48, 219, 0.06);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.kb-ey-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: kb-pulse 2s ease-in-out infinite;
}

@keyframes kb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.kb-hero-h1 {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 20px;
}

.kb-grad {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kb-hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.kb-hero-sub-sm {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.kb-hero-btns {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.kb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-btn);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 48, 219, 0.25);
}

.kb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 48, 219, 0.35);
}

.kb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.kb-btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.kb-hero-checklist {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.kb-hero-checklist i {
    color: #10B981;
    margin-right: 4px;
}

.kb-hero-ratings {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.kb-stars {
    color: #F59E0B;
    display: flex;
    gap: 2px;
}

/* Hero Right – Dashboard Preview */
.kb-hero-right {
    position: relative;
}

.kb-hero-glow-r {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 48, 219, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.kb-dashboard {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid #e8eaf0;
}

.kb-chrome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: #f8f9fc;
    border-bottom: 1px solid #e8eaf0;
}

.kb-dots {
    display: flex;
    gap: 6px;
}

.kb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.kb-d-r { background: #FF5F57; }
.kb-d-y { background: #FFBD2E; }
.kb-d-g { background: #28C840; }

.kb-tabs {
    display: flex;
    gap: 4px;
    flex: 1;
}

.kb-ctab {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.kb-ctab.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.kb-dbody {
    padding: 20px;
}

.kb-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f6fa;
    border-radius: 10px;
    margin-bottom: 18px;
    color: #999;
    font-size: 0.85rem;
}

.kb-search-bar i { color: #bbb; }

.kb-kbd {
    margin-left: auto;
    background: #e8e9ed;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
}

.kb-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.kb-cat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #f0f1f5;
    transition: var(--transition);
}

.kb-cat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 48, 219, 0.08);
}

.kb-cat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.kb-cat-icon.blue { background: var(--primary-color); }
.kb-cat-icon.purple { background: var(--purple); }
.kb-cat-icon.green { background: #10B981; }
.kb-cat-icon.orange { background: #F59E0B; }

.kb-cat-info {
    display: flex;
    flex-direction: column;
}

.kb-cat-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.kb-cat-count {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.kb-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.kb-see-all {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
}

.kb-article-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #f0f1f5;
    margin-bottom: 8px;
    transition: var(--transition);
}

.kb-article-row:hover {
    background: #f8f9fc;
}

.kb-art-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.kb-art-info {
    flex: 1;
    min-width: 0;
}

.kb-art-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kb-art-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.kb-art-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(0, 48, 219, 0.08);
    color: var(--primary-color);
    flex-shrink: 0;
}

.kb-art-badge.new {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

/* Floating Cards */
.kb-float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border: 1px solid #f0f1f5;
}

.kb-float-ai {
    top: -10px;
    right: -20px;
    text-align: center;
    animation: kb-float-1 4s ease-in-out infinite;
}

.kb-float-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
}

.kb-float-pct {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 4px;
}

.kb-float-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.kb-float-collab {
    bottom: 30px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: kb-float-2 5s ease-in-out infinite;
}

.kb-collab-avatars {
    display: flex;
}

.kb-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-right: -8px;
}

.kb-collab-txt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

@keyframes kb-float-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes kb-float-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}


/* ─── STATS BANNER ─────────────────────────────────────────── */
.kb-stats-banner {
    background: var(--gradient);
    padding: 48px 0;
}

.kb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.kb-stat-number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.kb-stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}


/* ─── SECTION HEADERS (shared) ─────────────────────────────── */
.kb-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.kb-section-header .product-badge {
    margin-bottom: 16px;
}

.kb-section-header h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.kb-section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ─── WHAT THIS IS ─────────────────────────────────────────── */
.kb-what-section {
    padding: 100px 0;
    background: #fff;
}

.kb-what-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.kb-what-card {
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid #eee;
    background: #fff;
    transition: var(--transition);
}

.kb-what-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 48, 219, 0.08);
    transform: translateY(-4px);
}

.kb-what-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.kb-what-icon.blue { background: var(--primary-color); }
.kb-what-icon.purple { background: var(--purple); }
.kb-what-icon.green { background: #10B981; }
.kb-what-icon.orange { background: #F59E0B; }

.kb-what-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.kb-what-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ─── WHY YOU NEED IT ──────────────────────────────────────── */
.kb-why-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.kb-why-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.kb-why-content .product-badge {
    margin-bottom: 16px;
}

.kb-why-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.kb-why-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.kb-why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.kb-why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.kb-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.kb-why-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.kb-why-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Why Visual */
.kb-why-visual {
    display: flex;
    justify-content: center;
}

.kb-why-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 360px;
}

.kb-why-vcard {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    transition: var(--transition);
}

.kb-why-vcard:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-heavy);
}

.kb-why-vcard-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.kb-why-vcard-text {
    display: flex;
    flex-direction: column;
}

.kb-why-vcard-text strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.kb-why-vcard-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ─── SMART FEATURES ───────────────────────────────────────── */
.kb-features-section {
    padding: 100px 0;
    background: #fff;
}

.kb-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.kb-feature-card {
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: #fff;
    transition: var(--transition);
    position: relative;
}

.kb-feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 16px 40px rgba(0, 48, 219, 0.08);
    transform: translateY(-4px);
}

.kb-feature-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fafbff 0%, #f0f3ff 100%);
    border-color: rgba(0, 48, 219, 0.12);
}

.kb-feature-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kb-feature-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.kb-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.kb-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.kb-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kb-feature-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f5f6fa;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.kb-feature-tags span i {
    color: var(--primary-color);
    font-size: 0.75rem;
}


/* ─── BUILT FOR DIFFERENT NEEDS ────────────────────────────── */
.kb-needs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.kb-needs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.kb-need-card {
    display: flex;
    gap: 24px;
    padding: 36px 32px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.kb-need-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 48, 219, 0.06);
    transform: translateY(-4px);
}

.kb-need-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.kb-need-icon.blue { background: var(--primary-color); }
.kb-need-icon.purple { background: var(--purple); }
.kb-need-icon.green { background: #10B981; }
.kb-need-icon.orange { background: #F59E0B; }

.kb-need-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.kb-need-content > p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.kb-need-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kb-need-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 500;
}

.kb-need-list li i {
    color: #10B981;
    font-size: 0.85rem;
}


/* ─── WHY CHOOSE US ────────────────────────────────────────── */
.kb-choose-section {
    padding: 100px 0;
    background: #fff;
}

.kb-choose-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
}

.kb-choose-content .product-badge {
    margin-bottom: 16px;
}

.kb-choose-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.kb-choose-content > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.kb-choose-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.kb-choose-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.kb-cp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.kb-choose-point strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.kb-choose-point span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Choose Visual */
.kb-choose-visual {
    display: flex;
    justify-content: center;
}

.kb-choose-badge-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kb-cb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid #eee;
    transition: var(--transition);
}

.kb-cb:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-heavy);
}

.kb-cb i {
    color: #10B981;
    font-size: 1.1rem;
}


/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.kb-how-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.kb-how-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.kb-how-step {
    text-align: center;
    max-width: 320px;
    padding: 40px 28px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    position: relative;
    transition: var(--transition);
}

.kb-how-step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 48, 219, 0.08);
    transform: translateY(-4px);
}

.kb-how-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 48, 219, 0.3);
}

.kb-how-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 8px auto 20px;
}

.kb-how-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.kb-how-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.kb-how-connector {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 60px;
}


/* ─── FAQ ──────────────────────────────────────────────────── */
.kb-faq-section {
    padding: 100px 0;
    background: #fff;
}

.kb-faq-section .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.kb-faq-section .faq-item {
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.kb-faq-section .faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 48, 219, 0.06);
}

.kb-faq-section .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.kb-faq-section .faq-question:hover {
    color: var(--primary-color);
}

.kb-faq-section .faq-question i {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.kb-faq-section .faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

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

.kb-faq-section .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.kb-faq-section .faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ─── FINAL CTA ────────────────────────────────────────────── */
.kb-cta-section {
    padding: 80px 0 100px;
    background: #fff;
}

.kb-cta-banner {
    background: var(--gradient);
    border-radius: 24px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.kb-cta-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.kb-cta-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.kb-cta-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.kb-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 28px;
}

.kb-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.kb-cta-btns .btn-primary-large {
    background: #fff;
    color: var(--primary-color);
}

.kb-cta-btns .btn-primary-large:hover {
    background: #f0f3ff;
    transform: translateY(-2px);
}

.kb-cta-btns .btn-secondary-large {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.kb-cta-btns .btn-secondary-large:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.kb-cta-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.kb-cta-stats .stat-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kb-cta-stats .stat-pill .val {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.kb-cta-stats .stat-pill .lab {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}


/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .kb-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kb-hero-left {
        max-width: 100%;
        text-align: center;
    }

    .kb-hero-btns,
    .kb-hero-checklist,
    .kb-hero-ratings {
        justify-content: center;
    }

    .kb-hero-right {
        max-width: 560px;
        margin: 0 auto;
    }

    .kb-float-ai {
        right: 0;
    }

    .kb-float-collab {
        left: 0;
    }

    .kb-why-inner,
    .kb-choose-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kb-features-grid {
        grid-template-columns: 1fr;
    }

    .kb-feature-highlight {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .kb-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .kb-what-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kb-needs-grid {
        grid-template-columns: 1fr;
    }

    .kb-need-card {
        flex-direction: column;
    }

    .kb-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .kb-how-grid {
        flex-direction: column;
        align-items: center;
    }

    .kb-how-connector {
        transform: rotate(90deg);
        margin: 8px 0;
        padding: 0;
    }

    .kb-how-step {
        max-width: 100%;
        width: 100%;
    }

    .kb-cta-banner {
        flex-direction: column;
        padding: 40px 28px;
        text-align: center;
    }

    .kb-cta-btns {
        justify-content: center;
    }

    .kb-cta-stats {
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    .kb-hero-h1 {
        font-size: 2rem;
    }

    .kb-what-grid {
        grid-template-columns: 1fr;
    }

    .kb-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kb-hero-checklist {
        flex-direction: column;
        gap: 8px;
    }

    .kb-chrome {
        flex-wrap: wrap;
    }

    .kb-tabs {
        display: none;
    }

    .kb-cat-grid {
        grid-template-columns: 1fr;
    }

    .kb-float-ai,
    .kb-float-collab {
        display: none;
    }

    .kb-cta-stats {
        flex-direction: column;
    }
}
