﻿/* Scoped WhatsApp Agent Page */
.wa-agent {
    --accent: #ff6e21;
    --accent-dark: #e65a12;
    --accent-soft: rgba(255,110,33,.12);
    --bg: #fff7f1;
    --bg-2: #ffffff;
    --bg-3: #fff1e8;
    --line: rgba(17,24,39,.08);
    --line-2: rgba(17,24,39,.06);
    --text: #111827;
    --muted: #6b7280;
    --radius: 14px;
    --font: 'Baloo Bhaijaan 2',sans-serif;
    position: relative;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow: hidden;
}

    /* reset (scoped) */
    .wa-agent *,
    .wa-agent *::before,
    .wa-agent *::after {
        box-sizing: border-box
    }

    .wa-agent h1, .wa-agent h2, .wa-agent h3, .wa-agent h4, .wa-agent p {
        margin: 0
    }

    .wa-agent a {
        text-decoration: none
    }

    /* subtle orange sparkles/glow */
    .wa-agent .bg-glow {
        position: absolute;
        top: -240px;
        left: 50%;
        transform: translateX(-50%);
        width: 1000px;
        height: 640px;
        background: radial-gradient(ellipse at center,rgba(255,110,33,0.18) 0%,transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    /* Section divider (clear separation) */
    .wa-agent section {
        position: relative;
        z-index: 1
    }

        .wa-agent section:not(.hero)::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg,transparent,var(--line),transparent);
        }

    /* HERO */
    .wa-agent .hero {
        padding: 64px 40px 56px; /* moved up */
        background: linear-gradient(180deg,var(--bg-3),var(--bg));
    }

    .wa-agent .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 56px;
        align-items: start; /* prevents left column from moving */
        max-width: 1200px;
        margin: 0 auto;
    }

    .wa-agent .hero-content {
        padding-top: 6px
    }

    .wa-agent .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        border-radius: 999px;
        background: var(--accent-soft);
        border: 1px solid rgba(255,110,33,.25);
        font-size: 13px;
        font-weight: 700;
        color: var(--accent-dark);
        margin-bottom: 18px;
    }

        .wa-agent .hero-badge .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 10px rgba(255,110,33,.5);
        }

    .wa-agent .hero-title {
        font-size: clamp(34px,4.6vw,60px);
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -.6px;
        margin-bottom: 14px;
    }

    .wa-agent .highlight {
        background: linear-gradient(90deg,var(--accent),#ff9a4d);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .wa-agent .hero-subtitle {
        color: rgba(17,24,39,.68);
        font-size: 17px;
        line-height: 1.75;
        max-width: 520px;
        margin-bottom: 22px;
    }

    .wa-agent .accent {
        color: var(--accent-dark)
    }

    .wa-agent .hero-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 24px;
    }

    .wa-agent .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border-radius: 999px;
        background: var(--bg-2);
        border: 1px solid var(--line);
        color: rgba(17,24,39,.70);
        font-size: 13px;
        font-weight: 700;
    }

        .wa-agent .pill svg {
            width: 14px;
            height: 14px;
            fill: var(--accent)
        }

    .wa-agent .hero-ctas {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center
    }

    .wa-agent .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 14px 22px;
        border-radius: 12px;
        background: var(--accent);
        color: #fff;
        font-weight: 900;
        font-size: 15px;
        border: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 12px 28px rgba(255,110,33,.22);
        transition: transform .18s, box-shadow .18s, background .18s;
    }

        .wa-agent .btn-primary:hover {
            background: var(--accent-dark);
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(255,110,33,.26);
        }

    .wa-agent .btn-secondary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 20px;
        border-radius: 12px;
        background: #fff;
        color: var(--text);
        font-weight: 900;
        font-size: 15px;
        border: 1px solid rgba(17,24,39,.10);
        transition: transform .18s, background .18s, border-color .18s;
    }

        .wa-agent .btn-secondary:hover {
            transform: translateY(-2px);
            background: rgba(255,110,33,.06);
            border-color: rgba(255,110,33,.22);
        }

    /* HERO VISUAL */
    .wa-agent .hero-visual {
        position: relative;
        padding-top: 6px
    }

    .wa-agent .badge-floating {
        position: absolute;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 14px 44px rgba(17,24,39,.10);
        white-space: nowrap;
    }

        .wa-agent .badge-floating .bf-title {
            font-size: 11px;
            color: rgba(17,24,39,.60);
            font-weight: 800;
        }

        .wa-agent .badge-floating .bf-value {
            font-size: 13px;
            font-weight: 900;
            color: var(--accent-dark);
        }

    .wa-agent .badge-left {
        left: -40px;
        top: 22%
    }

    .wa-agent .badge-right {
        right: -30px;
        bottom: 18%
    }

    /* Chat Card (fixed height -> prevents hero text from shifting) */
    .wa-agent .chat-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 70px rgba(17,24,39,.14);
        height: 520px; /* KEY FIX */
        display: flex;
        flex-direction: column;
    }

    .wa-agent .chat-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: var(--bg-3);
        border-bottom: 1px solid var(--line);
    }

    .wa-agent .chat-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg,var(--accent),#ff9a4d);
        color: #fff;
        font-weight: 900;
    }

    .wa-agent .chat-header-info h4 {
        font-size: 14px;
        font-weight: 900
    }

    .wa-agent .chat-header-info span {
        font-size: 12px;
        font-weight: 800;
        color: var(--accent-dark)
    }

    .wa-agent .chat-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow: auto; /* KEY FIX */
        flex: 1; /* KEY FIX */
    }

    .wa-agent .chat-bubble {
        max-width: 82%;
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .wa-agent .bubble-in {
        background: #fff;
        border: 1px solid var(--line);
        color: var(--text);
        border-bottom-left-radius: 6px;
        align-self: flex-start;
    }

    .wa-agent .bubble-out {
        background: linear-gradient(135deg,var(--accent-dark),var(--accent));
        color: #fff;
        border-bottom-right-radius: 6px;
        align-self: flex-end;
    }

    .wa-agent .bubble-time {
        margin-top: 6px;
        font-size: 11px;
        font-weight: 900;
        opacity: .92;
        text-align: right;
    }

    .wa-agent .bubble-in .bubble-time {
        color: rgba(17,24,39,.45)
    }

    .wa-agent .bubble-out .bubble-time {
        color: rgba(255,255,255,.92); /* FIX: time + ✓✓ visible */
        text-shadow: 0 1px 2px rgba(0,0,0,.25);
    }

    .wa-agent .chat-input-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-top: 1px solid var(--line);
        background: #fff;
    }

        .wa-agent .chat-input-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-family: var(--font);
            font-size: 13px;
            color: rgba(17,24,39,.70);
        }

    .wa-agent .send-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        background: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .wa-agent .send-btn svg {
            width: 16px;
            height: 16px;
            fill: #fff
        }

    /* Section header */
    .wa-agent .section-header {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 46px;
    }

    .wa-agent .section-label {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--accent-soft);
        border: 1px solid rgba(255,110,33,.22);
        color: var(--accent-dark);
        font-weight: 900;
        font-size: 12px;
        letter-spacing: .6px;
        margin-bottom: 14px;
    }

    .wa-agent .section-title {
        font-size: clamp(28px,3.6vw,42px);
        font-weight: 950;
        line-height: 1.18;
        margin-bottom: 10px;
    }

    .wa-agent .section-desc {
        color: rgba(17,24,39,.65);
        font-size: 16px;
        line-height: 1.7;
    }

    /* FEATURES */
    .wa-agent .features-section {
        padding: 86px 40px;
        background: var(--bg-2)
    }

    .wa-agent .features-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 16px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .wa-agent .feature-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 22px;
        box-shadow: 0 10px 34px rgba(17,24,39,.07);
        transition: transform .18s, box-shadow .18s, border-color .18s;
    }

        .wa-agent .feature-card:hover {
            transform: translateY(-3px);
            border-color: rgba(255,110,33,.22);
            box-shadow: 0 16px 44px rgba(17,24,39,.10);
        }

    .wa-agent .feature-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-soft);
        border: 1px solid rgba(255,110,33,.20);
        margin-bottom: 12px;
    }

    .wa-agent .feature-card h3 {
        font-size: 16px;
        font-weight: 950;
        margin-bottom: 6px
    }

    .wa-agent .feature-card p {
        color: rgba(17,24,39,.62);
        font-size: 14px;
        line-height: 1.65
    }

    /* CAPABILITIES */
    .wa-agent .capabilities-section {
        padding: 86px 40px;
        background: var(--bg-3)
    }

    .wa-agent .capabilities-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 44px;
        align-items: start;
    }

    .wa-agent .left-title {
        text-align: left;
        margin-bottom: 24px
    }

    .wa-agent .cap-list {
        display: flex;
        flex-direction: column;
        gap: 12px
    }

    .wa-agent .cap-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        border-radius: var(--radius);
        border: 1px solid rgba(17,24,39,.08);
        background: #fff;
        box-shadow: 0 10px 34px rgba(17,24,39,.06);
    }

    .wa-agent .cap-item-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: var(--accent-soft);
        border: 1px solid rgba(255,110,33,.18);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .wa-agent .cap-item-text h4 {
        font-size: 15px;
        font-weight: 950;
        margin-bottom: 4px
    }

    .wa-agent .cap-item-text p {
        font-size: 13px;
        line-height: 1.6;
        color: rgba(17,24,39,.62)
    }

    /* Stats */
    .wa-agent .stats-visual {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 22px;
        box-shadow: 0 14px 48px rgba(17,24,39,.10);
    }

        .wa-agent .stats-visual h3 {
            font-size: 14px;
            font-weight: 950;
            color: rgba(17,24,39,.62);
            margin-bottom: 16px;
        }

    .wa-agent .stat-row {
        display: flex;
        flex-direction: column;
        gap: 14px
    }

    .wa-agent .stat-label {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        font-weight: 900;
        margin-bottom: 7px;
        color: rgba(17,24,39,.70);
    }

    .wa-agent .stat-bar-wrap {
        background: rgba(17,24,39,.06);
        border-radius: 999px;
        height: 9px;
        overflow: hidden;
    }

    .wa-agent .stat-bar {
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg,var(--accent-dark),var(--accent));
        transform-origin: left;
        animation: grow 1.2s ease-out forwards;
        transform: scaleX(0);
    }

