﻿/* Reset margins to prevent the initial jump */
.scroll-track {
    height: 400vh; /* Total scroll depth */
    position: relative;
    margin: 0;
    padding: 0;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    /* Changed from center to flex-start and added padding to control top gap */
    display: flex;
    align-items: flex-start;
}

/* 2. FIX TEXT CUT-OFF: Make background wider than screen */
.marquee-bg {
    position: absolute;
    /* Adjust this percentage (e.g., 35% or 40%) to move text higher or lower */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Wide enough to never see edges */
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.track {
    font-size: 13vw; /* Large size as per your screenshot */
    font-weight: 900;
    text-transform: uppercase;
    color: #f15a8a;
    opacity: 0.9;
    white-space: nowrap;
    /* Tighten line-height to reduce vertical space between rows */
    line-height: 1;
    animation: moveLeft 80s ease-in-out infinite;
}

.step-content {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    width: 100%;
    transform: translate(-0%, 30%);
}

.laptop-img {
    max-width: 100%;
    height: auto;
    z-index: 20;
    position: relative;
    transform: translate(-0%, 30%);
}

/* ULTRA-SLOW WIGGLE */
@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8%);
    }

    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(8%);
    }

    100% {
        transform: translateX(0);
    }
}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #333;
    --bs-btn-border-color: #333;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #333;
    --bs-btn-disabled-border-color: #333;
}

.btn-outline-secondary {
    --bs-btn-color: #333;
    --bs-btn-border-color: #333;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #333;
    --bs-btn-hover-border-color: #333;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #333;
    --bs-btn-active-border-color: #333;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #333;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #333;
    --bs-gradient: none;
}

.trust-section {
    padding-top: 40px;
}

.laptop-img {
    max-width: 100%;
    height: auto;
    z-index: 20;
    position: relative;
    transform: translate(-0%, 30%);
}

.step-content {
    height: 100%;
    text-align: center;
}

    .step-content img {
        max-height: 120px;
    }

    .step-content p {
        text-align: center;
    }

.section-area {
    padding: 0 0 60px;
}

/* TOP GRID */
.trust-top {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.trust-heading {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}

.trust-description {
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 0px;
}

.divider {
    border-top: 1px solid #cfcfcf;
    margin: 40px 0;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    text-align: center;
}

.stats-number {
    font-size: 56px;
    font-weight: 600;
    color: #d85b6a;
    line-height: 1;
}

.stats-text {
    font-size: 15px;
    color: #6b6b6b;
    margin-top: 6px;
}

.stats-divider {
    width: 1px;
    height: 80px;
    background-color: #cfcfcf;
    margin: 0 auto;
}

/* ---------- HERO ---------- */
.tmc-hero {
    position: relative;
    background: url("https://stargems.com/assets/img/textmechat/text-me-chat-live-shopping-at-stargems-1.webp") center/cover no-repeat;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    color: #fff;
}

.tmc-hero-overlay {
    background: rgba(0,0,0,0.45);
    padding: 40px;
}


.tmc-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-align: left;
}

.tmc-hero-text {
    margin-top: 18px;
    font-size: 16px;
    max-width: 520px;
    text-align: left;
}

.tmc-hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    max-width: 400px;
    background: #ffffff59;
    padding: 15px;
    justify-content: center;
    border-radius: 14px;
    align-items: flex-end;
    float: inline-end;
    margin-top: -85px;
}

    .tmc-hero-actions .btn {
        border-radius: 12px;
        padding: 12px 22px;
    }

/* ---------- PRICING WRAPPER ---------- */
.tmc-pricing-wrapper {
    background: linear-gradient(135deg, #ff7c9a, #f3b1bd);
    border-radius: 0 0 28px 28px;
    padding: 70px 0 90px;
}

.tmc-pricing-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    max-width: 980px;
    margin: 0px auto 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ---------- COUNTRY ---------- */
.tmc-country-select {
    margin-bottom: 30px;
    text-align: left;
}

    .tmc-country-select label {
        margin-right: 15px;
        margin-left: 15px;
    }

/* ---------- PLANS GRID ---------- */
.tmc-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tmc-plan {
    border-radius: 14px;
    padding: 30px;
    border: 1px solid #eee;
}

.tmc-plan-title {
    font-weight: 600;
}

.tmc-plan-price {
    font-size: 24px;
    font-weight: 700;
    margin: 12px 0;
}

.tmc-plan ul {
    padding-left: 18px;
    font-size: 14px;
    color: #555;
    text-align: left;
}

    .tmc-plan ul li {
        margin-bottom: 6px;
    }

/* ---------- PRO PLAN ---------- */
.tmc-recommended {
    background: #c8536a;
    color: #fff;
    border: none;
    position: relative;
}

    .tmc-recommended ul {
        color: #fff;
    }

    .tmc-recommended .tmc-plan-title {
        font-weight: 600;
        color: #fff;
    }

.tmc-badge-recommended {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #c8536a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #fff;
}

.tmc-plan .btn {
    margin-top: 20px;
    border-radius: 20px;
    padding: 8px 26px;
}

.pro-hero {
    overflow: hidden;
}

/* Phone */
.phone-img {
    max-height: 620px;
}

/* Feature badges */
.feature-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 14px 16px;
    max-width: 300px;
    display: flex;
    gap: 12px;
    text-align: left;
}

    .feature-badge strong {
        color: #e84a5f;
        font-size: 16px;
    }

    .feature-badge p {
        font-size: 13px;
        margin: 0;
        color: #666;
    }

    .feature-badge .icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #ffe9ec;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

        .feature-badge .icon img {
            max-width: 80px;
        }
