/* ============================================================
   AI AGENTS PAGE — ai-agents.css
   Brand gradient: linear-gradient(269deg, #6e196f 5%, #f433e7 152%)
   Heading dark: #13002e  |  Text dark: #0f233d
   ============================================================ */

.ai-g-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-soft, #d9c3d7);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-heading);
    margin-bottom: 20px;
}

.ai-work-purple .ai-tag,
.ai-setup .ai-tag { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.ai-hero {
    background: linear-gradient(181.51deg, rgba(255, 214, 219, 0) 22%, rgba(255, 212, 254, 0.85) 58%, rgba(255, 212, 254, 0.55) 100%);
    overflow: hidden;
    padding: 0;
    margin-top: 100px;
}
@media (max-width: 991.98px) {
    .ai-hero { margin-top: 65px; }
}

.ai-hero-inner {
    display: flex;
    align-items: center;
    min-height: 480px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    gap: 48px;
}

.ai-hero-left {
    flex: 0 0 46%;
    max-width: 46%;
}

.ai-hero__title {
    color: var(--color-heading);
    margin-bottom: 20px;
}

.ai-hero__desc {
    color: var(--color-dark);
    font-size: clamp(15px, 1.4vw, 20px) !important;
    line-height: 1.55;
    margin-bottom: 28px;
    font-weight: 300;
}

.ai-hero__desc strong { display: block; font-weight: 600; margin-bottom: 10px; }

.ai-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 20px;
}

.ai-hero-breadcrumb a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ai-hero-breadcrumb a:hover { color: var(--squibit-purple); }
.ai-hero-breadcrumb span    { color: var(--squibit-purple); font-weight: 500; }

.ai-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ai-hero__photo-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 526.84 / 386.76;
}

.ai-hero__main-img {
    position: absolute;
    left: 7.09%;
    top: 7.83%;
    width: 92.91%;
    height: 92.17%;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-image);
}

.ai-hero__card {
    position: absolute;
    left: 0;
    top: 0;
    width: 19.72%;
    height: 26.86%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(20, 10, 40, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-hero__card img { width: 56%; display: block; }

/* ============================================================
   SECTION 2 — EXTEND COVERAGE WHILE REDUCING COSTS
   ============================================================ */
.ai-coverage {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, rgba(255, 212, 254, 0.4) 0%, rgba(255, 212, 254, 0.12) 60%, #fff 100%);
}

.ai-coverage__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.25;
    margin-bottom: 20px;
}



/* ============================================================
   SECTION 3 — ALWAYS AVAILABLE. READY TO ANSWER
   ============================================================ */
.ai-available {
    padding: 20px 0 90px;
    background: #fff;
}

.ai-available__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-available__desc {
    font-size: var(--fs-p);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-available__photo-wrap { position: relative; }

.ai-available__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-image);
}

/* ============================================================
   SECTION 4 — WHAT SQUIBIT UC AI AGENTS CAN DO (asymmetric grid)
   ============================================================ */
.ai-capabilities {
    padding: 90px 0;
    background: var(--gradient-brand);
}

.ai-capabilities .ai-tag { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #fff; }

.ai-capabilities__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.45px;
    line-height: 1.25;
    margin-bottom: 20px;
}
.ai-capabilities .col-lg-11  p{color: #fff;}

.ai-cap-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.ai-cap-card {
    background: #f6f7fb;
    border-radius: 24px;
    padding: 32px;
    grid-column: span 12;
}

.ai-cap-card--wide   { grid-column: span 6; }
.ai-cap-card--narrow { grid-column: span 3; }
.ai-cap-card--half   { grid-column: span 6; }

@media (max-width: 991.98px) {
    .ai-cap-card--wide, .ai-cap-card--narrow, .ai-cap-card--half { grid-column: span 12; }
}

.ai-cap-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.ai-cap-card__head--stacked { align-items: flex-start; }

.ai-cap-card__icon { width: 50px; height: 50px; flex-shrink: 0; display: block; }

.ai-cap-card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.25;
    margin: 0;
}

.ai-cap-card__desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 0;
}

.ai-readmore {
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

/* Read More modals */
.ai-cap-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.ai-cap-modal .modal-header {
    background: var(--gradient-brand);
    border-bottom: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-cap-modal__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.ai-cap-modal .modal-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.ai-cap-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    flex-shrink: 0;
}

.ai-cap-modal .btn-close:hover { opacity: 1; }

.ai-cap-modal .modal-body {
    padding: 28px;
}

.ai-cap-modal .modal-body p {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-cap-modal .modal-body p:last-child { margin-bottom: 0; }

/* ============================================================
   SECTION 5 — AI AGENTS THAT WORK THE WAY YOUR BUSINESS DOES (white)
   ============================================================ */
.ai-work-white {
    padding: 90px 0;
    background: #fff;
}

.ai-work-white__photo-wrap { position: relative; }

.ai-work-white__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-image);
}

.ai-work-white__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-work-white__desc {
    font-size: var(--fs-sm);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-work-white__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
    margin-top: 8px;
}

.ai-work-white__btn:hover {
    opacity: 0.9;
    color: #fff;
    box-shadow: 0 8px 24px rgba(110, 25, 111, 0.35);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION 6 — AI AGENTS THAT WORK THE WAY YOUR BUSINESS DOES (gradient)
   ============================================================ */
.ai-work-purple {
    padding: 90px 0;
    background: var(--gradient-brand);
}

.ai-work-purple__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-work-purple__desc {
    font-size: var(--fs-sm);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-work-purple__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--squibit-purple);
    font-size: 17px;
    font-weight: 300;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    letter-spacing: -0.18px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    margin-top: 8px;
}