@keyframes grow {
    to {
        transform: scaleX(1)
    }
}

.wa-agent .stats-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 900;
    color: rgba(17,24,39,.58);
}

.wa-agent .stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255,110,33,.45);
}

/* IMPACT */
.wa-agent .impact-section {
    padding: 86px 40px;
    background: var(--bg-2)
}

.wa-agent .impact-grid {
    max-width: 1050px;
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.wa-agent .impact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(17,24,39,.07);
}

    .wa-agent .impact-card .number {
        font-size: clamp(28px,3.2vw,44px);
        font-weight: 950;
        line-height: 1;
        margin-bottom: 8px;
    }

    .wa-agent .impact-card .label {
        font-size: 13px;
        line-height: 1.5;
        color: rgba(17,24,39,.62);
        font-weight: 800
    }

.wa-agent .impact-cta {
    text-align: center
}

/* HOW */
.wa-agent .how-section {
    padding: 86px 40px;
    background: var(--bg-3)
}

.wa-agent .steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
}

.wa-agent .step {
    text-align: center;
    padding: 0 26px
}

.wa-agent .step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: #fff;
    border: 2px solid rgba(255,110,33,.18);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.wa-agent .step h3 {
    font-size: 16px;
    font-weight: 950;
    margin-bottom: 8px
}

