/* ============================================================================
   CHAT-PLATFORM.CSS — Ritorica Omnichannel Chat Platform Page

   TABLE OF CONTENTS
   ─────────────────────────────────────────────────────────────────────────────
   01. SECTION 1 — Hero
   02. SECTION 2 — Wide Range of Capabilities
   03. SECTION 3 — All Channels in One
   04. SECTION 4 — Chat in Mailings
   05. SECTION 5 — Customer Dialog Automation
   06. SECTION 6 — Automatic Routing of Requests
   07. SECTION 7 — Customizations for Corporate Clients
   08. SECTION 8 — Trusted by Industries
   09. SECTION 9 — Platform at a Glance
   09. RESPONSIVE — Tablet (≤1100px)
   10. RESPONSIVE — Mobile (≤768px)
   11. RESPONSIVE — Small Mobile (≤480px)
   ─────────────────────────────────────────────────────────────────────────────
============================================================================ */


/* ============================================================================
   01. SECTION 1 — HERO
============================================================================ */

.chat-hero {
    padding: 32px 24px;
    background: var(--color-bg);
}

.chat-hero__container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 1fr;
    align-items: stretch;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 2px 24px rgba(64, 114, 214, 0.07);
}

.chat-hero__content {
    padding: 64px 56px 64px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--color-white);
}

.chat-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(64, 114, 214, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
}

.chat-hero__title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin: 0;
}

.chat-hero__desc {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 460px;
    margin: 0;
}

.chat-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chat-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.chat-hero__btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 16px var(--color-shadow);
}

.chat-hero__btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-shadow);
}

.chat-hero__btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.chat-hero__btn--outline:hover {
    background: rgba(64, 114, 214, 0.06);
    transform: translateY(-2px);
}

/* --- Chat mockup --- */

.chat-hero__visual {
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
}

.chat-hero__mockup {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    font-size: 0.8rem;
}

.chat-hero__mockup-topbar {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid #e4e7ed;
}