/* Positions */
.badge-right {
    top: 90px;
    right: -140px;
}

.badge-left {
    bottom: 110px;
    left: -140px;
}

.Overview {
    text-align: left;
}

/* Button */
.btn-dark {
    background: #1f1f1f;
    border: none;
}
/* ===== TESTIMONIAL ===== */
.testimonial-img {
    max-width: 90%;
}



.testimonial-card .quote {
    font-size: 60px;
    position: absolute;
    top: 10px;
    left: 20px;
    color: #3a2a2a;
}

.testimonial-card .arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 26px;
    cursor: pointer;
}

.testimonial-wrapper {
    display: flex;
    gap: 30px;
}

.testimonial-icon {
    padding: 10px;
    border-radius: 50px;
    font-size: 40px;
    width: 80px;
    height: 80px;
    background: #6f585c;
    color: #fff;
    margin-top: -25px;
    margin-left: -100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.testimonial-card {
    position: absolute;
    top: 15px;
    padding: 40px 40px 40px 55px;
    border-radius: 20px;
    background: #6f585c;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
    cursor: pointer;
    margin-left: -120px;
    margin-right: 120px;
    max-width: 750px;
}

    .testimonial-card.testimonial-card-1 {
        top: 40px;
        background: #fff5f3;
        border-radius: 18px;
        position: relative;
        margin-left: -80px;
        margin-right: 80px;
        color: #333;
    }

.testimonial-icon.testimonial-icon-1 {
    background: #fff5f3;
    color: #333;
}
/* Active card on top */
.testimonial-card.active {
    z-index: 3;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Hover override */
.testimonial-card:hover {
    z-index: 4;
    transform: translate(0, 0);
}

.testimonial-card h3 {
    color: #fff;
    text-align: left;
}

.testimonial-card-1 h3 {
    color: #333;
}


.testimonial-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
}


.testimonial-card p {
    font-size: 15px;
    opacity: 0.9;
}


.testimonial-card .author {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

/* ===== CTA SECTION ===== */

.cta-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: url("https://stargems.com/assets/img/textmechat/boost-sales-with-text-me-chat-at-stargems.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 28px;
}

.cta-section-2 {
    background: rgba(192, 74, 86, 0.9);
    border-radius: 28px;
}

    .cta-section-2 img {
        border-radius: 0 0 29px 29px;
    }
/* 🔴 The red curved shape */
/*.cta-section::before {
  content: "";
  position: absolute;

  width: 900px;
  height: 900px;

  left: -100px;*/ /* pull outside */
/*top: 50%;
  transform: translateY(-50%);

  background: rgba(192, 74, 86, 0.9);
  border-radius: 50%;
  z-index: 0;
}*/

/* Content on top */
.cta-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 25px;
    max-width: 620px;
}


    .cta-content h2 {
        color: #fff;
    }
/* Buttons */
.cta-buttons button {
    margin-right: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
}

@media(min-width:1600px) {
    .sticky-container {
        height: 87vh;
    }

    .scroll-track {
        height: 200vh;
    }

    .track {
        font-size: 12vw;
    }

    .step-content {
        position: absolute;
        top: 10px;
    }

    .marquee-bg {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -44%);
    }
}

@media(max-width:1800px) and (min-width:1600px) {
    .marquee-bg {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -46%);
    }
}

@media(max-width:1400px) {
    .cta-content {
        max-width: 550px;
    }
}

