.article-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 32px auto 48px;
    max-width: var(--max-width);
    padding: 0 20px;
    color: var(--light);
}

.article-section h2 {
    margin-bottom: 12px;
    font-size: 1.9rem;
    color: var(--section-color, #ffffff);
}

.section-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-hero {
    background: var(
        --section-bg,
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.3), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(0, 194, 122, 0.28), transparent 32%),
        linear-gradient(135deg, rgba(12, 18, 34, 0.92), rgba(12, 18, 34, 0.86))
    );
    border-radius: 20px;
    padding: 48px 32px;
    color: var(--section-color, #ffffff);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.article-hero__title {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 12px;
    line-height: 1.1;
}

.article-hero__intro {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.article-hero__ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-section {
    background: var(--section-bg, var(--card));
    color: var(--section-color, var(--light));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.glance-grid,
.feature-grid__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.featured-grid__cards,
.icon-grid__items,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.glance-card,
.feature-card,
.industry-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.featured-grid__header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.featured-grid__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.featured-grid__title {
    font-size: clamp(26px, 3vw, 34px);
    margin: 0;
}

.featured-grid__description {
    max-width: 760px;
    color: var(--muted);
}

.featured-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    display: grid;
    gap: 10px;
}

.featured-card__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.featured-card__title {
    margin: 0;
}

.featured-card__description {
    color: var(--muted);
}

.glance-card__label {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--section-color, #ffffff);
}

.glance-card__desc {
    color: var(--muted);
}

.icon-grid__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--section-color, #ffffff);
}

.icon-grid__icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 125, 255, 0.16);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1rem;
    overflow: hidden;
}

.icon-grid__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card__icon {
    width: 50px;
    height: 50px;
    background: rgba(21, 196, 126, 0.15);
    color: #7cf1c8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 10px;
    font-weight: 700;
}

.how-it-works__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-it-works__title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin: 0;
    color: var(--section-color, #ffffff);
}

.how-it-works__steps {
    display: grid;
    gap: 12px;
}

.how-it-works__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.how-it-works__step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2d5bff, #6ad1ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
}

.how-it-works__step-body {
    color: var(--section-color, #ffffff);
    line-height: 1.6;
}

.how-it-works__step-body p {
    margin: 0;
    color: var(--muted, #c8d2f0);
}

.article-accordion {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-item + .accordion-item { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.12), rgba(0, 194, 122, 0.1));
    border: 0;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    color: var(--section-color, #ffffff);
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion-toggle:hover { background: rgba(255, 255, 255, 0.08); }

.accordion-toggle__chevron {
    transition: transform 0.25s ease;
}

.accordion-toggle.is-active .accordion-toggle__chevron { transform: rotate(90deg); }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
    background: rgba(255, 255, 255, 0.01);
    opacity: 0;
    transform: translateY(-6px);
}

.accordion-panel.is-open {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 16px 16px;
}

.accordion-panel__desc {
    padding-top: 12px;
    color: var(--muted);
}

.chatbot-types-section {
    padding: clamp(24px, 3vw, 36px);
    border-radius: 18px;
    background: var(--section-bg, #0a1a2f);
    color: var(--section-color, #ffffff);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.chatbot-types-section a {
    color: inherit;
    text-decoration: underline;
}

.chatbot-types-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 16px;
}

.chatbot-type-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-type-accordion-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.chatbot-type-accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    color: inherit;
    border: none;
    padding: 14px 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chatbot-type-accordion-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.accordion-icon {
    transition: transform 0.25s ease;
    font-weight: 700;
}

.chatbot-type-accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.chatbot-type-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-6px);
    padding: 0 16px;
}

.chatbot-type-accordion-item.open .chatbot-type-accordion-body {
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 16px;
}

.type-description {
    margin: 12px 0;
    color: inherit;
}

.pros-cons-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 12px;
}

.pros-column ul,
.cons-column ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 8px;
}

.pros-column li,
.cons-column li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-left: 0;
}

.tick-icon {
    color: #00c27a;
    font-weight: 700;
    margin-right: 6px;
}

.cross-icon {
    color: #e53935;
    font-weight: 700;
    margin-right: 6px;
}

.type-tools {
    margin-top: 16px;
}

.type-tools-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 6px;
}

.type-tools-list li a {
    text-decoration: underline;
}

.chatbot-best-tools {
    margin-top: 24px;
}

.best-tools-header h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.best-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.best-tools-cell {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.best-tools-cell a {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .best-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .best-tools-grid {
        grid-template-columns: 1fr;
    }
}

.inline-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.inline-pills li {
    background: rgba(74, 125, 255, 0.12);
    color: var(--section-color, #ffffff);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.92rem;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--section-color, #ffffff);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.responsive-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    color: var(--muted);
}

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

.responsive-table .button.secondary {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
}

.industry-card__icon img { width: 64px; height: 64px; object-fit: contain; }

.internal-links__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.internal-links__list a {
    color: var(--section-color, #ffffff);
    text-decoration: none;
    font-weight: 600;
}

.internal-links__list a:hover { color: var(--accent); }

.content-block__body { display: grid; gap: 12px; color: var(--muted); }

.content-block__rows { display: grid; gap: 20px; margin-top: 20px; }

.content-block__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.content-block__column {
    min-height: 240px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Image-only mode: cover the full column background without inner content */
.content-block__column--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--cb-col-bg, var(--section-bg, #0f172a));
}

/* Color mode: shared base styles */
.content-block__column--color {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--cb-col-bg, var(--section-bg, #0f172a));
    color: var(--cb-text-color, var(--section-color, #ffffff));
}

.content-block__title-wrap {
    color: var(--cb-title-color, currentColor);
}

.content-block__title-wrap h3 {
    margin: 0;
    font-size: var(--cb-title-size, 1.5rem);
}

/* Color fallback for image column: center the title both ways */
.content-block__column--image-fallback {
    display: grid;
    padding: 0;
}

.content-block__column--image-fallback .content-block__title-wrap {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 100%;
    padding: 20px;
}

/* Text column styling */
.content-block__column--text {
    color: var(--cb-text-color, var(--section-color, #ffffff));
}

.content-block__column-content {
    display: grid;
    gap: 10px;
}

.content-block__column--has-centered-title {
    position: relative;
}

.content-block__centered-title {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    pointer-events: none;
    color: var(--cb-centered-title-color, currentColor);
    font-size: var(--cb-centered-title-size, 1.5rem);
}

.content-block__column-content a { color: var(--cb-link-color, currentColor); }
.content-block__column-content a:hover { color: var(--cb-link-hover-color, var(--accent, currentColor)); }

.faq-section .accordion-toggle { background: linear-gradient(90deg, rgba(252, 211, 77, 0.14), rgba(255, 255, 255, 0.03)); }

.cta-section {
    background: var(--section-bg, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: var(--section-color, #ffffff);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.cta-section__inner {
    display: grid;
    gap: 10px;
    align-items: center;
    justify-items: center;
}

.cta-section .button.primary {
    padding: 12px 20px;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .featured-grid__cards,
    .icon-grid__items,
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .article-hero__title { font-size: 2rem; }
    .article-hero__intro { font-size: 1rem; }
    .article-section { padding: 20px; }
    .featured-grid__cards,
    .icon-grid__items,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .content-block__row { grid-template-columns: 1fr; }
}
