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

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

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.sms-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) {
    .sms-hero { margin-top: 65px; }
}

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

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

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

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

.sms-hero__desc strong { font-weight: 600; }

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

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

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

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

.sms-hero__photo-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 533.38 / 387.38;
}

.sms-hero__main-img {
    position: absolute;
    left: 0;
    top: 4.43%;
    width: 93.22%;
    height: 74.68%;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;

}

/* Floating messaging-icon card, top-right of the photo */
.sms-hero__card {
    position: absolute;
    left: 83.56%;
    top: 0;
    width: 16.44%;
    height: 22.64%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(20, 10, 40, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sms-hero__card img {
    width: 64%;
    display: block;
}

/* Hand-drawn connector arrow beneath the photo */
.sms-hero__arrow {
    position: absolute;
    left: 19.31%;
    top: 83.07%;
    width: 27.25%;
    height: 35.38%;
    display: block;
}

/* ============================================================
   SECTION 2 — BUSINESS TEXT MESSAGING INTRO
   ============================================================ */
.sms-insight {
    padding: 90px 0 70px;
    background: linear-gradient(171deg, rgba(255, 214, 219, 0.00) 11.65%, #F0BCEF 56.41%, #FFF 81.33%);
}

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

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

/* ============================================================
   SECTION 3 — BENEFITS OF SQUIBIT MESSENGER (accordion + image)
   ============================================================ */
.sms-benefits {
    padding: 90px 0;
    background: var(--gradient-brand);
}

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

.sms-benefits__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.5;
    margin-bottom: 56px;
}

.sms-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.sms-accordion .accordion-item:last-of-type { border-bottom: none; }

.sms-accordion .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    padding: 20px 0;
}

.sms-accordion .accordion-button.collapsed {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Exact Figma chevron — replaces Bootstrap's default caret */
.sms-accordion .accordion-button::after {
    background-image: url('../images/sms-accordion-chevron.svg');
    background-size: 16px 10px;
    width: 16px;
    height: 10px;
    transform: none;
}

.sms-accordion .accordion-button.collapsed::after {
    opacity: 0.7;
    transform: rotate(-90deg);
}

.sms-accordion .accordion-body {
    padding: 0 0 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-sm);
    font-weight: 300;
    line-height: 1.6;
}

.sms-accordion .accordion-body p { margin: 0;color:#fff }

.sms-benefits__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: 32px;
}

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

.sms-benefits__media {
    height: 100%;
    min-height: 320px;
}

.sms-benefits__img {
    width: 100%;
    height: 100%;
    max-width: 480px;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   SECTION 4 — CONNECT SQUIBIT MESSENGER TO YOUR TOOLS
   ============================================================ */
.sms-connect {
    padding: 90px 0;
    background: #fff;
}

.sms-connect__photo-wrap { position: relative; height: 100%; min-height: 340px; }

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

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

.sms-connect__lead {
    font-size: var(--fs-p);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.sms-connect__desc {
    font-size: var(--fs-sm);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sms-connect__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;
}

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

/* ============================================================
   SECTION 5 — CHOOSE THE RIGHT CHANNEL + comparison table
   ============================================================ */
.sms-channel {
    padding: 20px 0 0px;
    background: #fff;
}

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

.sms-channel__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 14px;
}

.sms-compare-table-wrap {
    margin-top: 34px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.sms-compare-table thead tr {
    background: var(--gradient-brand);
}

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

.sms-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);
}

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

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

/* ============================================================
   SECTION 6 — FEATURE CARDS
   ============================================================ */
.sms-features {
    padding: 90px 0;
   background: linear-gradient(171deg, rgba(255, 214, 219, 0.00) 11.65%, #F0BCEF 56.41%, #FFF 81.33%);
}

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

.sms-features__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sms-feat-card {
    background: #fff;
    border: 1px solid #d9c3d7;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sms-feat-card__icon { display: flex; align-items: center; }
.sms-feat-card__icon img { width: 54px; height: 54px; display: block; }

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

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

/* ============================================================
   SECTION 7 — SUPPORT DESIGNED AROUND YOUR NEEDS (inset panel)
   ============================================================ */
.sms-setup {
    padding: 20px 0 90px;
    background: #fff;
}

.sms-setup__panel {
    background: var(--gradient-brand);
    border-radius: var(--radius-md);
    padding: 60px;
    overflow: hidden;
}

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

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

.sms-setup__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: 12px;
}

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

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

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

/* ============================================================
   SECTION 8 — MAKE BUSINESS MESSAGING EASIER TO MANAGE (CTA)
   ============================================================ */
.sms-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.sms-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;
}

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

.sms-cta__desc {

    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.55;
    margin-bottom: 12px;
    max-width: 780px;
}

.sms-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;
}

.sms-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
   ============================================================ */
.sms-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;
}

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .sms-hero-inner { max-width: 100%; gap: 40px; }
    .sms-hero-left  { flex: 0 0 48%; max-width: 48%; }
}

@media (max-width: 991.98px) {
    .sms-hero-inner  { gap: 28px; padding: 44px 20px; }
    .sms-hero-left   { flex: 0 0 50%; max-width: 50%; }
    .sms-insight, .sms-connect, .sms-setup, .sms-features { padding: 70px 0; }
    .sms-benefits    { padding: 70px 0; }
    .sms-channel     { padding: 0px; }
    .sms-cta         { padding: 70px 0; }
    .sms-setup__panel { padding: 40px; }

    .sms-connect__photo-wrap { height: 360px; min-height: 0; }
    .sms-accordion .accordion-button { font-size: 20px; }
    .sms-features{padding-bottom:0}
}

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

    .sms-benefits__media { margin-top: 24px; }
    .sms-accordion .accordion-button { font-size: 22px; }

    .sms-setup__panel { padding: 28px; }
    .sms-setup__photo-wrap { margin-top: 24px; }

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

@media (max-width: 575.98px) {
    .sms-insight, .sms-connect, .sms-setup, .sms-features { padding: 40px 0 !important; }
    .sms-benefits { padding: 40px 0 !important; }
    .sms-channel  { padding: 0px 0 0px !important; }
    .sms-cta      { padding: 40px 0 !important; }
    .sms-cta a    { margin-top: 20px; }
    .sms-back-top { bottom: 20px; right: 20px; }
    .sms-hero-inner { flex-direction: column-reverse; padding-top: 0; }
    .sms-connect .row { flex-direction: column-reverse; }
    .sms-connect { text-align: center; }
    .sms-setup { text-align: center; }
    .sms-setup .row { flex-direction: column-reverse; }
    .sms-cta { text-align: center; margin-bottom: 20px; }
    .sms-cta a {
        margin-top: 20px;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .sms-benefits .row{flex-direction:column-reverse}
    .sms-benefits__desc{margin-bottom:0}
        .sms-accordion .accordion-button {
        font-size: 18px;
    }
    .sms-connect .row{flex-direction:column}
    .sms-setup{padding-bottom:0!important;}
}