@media(max-width:1200.98px) {
    .badge-left {
        bottom: 73px;
        left: -90px;
    }

    .badge-right {
        top: 32px;
        right: -90px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .cta-content {
        max-width: 408px;
    }

    .tmc-pricing-wrapper {
        padding: 30px 15px 30px;
    }

    .tmc-hero-text {
        max-width: 420px;
    }

    .tmc-hero-actions {
        max-width: 335px;
    }

    .tmc-hero-title {
        font-size: 26px;
    }

    .marquee-bg {
        position: absolute;
        top: 40%;
    }

    .testimonial-icon {
        font-size: 30px;
        width: 50px;
        height: 50px;
        margin-top: -40px;
        margin-left: -50px;
    }
}

@media(max-width:991px) {
    .badge-right {
        top: 32px;
        right: 50px;
    }

    .badge-left {
        bottom: 73px;
        left: 50px;
    }

    .track {
        font-size: 20vw;
    }

    .step-content img {
        max-height: 60px;
    }

    .cta-section-2 .cta-content {
        position: relative;
        z-index: 1;
        color: #fff;
        padding: 20px 10px;
        max-width: 100%;
        text-align: center;
    }

    .testimonial-card {
        margin-left: 20px;
        margin-right: 40px;
        max-width: 100%;
        margin-bottom: 40px;
    }

        .testimonial-card.testimonial-card-1 {
            margin-left: 40px;
            margin-right: 20px;
        }

    .tmc-hero-actions {
        margin-top: 0px;
        margin-bottom: 20px;
    }
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .tmc-hero-overlay {
        padding: 60px 30px 100px;
    }

    .tmc-hero-title {
        font-size: 36px;
    }

    .tmc-plans-grid {
        grid-template-columns: 1fr;
    }

    .tmc-plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .trust-heading {
        font-size: 37px;
    }

    .tmc-plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .trust-top {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stats-number {
        font-size: 40px;
    }

    .stats-text {
        font-size: 13px;
    }

    .divider {
        margin: 25px 0;
    }

    .badge-right {
        top: 32px;
        right: 0px;
    }

    .badge-left {
        bottom: 73px;
        left: 0px;
    }

    .Overview {
        margin-top: 25px;
    }

    .h-75 {
        height: 200px !important;
    }

    .sticky-container {
        position: sticky;
        top: 0;
        height: 800px;
    }

    .laptop-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 20px auto; /* equal left & right spacing */
        position: relative;
        z-index: 20;
        transform: none;
    }
}
/* RESPONSIVE */
@media (max-width: 575px) {
    .sticky-container {
        height: 750px;
    }

    .tmc-hero-title {
        font-size: 24px;
    }

    .testimonial-card h3 {
        font-size: 20px;
    }

    .tmc-hero-actions .btn {
        border-radius: 12px;
        padding: 12px 6px;
    }

    .tmc-hero {
        background: #333;
    }

    .tmc-hero-overlay {
        padding: 20px 13px 100px;
    }

    .tmc-pricing-box {
        padding: 15px;
    }

    .tmc-plan {
        border-radius: 14px;
        padding: 25px 10px 10px;
    }

    .laptop-img {
        max-width: 100%;
        height: auto;
        z-index: 20;
        position: relative;
        transform: translate(-0%, 0%);
    }

    .trust-section {
        padding-top: 40px;
    }

    .marquee-bg {
        transform: translate(-50%, -59%);
    }

    .tmc-country-radio tbody tr {
        display: flex;
        flex-direction: column
    }
}

@media (max-width: 520px) {
    .track {
        font-size: 23vw;
    }
}

@media (max-width: 500px) {
    .trust-top {
        grid-template-columns: 1fr;
    }

    .trust-heading {
        font-size: 27px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .stats-content {
        display: grid;
        grid-template-columns: 45% 55%;
        gap: 20px;
        align-items: center;
    }

    .stats-text {
        text-align: left;
    }

    .stats-divider {
        display: none !important;
    }

    .divider {
        margin: 12px 0;
    }

    .feature-badge {
        width: 180px;
        flex-direction: column;
        align-items: center;
    }

    .sticky-container {
        height: 700px;
    }
}

@media (max-width: 350px) {

    .sticky-container {
        height: 650px;
    }

    .stats-content {
        display: grid;
        grid-template-columns: 35% 65%;
        gap: 10px;
    }

    .trust-heading {
        font-size: 22px;
    }

    .stats-number {
        font-size: 28px;
    }

    .badge-right {
        position: relative;
        top: 0px;
        right: 0px;
        width: 100%;
        top: 10px;
    }

    .badge-left {
        position: relative;
        width: 100%;
        top: 20px;
        left: 0px;
        bottom: 0px;
    }

    .Overview {
        margin-top: 45px;
    }
}