.wa-agent .step p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(17,24,39,.62);
    font-weight: 800
}

/* CTA band */
.wa-agent .cta-section {
    padding: 78px 40px;
    background: radial-gradient(80% 80% at 50% 30%, rgba(255,110,33,.20), transparent 60%), linear-gradient(180deg, #0b0b12, #070710);
    color: #fff;
}

.wa-agent .cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center
}

    .wa-agent .cta-inner h2 {
        font-size: clamp(28px,3.6vw,44px);
        font-weight: 950;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .wa-agent .cta-inner p {
        color: rgba(255,255,255,.72);
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 22px;
        font-weight: 800
    }

.wa-agent .cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.wa-agent .cta-section .btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}

    .wa-agent .cta-section .btn-secondary:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,110,33,.35);
    }

/* Responsive */
@media(max-width:1100px) {
    .wa-agent .badge-left, .wa-agent .badge-right {
        display: none
    }

    .wa-agent .features-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .wa-agent .impact-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:900px) {
    .wa-agent .hero {
        padding: 68px 20px 44px
    }

    .wa-agent .hero-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .wa-agent .capabilities-inner {
        grid-template-columns: 1fr
    }

    .wa-agent .steps {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .wa-agent .step {
        padding: 0
    }
}

@media(max-width:600px) {
    .wa-agent .features-section,
    .wa-agent .capabilities-section,
    .wa-agent .impact-section,
    .wa-agent .how-section,
    .wa-agent .cta-section {
        padding: 64px 16px
    }

    .wa-agent .features-grid {
        grid-template-columns: 1fr
    }

    .wa-agent .impact-grid {
        grid-template-columns: 1fr 1fr
    }

    .wa-agent .chat-card {
        height: 500px
    }
}

/* Capabilities layout: drop the right stats card a bit lower (like design) */
.wa-agent .capabilities-inner {
    align-items: start; /* keep top alignment */
}

.wa-agent .stats-visual {
    margin-top: 56px; /* shift down */
}

/* Optional: slightly less shift on medium screens */
@media (max-width: 1100px) {
    .wa-agent .stats-visual {
        margin-top: 32px;
    }
}

/* On mobile (stacked), don't offset */
@media (max-width: 900px) {
    .wa-agent .stats-visual {
        margin-top: 0;
    }
}

/* CTA: improve heading contrast */
.wa-agent .cta-section {
    /* keep your dark band, but soften the top overlay */
    background: radial-gradient(80% 80% at 50% 18%, rgba(255,110,33,.14), transparent 62%), linear-gradient(180deg, #0b0b12 0%, #070710 100%);
    color: #fff;
}

.wa-agent .cta-inner h2 {
    color: #fff; /* ensure white */
    text-shadow: 0 10px 30px rgba(0,0,0,.55); /* add depth */
    letter-spacing: -.4px;
}

.wa-agent .cta-inner p {
    color: rgba(255,255,255,.80); /* slightly brighter */
}


/* ===== Capabilities section: make layout fit (override) ===== */
.wa-agent .capabilities-section {
    background: var(--bg-3);
}

.wa-agent .capabilities-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px; /* fixed right column like design */
    gap: 40px;
    align-items: start;
}

/* left title spacing */
.wa-agent .capabilities-section .left-title {
    margin: 10px 0 22px;
    max-width: 520px;
}

/* Left cards should have a clean column width */
.wa-agent .cap-list {
    max-width: 720px;
}

/* Right stats panel should NOT stretch */
.wa-agent .stats-visual {
    width: 520px;
    max-width: 520px;
    margin-top: 86px; /* aligns with list start like your reference */
    justify-self: end; /* keeps it to the right edge */
    border-radius: 22px;
}

    /* make sure inner bars don't look cramped */
    .wa-agent .stats-visual .stat-row {
        gap: 16px;
    }

    .wa-agent .stats-visual .stat-bar-wrap {
        height: 10px;
    }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .wa-agent .capabilities-inner {
        grid-template-columns: 1fr 460px;
    }

    .wa-agent .stats-visual {
        width: 460px;
        max-width: 460px;
        margin-top: 72px;
    }
}