.chat-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.chat-hero__dot--red    { background: #ff5f57; }
.chat-hero__dot--yellow { background: #ffbd2e; }
.chat-hero__dot--green  { background: #28c840; }

.chat-hero__mockup-title-bar {
    font-size: 0.72rem;
    color: #6b7280;
    margin-left: 6px;
    font-weight: 500;
}

.chat-hero__mockup-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 280px;
}

.chat-hero__mockup-sidebar {
    background: #f8f9fb;
    border-right: 1px solid #e4e7ed;
    padding: 10px 0;
}

.chat-hero__status {
    padding: 6px 12px;
    font-size: 0.72rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    cursor: default;
}

.chat-hero__status--active {
    background: rgba(64, 114, 214, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    border-left: 3px solid var(--color-primary);
}

.chat-hero__status span {
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.65rem;
}

.chat-hero__status--active span { background: var(--color-primary); }

.chat-hero__mockup-divider {
    height: 1px;
    background: #e4e7ed;
    margin: 8px 0;
}

.chat-hero__conv-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    cursor: default;
}

.chat-hero__conv-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-hero__conv-avatar--green { background: #25d366; }

.chat-hero__conv-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.chat-hero__conv-meta span {
    font-size: 0.7rem;
    color: #1c1c2e;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-hero__conv-preview {
    color: #9ca3af !important;
    font-weight: 400 !important;
    font-size: 0.65rem !important;
}

.chat-hero__mockup-chat {
    background: #eef1f8;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-hero__bubble {
    max-width: 88%;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    line-height: 1.5;
    position: relative;
}

.chat-hero__bubble--in {
    background: #fff;
    color: #1c1c2e;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-hero__bubble--out {
    background: var(--color-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-hero__bubble-meta {
    display: block;
    font-size: 0.6rem;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.chat-hero__unread {
    text-align: center;
    font-size: 0.65rem;
    color: var(--color-primary);
    background: rgba(64, 114, 214, 0.1);
    border-radius: 20px;
    padding: 3px 10px;
    align-self: center;
}

.chat-hero__input-bar {
    background: #fff;
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 6px;
}

.chat-hero__input-label {
    font-size: 0.68rem;
    color: #9ca3af;
    flex: 1;
}

.chat-hero__input-tags {
    display: flex;
    gap: 4px;
}

.chat-hero__tag-pill {
    font-size: 0.62rem;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f0f2f5;
    color: #6b7280;
    font-weight: 500;
}

.chat-hero__tag-pill--active {
    background: var(--color-primary);
    color: #fff;
}


/* ============================================================================
   02. SECTION 2 — WIDE RANGE OF CAPABILITIES
============================================================================ */

.chat-capabilities {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-capabilities__container {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    padding: 64px 60px;
    box-shadow: 0 2px 24px rgba(64, 114, 214, 0.07);
}

.chat-capabilities__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px;
}

.chat-capabilities__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 0 40px;
    line-height: 1.7;
}

.chat-capabilities__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.chat-capabilities__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chat-capabilities__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(64, 114, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.chat-capabilities__item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c2e;
    margin-bottom: 4px;
}

.chat-capabilities__item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ============================================================================
   03. SECTION 3 — ALL CHANNELS IN ONE
============================================================================ */

.chat-channels {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-channels__container {
    max-width: 1440px;
    margin: 0 auto;
}

.chat-channels__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #1c1c2e;
    text-align: center;
    margin: 0 0 12px;
}

.chat-channels__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.chat-channels__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.chat-channels__card {
    background: var(--color-white);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(64, 114, 214, 0.06);
    border: 1.5px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1c1c2e;
}

.chat-channels__card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(64, 114, 214, 0.12);
}

.chat-channels__card--whatsapp {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(64, 114, 214, 0.05) 0%, rgba(64, 114, 214, 0.1) 100%);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.chat-channels__card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(64, 114, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.chat-channels__card--whatsapp .chat-channels__card-icon {
    background: rgba(64, 114, 214, 0.15);
    width: 48px;
    height: 48px;
}


/* ============================================================================
   04. SECTION 4 — CHAT IN MAILINGS
============================================================================ */

.chat-mailings {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-mailings__container {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(64, 114, 214, 0.07);
    min-height: 480px;
}

.chat-mailings__left {
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 36px;
}

.chat-mailings__mockup {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-size: 0.82rem;
}

.chat-mailings__mock-topbar {
    background: #f0f2f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e4e7ed;
}

.chat-mailings__customer-name {
    font-weight: 600;
    color: #1c1c2e;
    font-size: 0.85rem;
}

.chat-mailings__status-badge {
    background: #22c55e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.chat-mailings__mock-body {
    background: #eef1f8;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 260px;
}

.chat-mailings__bubble {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.55;
}

.chat-mailings__bubble--in {
    background: #fff;
    color: #1c1c2e;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-mailings__bubble--out {
    background: var(--color-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-mailings__bubble-meta {
    display: block;
    font-size: 0.62rem;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.chat-mailings__attachment {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px 8px;
    margin-top: 6px;
    font-size: 0.72rem;
}

.chat-mailings__right {
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.chat-mailings__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.chat-mailings__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-mailings__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #1c1c2e;
    font-weight: 500;
}

.chat-mailings__feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(64, 114, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.chat-mailings__rates {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-mailings__rates-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.chat-mailings__rate-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-mailings__rate-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.chat-mailings__rate-badge--viber   { background: #7360f2; }
.chat-mailings__rate-badge--whatsapp { background: #25d366; }

.chat-mailings__rate-label {
    font-size: 0.875rem;
    color: #1c1c2e;
    font-weight: 500;
}

.chat-mailings__rates-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}


/* ============================================================================
   05. SECTION 5 — CUSTOMER DIALOG AUTOMATION
============================================================================ */

.chat-automation {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-automation__container {
    max-width: 1440px;
    margin: 0 auto;
}

.chat-automation__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px;
}

.chat-automation__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #1c1c2e;
    margin: 0 0 12px;
}

.chat-automation__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.chat-automation__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.chat-automation__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 2px 16px rgba(64, 114, 214, 0.07);
    border: 1.5px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-automation__card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.chat-automation__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a52b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-automation__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1c2e;
    margin: 0;
}

.chat-automation__card-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}


/* ============================================================================
   06. SECTION 6 — AUTOMATIC ROUTING
============================================================================ */

.chat-routing {
    padding: 80px 24px;
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
}

.chat-routing__container {
    max-width: 1440px;
    margin: 0 auto;
}

.chat-routing__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px;
}

.chat-routing__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.chat-routing__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

.chat-routing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.chat-routing__card {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s, transform 0.2s;
}

.chat-routing__card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.chat-routing__card-num {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.chat-routing__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.chat-routing__card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0;
}


/* ============================================================================
   07. SECTION 7 — CUSTOMIZATIONS FOR CORPORATE CLIENTS
============================================================================ */

.chat-custom {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-custom__container {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(64, 114, 214, 0.07);
}

.chat-custom__left {
    padding: 60px 52px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-right: 1px solid #f0f2f5;
}

.chat-custom__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.chat-custom__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

.chat-custom__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-custom__tag {
    background: rgba(64, 114, 214, 0.08);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid rgba(64, 114, 214, 0.2);
}

.chat-custom__steps h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}

.chat-custom__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid rgba(64, 114, 214, 0.2);
    padding-left: 20px;
}

.chat-custom__steps-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 20px;
    position: relative;
}

.chat-custom__steps-list li:last-child { padding-bottom: 0; }

.chat-custom__step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -34px;
    position: relative;
    z-index: 1;
}

.chat-custom__steps-list strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1c2e;
    margin-bottom: 4px;
}

.chat-custom__steps-list p {
    font-size: 0.835rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.chat-custom__right {
    padding: 60px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chat-custom__benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-custom__benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chat-custom__benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a52b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-custom__benefit strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c2e;
    margin-bottom: 4px;
}

.chat-custom__benefit p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ============================================================================
   08. SECTION 8 — TRUSTED BY INDUSTRIES
============================================================================ */

.chat-industries {
    padding: 80px 24px;
    background: var(--color-bg);
}

.chat-industries__container {
    max-width: 1440px;
    margin: 0 auto;
}

.chat-industries__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px;
}

.chat-industries__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #1c1c2e;
    margin: 0 0 12px;
}

.chat-industries__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.chat-industries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.chat-industries__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(64, 114, 214, 0.07);
    border: 1.5px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.chat-industries__card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(64, 114, 214, 0.13);
}

.chat-industries__card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-industries__card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1c1c2e;
    margin: 0;
}

.chat-industries__card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.chat-industries__tags {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-industries__tags li {
    background: rgba(64, 114, 214, 0.08);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}


/* ============================================================================
   09. SECTION 9 — PLATFORM AT A GLANCE
============================================================================ */

.chat-glance {
    padding: 80px 24px;
    background: var(--color-white);
}

.chat-glance__container {
    max-width: 1440px;
    margin: 0 auto;
}

.chat-glance__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px;
}

.chat-glance__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #1c1c2e;
    margin: 0 0 12px;
}