.ai-work-purple__btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: var(--squibit-purple-dark);
}

.ai-work-purple__photo-wrap { position: relative; }

.ai-work-purple__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   SECTION 7 — AI AGENT FEATURES THAT SUPPORT DAILY OPERATIONS
   ============================================================ */
.ai-features {
    padding: 90px 0;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 212, 254, 0.35) 65%, rgba(255, 212, 254, 0.15) 100%);
}

.ai-features__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.ai-feat-card {
    height: 100%;
    padding: 12px 0;
}

.ai-feat-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ai-feat-card__icon { width: 60px; height: 60px; flex-shrink: 0; }
.ai-feat-card__icon img { width: 100%; height: 100%; display: block; object-fit: contain; }

.ai-feat-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.3;
    margin: 0;
}

.ai-feat-card__desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   SECTION 8 — WHERE AI AGENTS MAKE THE BIGGEST DIFFERENCE
   ============================================================ */
.ai-difference {
    padding: 90px 0;
    background: var(--gradient-brand);
}

.ai-difference__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-difference__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 14px;
}

.ai-compare-table-wrap {
    margin-top: 34px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.ai-compare-table {
    margin-bottom: 0;
    table-layout: fixed;
}

.ai-compare-table thead tr {
    background: #13002e;
}

.ai-compare-table thead th {
    background: transparent;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    text-align: left;
    padding: 14px 24px;
    border: none;
    width: 50%;
}

.ai-compare-table tbody td {
    width: 50%;
    padding: 20px 24px;
    font-size: var(--fs-sm) !important;
    font-weight: 300;
    color: var(--color-dark);
    vertical-align: middle;
    border-color: var(--color-border-soft);
    background: #fff;
}

.ai-compare-table tbody td:first-child {
    font-weight: 500;
    font-size: 18px;
    color: #000;
}

.ai-compare-table tbody tr:nth-child(even) td {
    background: #f1f1f1;
}

/* ============================================================
   SECTION 9 — AI AGENTS CONFIGURED AROUND YOUR BUSINESS
   ============================================================ */
.ai-setup {
    padding: 90px 0;
    background: #fff;
}

.ai-setup__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-setup__desc {
    font-size: var(--fs-sm);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-setup__photo-wrap { position: relative; }

.ai-setup__photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   SECTION 10 — KEEP CUSTOMER CONVERSATIONS MOVING (CTA)
   ============================================================ */
.ai-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.ai-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160.79deg, rgba(255, 214, 219, 0) 18.34%, rgb(204, 118, 201) 77.99%, #fff 90.61%);
    pointer-events: none;
}

.ai-cta__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #000;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.ai-cta__desc {
    font-size: var(--fs-sm) !important;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.55;
    margin-bottom: 12px;
    max-width: 780px;
}

.ai-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    padding: 18px 40px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

.ai-cta__btn:hover {
    opacity: 0.9;
    color: #fff;
    box-shadow: 0 8px 24px rgba(110, 25, 111, 0.35);
    transform: translateY(-2px);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.ai-back-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(110, 25, 111, 0.40);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.ai-back-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ai-back-top:hover {
    box-shadow: 0 8px 28px rgba(110, 25, 111, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .ai-hero-inner { max-width: 100%; gap: 40px; }
    .ai-hero-left  { flex: 0 0 48%; max-width: 48%; }
    .ai-cap-card--narrow { flex-basis: calc(33.33% - 16px); }
}

@media (max-width: 991.98px) {
    .ai-hero-inner  { gap: 28px; padding: 44px 20px; }
    .ai-hero-left   { flex: 0 0 50%; max-width: 50%; }
    .ai-coverage, .ai-available, .ai-work-white, .ai-work-purple, .ai-features, .ai-difference, .ai-setup { padding: 70px 0; }
    .ai-capabilities { padding: 70px 0; }
    .ai-cta { padding: 70px 0; }
}

@media (max-width: 767.98px) {
    .ai-hero-inner       { flex-direction: column; gap: 32px; padding: 40px 20px 28px; }
    .ai-hero-left        { flex: none; max-width: 100%; width: 100%; text-align: center; }
    .ai-hero-breadcrumb  { justify-content: center; }
    .ai-hero-right       { width: 100%; }

    .ai-compare-table thead th { font-size: 16px; padding: 10px 14px; }
    .ai-compare-table tbody td { padding: 14px 14px; }
}

@media (max-width: 575.98px) {
    .ai-coverage, .ai-available, .ai-work-white, .ai-work-purple, .ai-features, .ai-difference, .ai-setup { padding: 40px 0 !important; }
    .ai-capabilities { padding: 40px 0 !important; }
    .ai-cta { padding: 40px 0 !important; }
    .ai-cta a { margin-top: 20px; }
    .ai-back-top { bottom: 20px; right: 20px; }
    .ai-hero-inner { flex-direction: column-reverse; padding-top: 0; }
    .ai-available .row,
    .ai-work-white .row,
    .ai-work-purple .row,
    .ai-setup .row { flex-direction: column-reverse; }
    .ai-available, .ai-work-white, .ai-work-purple, .ai-setup { text-align: center; }
    .ai-cta { text-align: center; margin-bottom: 20px; }
    .ai-cta a {
        margin-top: 20px;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .ai-available{padding-top: 0px;}
}