@media (max-width: 980px) {
    .wa-agent .capabilities-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .wa-agent .stats-visual {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        justify-self: stretch;
    }
}

/* ===== FIX: Move title up & tighten spacing ===== */

.wa-agent .capabilities-section {
    padding: 60px 40px 86px; /* reduced top padding */
}

    /* remove extra top gap above label */
    .wa-agent .capabilities-section .section-header {
        margin: 0 0 24px; /* was too large */
    }

    /* tighten space between label and title */
    .wa-agent .capabilities-section .section-label {
        margin-bottom: 10px;
    }

    /* move title higher */
    .wa-agent .capabilities-section .left-title {
        margin: 0 0 18px; /* remove top margin */
    }

/* reduce spacing between title and first card */
.wa-agent .cap-list {
    margin-top: 10px;
}

/* align right stats panel properly */
.wa-agent .stats-visual {
    margin-top: 60px; /* balanced with new title position */
}

/* ===== HARD OVERRIDE: move Capabilities title up ===== */

/* 1) Reduce section top padding (force) */
.wa-agent section.capabilities-section {
    padding-top: 32px !important;
}

    /* 2) Lift the whole left column (label + title + cards) */
    .wa-agent section.capabilities-section .capabilities-inner > div:first-child {
        margin-top: -40px !important; /* <-- key: pulls title up */
    }

    /* 3) Remove any extra top margins around label/title (force) */
    .wa-agent section.capabilities-section .section-label {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .wa-agent section.capabilities-section .left-title {
        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }

    /* 4) Keep stats panel aligned with the new left column */
    .wa-agent section.capabilities-section .stats-visual {
        margin-top: 20px !important;
    }

/* Mobile: don't use negative lift */
@media (max-width: 900px) {
    .wa-agent section.capabilities-section {
        padding-top: 56px !important;
    }

        .wa-agent section.capabilities-section .capabilities-inner > div:first-child {
            margin-top: 0 !important;
        }

        .wa-agent section.capabilities-section .stats-visual {
            margin-top: 0 !important;
        }
}

/* ===== Capabilities: title full width, then 2 columns 50/50 ===== */

/* Make the inner container a 2-row grid */
.wa-agent .capabilities-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 50/50 */
    grid-template-rows: auto 1fr !important;
    gap: 28px 28px !important;
    align-items: start !important;
}

    /* First block (label + title + list) should become the FULL-WIDTH header */
    .wa-agent .capabilities-inner > div:first-child {
        grid-column: 1 / -1 !important; /* full row */
        margin-top: 0 !important; /* cancel old negative lifts */
        max-width: 100% !important;
    }

        /* Ensure title looks like a header section */
        .wa-agent .capabilities-inner > div:first-child .left-title {
            max-width: 720px; /* keep nice line length */
            margin-bottom: 14px !important;
        }