.chat-glance__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Stats row */
.chat-glance__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.chat-glance__stat {
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.chat-glance__stat-value {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.chat-glance__stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
}

/* Features 2-col grid */
.chat-glance__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.chat-glance__feat {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1.5px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.chat-glance__feat:hover {
    border-color: var(--color-primary);
    background: #fff;
}

.chat-glance__feat-icon--blue {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4072D6 0%, #2a52b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-glance__feat-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1c2e;
    margin: 0 0 6px;
}

.chat-glance__feat-body p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}


/* ============================================================================
   09. RESPONSIVE — TABLET (≤1100px)
============================================================================ */

@media (max-width: 1100px) {
    .chat-hero__container    { grid-template-columns: 1fr; }
    .chat-hero__visual       { min-height: 360px; }
    .chat-hero__content      { padding: 48px 40px; }

    .chat-capabilities__container { padding: 48px 40px; }
    .chat-capabilities__list { grid-template-columns: repeat(2, 1fr); }

    .chat-channels__grid  { grid-template-columns: repeat(3, 1fr); }
    .chat-channels__card--whatsapp { grid-column: span 3; }

    .chat-mailings__container { grid-template-columns: 1fr; }
    .chat-mailings__left  { padding: 40px; }
    .chat-mailings__right { padding: 48px 40px; }

    .chat-automation__grid { grid-template-columns: repeat(2, 1fr); }

    .chat-routing__grid { grid-template-columns: repeat(2, 1fr); }

    .chat-custom__container { grid-template-columns: 1fr; }
    .chat-custom__left  { padding: 48px 40px; border-right: none; border-bottom: 1px solid #f0f2f5; }
    .chat-custom__right { padding: 48px 40px; }

    .chat-industries__grid { grid-template-columns: repeat(2, 1fr); }
    .chat-glance__stats    { grid-template-columns: repeat(2, 1fr); }
    .chat-glance__features { grid-template-columns: 1fr; }
}


/* ============================================================================
   10. RESPONSIVE — MOBILE (≤768px)
============================================================================ */

@media (max-width: 768px) {
    .chat-hero          { padding: 20px 16px; }
    .chat-hero__content { padding: 36px 28px; }
    .chat-hero__actions { flex-direction: column; }
    .chat-hero__btn     { width: 100%; justify-content: center; }

    .chat-capabilities  { padding: 56px 16px; }
    .chat-capabilities__container { padding: 32px 24px; }
    .chat-capabilities__list { grid-template-columns: 1fr; }

    .chat-channels      { padding: 56px 16px; }
    .chat-channels__grid { grid-template-columns: repeat(2, 1fr); }
    .chat-channels__card--whatsapp { grid-column: span 2; }

    .chat-mailings      { padding: 56px 16px; }
    .chat-mailings__right { padding: 36px 28px; }

    .chat-automation    { padding: 56px 16px; }
    .chat-automation__grid { grid-template-columns: 1fr; }

    .chat-routing       { padding: 56px 16px; }
    .chat-routing__grid { grid-template-columns: 1fr; }

    .chat-custom        { padding: 56px 16px; }
    .chat-custom__left  { padding: 36px 28px; }
    .chat-custom__right { padding: 36px 28px; }

    .chat-industries       { padding: 56px 16px; }
    .chat-industries__grid { grid-template-columns: 1fr; }
    .chat-glance           { padding: 56px 16px; }
    .chat-glance__stats    { grid-template-columns: repeat(2, 1fr); }
    .chat-glance__features { grid-template-columns: 1fr; }
}


/* ============================================================================
   11. RESPONSIVE — SMALL MOBILE (≤480px)
============================================================================ */

@media (max-width: 480px) {
    .chat-hero__title   { font-size: 1.75rem; }

    .chat-channels__grid { grid-template-columns: 1fr; }
    .chat-channels__card--whatsapp { grid-column: span 1; }

    .chat-mailings__mockup-body { grid-template-columns: 1fr; }
    .chat-hero__mockup-body     { grid-template-columns: 1fr; }
    .chat-hero__mockup-sidebar  { display: none; }
}