/* Now place the list in column 1 */
.wa-agent .cap-list {
    grid-column: 1 / 2 !important;
    max-width: 100% !important;
    margin-top: 0 !important;
}

/* Place the stats in column 2 */
.wa-agent .stats-visual {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    justify-self: stretch !important;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .wa-agent .capabilities-inner {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
    }

    .wa-agent .cap-list {
        grid-column: 1 / -1 !important;
    }

    .wa-agent .stats-visual {
        grid-column: 1 / -1 !important;
    }
}

/* ===== Proper 2-row layout ===== */

.wa-agent .capabilities-inner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 */
    grid-template-rows: auto auto;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Title full row */
.wa-agent .cap-header {
    grid-column: 1 / -1;
    max-width: 720px;
}

    .wa-agent .cap-header .section-title {
        margin-top: 8px;
        margin-bottom: 0;
    }

/* Left column */
.wa-agent .cap-list {
    grid-column: 1 / 2;
}

/* Right column */
.wa-agent .stats-visual {
    grid-column: 2 / 3;
    width: 100%;
    margin-top: 0;
}

/* Mobile stack */
@media (max-width: 900px) {
    .wa-agent .capabilities-inner {
        grid-template-columns: 1fr;
    }

    .wa-agent .cap-header,
    .wa-agent .cap-list,
    .wa-agent .stats-visual {
        grid-column: 1 / -1;
    }
}