/* ==========================================================================
   MT Task Management – task-management.css
   · Hardcoded brand colours (no CSS custom props here)
   · clamp() for all fluid sizes
   · Responsive breakpoints at the bottom
   · .realm--glitch / .realm--arcade overrides → task-management-themes.css
   ========================================================================== */

/* ── Page wrapper ─────────────────────────────────────────────────────────── */
.tm-wrapper {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
    font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
    overflow-x: hidden;
    color: #18102e;
}

/* ── Shared utilities ─────────────────────────────────────────────────────── */
.tm-text-accent { color: #7139D1; }

.tm-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 184%;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #2B2B2B;
    margin-bottom: 0.25rem;
}

.tm-eyebrow--light { color: rgba(255,255,255,0.6); }

.tm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7139D1 0%, #9b7ff7 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: clamp(0.7rem, 1.2vw, 0.875rem) clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 24px rgba(113,57,209,0.28);
    white-space: nowrap;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #5b28b3 0%, #7139D1 100%);
    box-shadow: 0 8px 32px rgba(113,57,209,0.38);
    transform: translateY(-2px);
    text-decoration: none;
}

.tm-btn-primary__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

/* ── CTA pill button (same animation as wn-cta__btn) ─────────────────────── */
.tm-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(94deg, #7239D1 0%, #F741EB 100.42%);
    border-radius: clamp(2rem, 3vw, 3.70719rem);
    height: clamp(3rem, 4.5vw, 5.625rem);
    padding: 0 clamp(0.5rem, 1vw, 0.75rem);
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    transition: background .45s ease, filter .45s ease, transform .45s ease;
}

.tm-cta__btn-text {
    flex: 1;
    text-align: center;
    padding-left: 1rem;
    padding-right: calc(clamp(2.5rem, 4vw, 4.305rem) + 1rem);
    transition: color .45s ease, padding-left .45s ease, padding-right .45s ease;
    z-index: 1;
}

.tm-cta__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: clamp(0.5rem, 1vw, 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    transition: right .45s cubic-bezier(.4,0,.2,1), left .45s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}

.tm-cta__btn-icon svg {
    width: clamp(2.5rem, 4vw, 4.305rem);
    height: clamp(2.5rem, 4vw, 4.305rem);
    transition: stroke .45s ease;
}

.tm-cta__btn:hover {
    background: #fff !important;
    filter: drop-shadow(0 0 18px rgba(127, 0, 255, 0.45));
    transform: translateY(-2px);
    color: #f0f;
    text-decoration: none;
}

.tm-cta__btn:hover .tm-cta__btn-text {
    color: #f0f;
    padding-left: calc(clamp(2.5rem, 4vw, 4.305rem) + 1rem);
    padding-right: 1rem;
}

.tm-cta__btn:hover .tm-cta__btn-icon {
    right: auto;
    left: clamp(0.5rem, 1vw, 0.75rem);
}

.tm-cta__btn:hover .tm-cta__btn-icon svg path,
.tm-cta__btn:hover .tm-cta__btn-icon svg rect {
    stroke: #f0f;
}


/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.tm-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(6rem, 10vw, 9rem);
    padding-bottom: clamp(2rem, 4vw, 4rem);
    background: linear-gradient(180deg, #f5f0ff 0%, #fff 100%);
}

/* Hero outer background image (set per theme) */
.tm-hero__bg-img {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

/* Grid pattern scoped to content area */
.tm-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(113,57,209,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,57,209,0.07) 1px, transparent 1px);
    background-size: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px);
    pointer-events: none;
    z-index: 0;
}

.tm-hero .container-fluid { position: relative; z-index: 1; }
.tm-hero .col-11 { position: relative; }

/* Center copy */
.tm-hero__copy {
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 992px) {
    .tm-hero__center-col {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .tm-hero__center-col .tm-hero__copy {
        padding-top: clamp(10rem, 14vw, 17.86669rem);
    }
}

.tm-hero__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    font-style: normal;
    line-height: 121%;
    color: #000;
    margin-bottom: 1rem;
}

.tm-hero__heading-accent {
    color: #7139D1;
    font-weight: 700;
}

.tm-hero__subtext {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1.5rem);
    font-style: italic;
    font-weight: 500;
    line-height: clamp(1.4rem, 2vw, 2.25rem);
    color: #343434;
    text-align: center;
    margin: 0 auto;
}

/* Main screen */
.tm-hero__screen {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Side cards (nav, member, leaderboard) */
.tm-hero__side-card {
    width: 89%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Gem images */
.tm-hero__gem-img {
    width: 6.86669rem;
    height: 6.86669rem;
    display: block;
    align-self: flex-start;
}



/* ══════════════════════════════════════════════════════════════════════════
   PILLARS
   ══════════════════════════════════════════════════════════════════════════ */
.tm-pillars {
    border-top: 1px solid rgba(113,57,209,0.08);
    border-bottom: 1px solid rgba(113,57,209,0.08);
}

.tm-pillars__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 5rem);
    flex-wrap: wrap;
}

.tm-pillars__item {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 500;
    color: #4b3d6e;
    text-align: center;
    max-width: 18ch;
}


/* ══════════════════════════════════════════════════════════════════════════
   TEAM FLOW
   ══════════════════════════════════════════════════════════════════════════ */
.tm-team-flow {
    background: #faf8ff;
}

.tm-team-flow__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.tm-team-flow__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tm-team-flow__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.tm-team-flow__item-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-team-flow__item-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7139D1;
    margin-top: 6px;
}

.tm-team-flow__item-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.25rem);
    font-weight: 600;
    color: #18102e;
    margin: 0 0 0.125rem;
}

.tm-team-flow__item-desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 1vw, 1.125rem);
    font-weight: 400;
    color: #565656;
    line-height: 1.7;
    margin: 0;
}

.tm-team-flow__screen-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(113,57,209,0.12);
    background: #f0eaff;
}

.tm-team-flow__screen {
    width: 100%;
    height: auto;
    display: block;
}


/* ══════════════════════════════════════════════════════════════════════════
   EXECUTION DIVIDER
   ══════════════════════════════════════════════════════════════════════════ */
.tm-exec-divider {
}

.tm-exec-divider__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   ALTERNATING FEATURES
   ══════════════════════════════════════════════════════════════════════════ */
.tm-features {
}

.tm-feat-row {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-bottom: 1px solid rgba(113,57,209,0.08);
}

.tm-feat-row:last-child { border-bottom: none; }

.tm-feat-row--reversed { flex-direction: row-reverse; }

.tm-feat-row__copy {
    flex: 1 1 40%;
    min-width: 0;
}

.tm-feat-row__visual {
    flex: 1 1 55%;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(113,57,209,0.12);
    background: #f5f0ff;
}

.tm-feat-row__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.tm-feat-row__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    color: #7139D1;
    margin-bottom: 0.5rem;
}

.tm-feat-row__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1.25rem);
    font-weight: 400;
    color: #565656;
    line-height: 2.1875rem;
    margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   BUILT DIFFERENT SLIDER
   ══════════════════════════════════════════════════════════════════════════ */
.tm-built-diff {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1260 50%, #1a0a2e 100%);
    overflow: hidden;
}

.tm-built-diff .tm-eyebrow { color: rgba(255,255,255,0.55); }

.tm-bd-slider { position: relative; overflow: hidden; }

.tm-bd-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.tm-bd-slide {
    flex: 0 0 50%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-right: clamp(1rem, 2vw, 1.5rem);
}

.tm-bd-slide__img-wrap,
.tm-bd-slide__img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    margin-bottom: 1.25rem;
}

.tm-bd-slide__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-bd-slide__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tm-bd-slide__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1.25rem);
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    line-height: 2.1875rem;
    margin: 0;
}

.tm-bd-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tm-bd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tm-bd-dot.active {
    background: #7139D1;
    transform: scale(1.3);
}


/* ══════════════════════════════════════════════════════════════════════════
   HOW PROJECTS MOVE
   ══════════════════════════════════════════════════════════════════════════ */
.tm-how {
    background: #fff;
}

.tm-how__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.tm-how-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tm-how-step {
    border-bottom: 1px solid rgba(113,57,209,0.12);
}

.tm-how-step:first-child { border-top: 1px solid rgba(113,57,209,0.12); }

.tm-how-step__btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.125rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.25rem);
    font-weight: 600;
    color: #18102e;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tm-how-step.active .tm-how-step__btn { color: #7139D1; }

.tm-how-step__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.tm-how-step.active .tm-how-step__body {
    max-height: 200px;
    padding-bottom: 1rem;
}

.tm-how-step__body p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1.25rem);
    font-weight: 400;
    color: #565656;
    line-height: 2.1875rem;
    margin: 0;
}

.tm-how__screen-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(113,57,209,0.13);
    background: #f5f0ff;
}

.tm-how__screen {
    width: 100%;
    height: auto;
    display: block;
}


/* ══════════════════════════════════════════════════════════════════════════
   CORE CAPABILITIES
   ══════════════════════════════════════════════════════════════════════════ */
.tm-capabilities {
    background: transparent;
}

.tm-capabilities__eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 184%;
    letter-spacing: 0.16rem;
    color: #2B2B2B;
    margin: 0;
}

.tm-capabilities__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin: 0;
}

.tm-cap-card {
    border-radius: 1.84106rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tm-cap-card--pink   { background: linear-gradient(180deg, #f5c8c8 0%, #f5c8c8 55%, #fff 100%); }
.tm-cap-card--blue   { background: linear-gradient(180deg, #c8d8f5 0%, #c8d8f5 55%, #fff 100%); }
.tm-cap-card--purple { background: linear-gradient(180deg, #d0c8f5 0%, #d0c8f5 55%, #fff 100%); }
.tm-cap-card--yellow { background: linear-gradient(180deg, #f5eac8 0%, #f5eac8 55%, #fff 100%); }

.tm-cap-card__img-wrap {
    width: 100%;
    overflow: hidden;
    min-height: 14rem;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.tm-cap-card__bg-pattern {
    position: absolute;
    top: 0;
    transform: translateX(-16%);
    width: auto;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.tm-cap-card__img {
    width: 90%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.tm-cap-card__img-wrap--focused-execution,
.tm-cap-card__img-wrap--track-progress {
    min-height: clamp(16rem, 20vw, 26rem);
}

.tm-cap-card__img-wrap--focused-execution {
    padding: 0;
}

.tm-cap-card__img--dt1 {
    position: absolute;
    top: 5%;
    left: 4%;
    width: 72%;
    z-index: 3;
}

.tm-cap-card__img--dt2 {
    position: absolute;
    top: 28%;
    right: 4%;
    width: 60%;
    z-index: 2;
}

.tm-cap-card__body {
    flex: 1;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
    text-align: center;
}

.tm-cap-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1.5rem);
    font-weight: 600;
    line-height: 150%;
    color: #191919;
    margin: 0 0 0.25rem;
}

.tm-cap-card__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.1vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   GAMIFIED LAYER
   ══════════════════════════════════════════════════════════════════════════ */
.tm-gamified {
    background: transparent;
    padding: 3rem 0;
}

.tm-gamified__track {
    position: relative;
    overflow: hidden;
    background: #0d0720;
    border-radius: 1.875rem;
}

.tm-gamified__sticky {
    position: relative;
    text-align: center;
    padding: 4rem 2rem;
    z-index: 1;
}

.tm-gamified__blur {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tm-gamified__blur--lg {
    width: clamp(20rem, 70vw, 71.83588rem);
    height: clamp(18rem, 65vw, 67.76063rem);
    background: rgba(161, 69, 196, 0.30);
    filter: blur(clamp(60px, 15vw, 248.75px));
    top: -50%;
    right: -15%;
    transform: rotate(32.272deg);
}

.tm-gamified__blur--sm {
    width: clamp(14rem, 45vw, 44.77425rem);
    height: clamp(12rem, 42vw, 42.23419rem);
    background: rgba(161, 69, 196, 0.40);
    filter: blur(clamp(60px, 14vw, 240.75px));
    bottom: -20%;
    left: -15%;
    transform: rotate(32.272deg);
}

.tm-gamified__eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 184%;
    letter-spacing: 0.16rem;
    color: #FFFAFA;
    margin: 0;
}

.tm-gamified__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin: 0;
}

.tm-gamified__accordion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.tm-gamified__item {
    width: 100%;
    max-width: 41.375rem;
}

.tm-gamified__btn {
    width: 100%;
    min-height: clamp(3.5rem, 6vw, 8.8125rem);
    border-radius: 12.5rem;
    border: 1px solid rgba(113, 57, 209, 0.35);
    background: rgba(128, 128, 128, 0.08);
    backdrop-filter: blur(50px);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 400;
    line-height: 150%;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.tm-gamified__item--active .tm-gamified__btn {
    background: rgba(113, 57, 209, 0.18);
    border-color: #7139D1;
    color: #fff;
    font-weight: 700;
}

.tm-gamified__chevron {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.tm-gamified__chevron svg {
    opacity: 0.4;
    width: clamp(1.25rem, 2.5vw, 2.375rem);
    height: auto;
}

.tm-gamified__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════════════════════ */
.tm-comparison {
}

.tm-comparison__table {
    border: 1px solid rgba(113,57,209,0.12);
    border-radius: 1.875rem;
    background: #F5F3FF;
    overflow: hidden;
}

.tm-comparison__col {}

.tm-comparison__col--left {}

.tm-comparison__col-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.625rem);
    font-weight: 600;
    font-style: normal;
    line-height: 2.5rem;
    color: #565656;
    margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.tm-comparison__col--right .tm-comparison__col-heading {
    color: #7139D1;
}

.tm-comparison__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.5vw, 1.5rem);
}

.tm-comparison__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(0.875rem, 1.2vw, 1.5rem);
    font-style: normal;
    font-weight: 500;
    line-height: clamp(1.5rem, 2.5vw, 3.75rem);
}

.tm-comparison__col--right .tm-comparison__item {
    color: #191919;
}

.tm-comparison__icon {
    flex-shrink: 0;
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    background: center / contain no-repeat;
}

.tm-comparison__item--bad .tm-comparison__icon {
    background-image: url('../images/productivity/icon-x-red.png');
}

.tm-comparison__item--good .tm-comparison__icon {
    background-image: url('../images/productivity/icon-chevron.png');
}


/* ══════════════════════════════════════════════════════════════════════════
   FEATURE GRID
   ══════════════════════════════════════════════════════════════════════════ */
.tm-feature-grid {
}

/* Section eyebrow – Figma: Poppins 2rem 600 184% 0.16rem #2B2B2B uppercase */
.tm-feature-grid .tm-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 184%;
    letter-spacing: 0.16rem;
    color: #2B2B2B;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

/* Heading – Figma: Poppins 3.625rem 500 122% #7139D1 */
.tm-feature-grid__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Cards – Figma: border-radius 1.5625rem, border 6px rgba(241,241,241,.24), bg #FCFCFC, height 25rem */
.tm-fg-card {
    background: #FCFCFC;
    border: 6px solid rgba(241, 241, 241, 0.24);
    border-radius: 1.5625rem;
    padding: 1.5rem 1.75rem;
    height: 25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    overflow: hidden;
}

.tm-fg-card:hover {
    background: #F6F6FF;
    border-color: rgba(221, 221, 255, 0.24);
    box-shadow: 0 8px 32px rgba(113,57,209,0.12);
    transform: translateY(-3px);
}

/* Easy Assignees, Task Sizing, Comments & Project Templates – grid layout: text left, image right */
.tm-fg-card--easy-assignees,
.tm-fg-card--task-sizing,
.tm-fg-card--comments-attachments,
.tm-fg-card--project-templates {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "title title"
        "desc  image";
    gap: 0 1.5rem;
}

.tm-fg-card--easy-assignees .tm-fg-card__title,
.tm-fg-card--task-sizing .tm-fg-card__title,
.tm-fg-card--comments-attachments .tm-fg-card__title,
.tm-fg-card--project-templates .tm-fg-card__title {
    grid-area: title;
    max-width: 100%;
}

.tm-fg-card--easy-assignees .tm-fg-card__desc,
.tm-fg-card--task-sizing .tm-fg-card__desc,
.tm-fg-card--comments-attachments .tm-fg-card__desc,
.tm-fg-card--project-templates .tm-fg-card__desc {
    grid-area: desc;
    align-self: start;
}

.tm-fg-card--easy-assignees .tm-fg-card__img-wrap,
.tm-fg-card--task-sizing .tm-fg-card__img-wrap,
.tm-fg-card--comments-attachments .tm-fg-card__img-wrap,
.tm-fg-card--project-templates .tm-fg-card__img-wrap {
    grid-area: image;
    flex: none;
    width: auto;
    min-height: unset;
    align-items: center;
    justify-content: center;
}

.tm-fg-card--easy-assignees .tm-fg-card__img-wrap img,
.tm-fg-card--task-sizing .tm-fg-card__img-wrap img,
.tm-fg-card--comments-attachments .tm-fg-card__img-wrap img,
.tm-fg-card--project-templates .tm-fg-card__img-wrap img {
    max-height: 100%;
    max-width: 15rem;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.tm-fg-card__img-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.tm-fg-card__img-placeholder {
    flex: 1;
    min-height: 0;
}

.tm-fg-card__img-wrap img {
    max-height: 100%;
    max-width: 85%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.tm-fg-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.125rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 2.1875rem;
    color: #7139D1;
    margin: 0 0 0.25rem;
}

.tm-fg-card__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1.25rem);
    font-weight: 400;
    font-style: normal;
    color: #565656;
    line-height: 2.1875rem;
    max-width: 78%;
    margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   WORKS FOR
   ══════════════════════════════════════════════════════════════════════════ */
.tm-works-for {
    background: #fff;
}

/* Eyebrow – Figma: Poppins 2rem 600 184% 0.16rem #000 */
.tm-wf-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 2rem);
    font-weight: 600;
    font-style: normal;
    line-height: 184%;
    letter-spacing: 0.16rem;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Heading – Figma: Poppins 3.625rem 500 122% #7139D1 */
.tm-works-for__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3.625rem);
    font-weight: 500;
    font-style: normal;
    line-height: 122%;
    color: #7139D1;
}

/* ── Tab list ─────────────────────────────────────────────────────────────── */
.tm-wf-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
}

/* ── Tab card – inactive – Figma: rgba(102,105,254,0.06) r:1.25rem p:2.5/4.52 */
.tm-wf-tab {
    display: flex;
    align-items: center;
    min-height: 12.5rem;
    padding: 2.5rem 4.52rem;
    border-radius: 1.25rem;
    background: rgba(102, 105, 254, 0.06);
    cursor: pointer;
    transition: background 0.25s ease, border-radius 0.25s ease;
    position: relative;
}

/* ── Tab card – active – Figma: rgba(102,105,254,0.16) r:1.75rem */
.tm-wf-tab.active {
    border-radius: 1.75rem;
    background: rgba(102, 105, 254, 0.16);
}

/* Bar — hidden on inactive, visible on active */
.tm-wf-tab__bar {
    display: none;
    flex-shrink: 0;
    width: 3px;
    height: clamp(5rem, 7vw, 6.5rem);
    background: #7139D1;
    border-radius: 2px;
    margin-right: 1.25rem;
}

.tm-wf-tab.active .tm-wf-tab__bar {
    display: block;
}

.tm-wf-tab__inner {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

/* Label */
.tm-wf-tab__label {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1.625rem);
    font-weight: 600;
    font-style: normal;
    line-height: clamp(1.4rem, 2vw, 2.5rem);
    color: #000;
    margin: 0;
    transition: color 0.25s ease;
}

/* Description */
.tm-wf-tab__desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.875rem, 1.1vw, 1.625rem);
    font-weight: 400;
    font-style: normal;
    line-height: clamp(1.4rem, 2vw, 2.5rem);
    color: #000;
    margin: 0;
    transition: color 0.25s ease;
}

/* Active state — colour changes to purple */
.tm-wf-tab.active .tm-wf-tab__label,
.tm-wf-tab.active .tm-wf-tab__desc {
    color: #7139D1;
}

/* ── Screens (right side) ─────────────────────────────────────────────────── */

/* Sticky wrapper — keeps image in view while tabs scroll */
.tm-wf-sticky {
    position: sticky;
    top: 100px;
    height: 100%;
}

/* Wrap fills the sticky wrapper height — matches left column at every breakpoint */
.tm-wf-screens-wrap {
    position: relative;
    border-radius: 1.76744rem;
    overflow: visible;
    height: 100%;
    min-height: 30rem;
}

.tm-wf-screens-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.76744rem;
    background: linear-gradient(180deg, #BB93FF 0%, rgba(187, 147, 255, 0.25) 50.5%, rgba(113, 57, 209, 0.07) 98.24%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* Screens fill the wrap; flex column so gap stays fixed, images grow with height */
.tm-wf-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 2rem;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.tm-wf-screen.active {
    opacity: 1;
    pointer-events: auto;
}

/* Images grow to fill available height equally; object-fit keeps them uncropped */
.tm-wf-img {
    display: block;
    flex: 1;
    min-height: 0;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tm-wf-img--top {
    width: 90%;
    align-self: flex-start;
    margin-left: -8%;
    object-position: left top;
    transform: translateX(-50px);
    z-index: 1;
}

.tm-wf-img--bot {
    width: 65%;
    align-self: flex-end;
    margin-right: 5%;
    object-position: right top;
    transform: translateX(50px);
    z-index: 2;
}

.tm-wf-screen.active .tm-wf-img--top { transform: translateX(0); }
.tm-wf-screen.active .tm-wf-img--bot  { transform: translateX(0); }

/* ── Accordion panel & caret (inside tab, mobile only) ───────────────────── */
.tm-wf-tab__panel {
    display: none; /* hidden on desktop */
}

.tm-wf-tab__caret {
    display: none; /* hidden on desktop */
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .tm-wf-tab,
    .tm-wf-tab.active {
        padding: 1.5rem 2rem;
        min-height: auto;
        flex-wrap: wrap;
        align-items: center;
    }

    .tm-wf-tabs { gap: 1rem; }

    .tm-wf-sticky { display: none; }

    .tm-wf-tab__inner { flex: 1; }

    .tm-wf-tab__caret {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        color: inherit;
        transition: transform 0.3s ease;
    }

    .tm-wf-tab.active .tm-wf-tab__caret {
        transform: rotate(180deg);
    }

    /* Accordion panel */
    .tm-wf-tab__panel {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 1rem;
        margin-top: 0.75rem;
        position: relative;
        border-radius: 1.76744rem;
    }

    .tm-wf-tab.active .tm-wf-tab__panel {
        max-height: 700px;
        padding: 1.25rem 1rem 1.5rem;
    }

    .tm-wf-tab__panel::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 1.76744rem;
        background: linear-gradient(180deg, #BB93FF 0%, rgba(187, 147, 255, 0.25) 50.5%, rgba(113, 57, 209, 0.07) 98.24%);
        opacity: 0.6;
        z-index: 0;
        pointer-events: none;
    }

    .tm-wf-tab__panel .tm-wf-img--top {
        width: 85%;
        max-width: 340px;
        height: auto;
        border-radius: 0.75rem;
        transform: none;
        position: relative;
        opacity: 1;
        display: block;
        margin: 0 auto 0.75rem;
        z-index: 1;
    }

    .tm-wf-tab__panel .tm-wf-img--bot {
        width: 75%;
        max-width: 300px;
        height: auto;
        border-radius: 0.75rem;
        transform: none;
        position: relative;
        opacity: 1;
        display: block;
        margin: 0 auto;
        z-index: 1;
    }
}


/* ══════════════════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════════════════ */
.tm-cta {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.tm-cta__glow-left {
    position: absolute;
    top: 50%;
    left: -22rem;
    transform: translateY(-50%);
    width: 51.60475rem;
    height: 51.60475rem;
    border-radius: 51.60475rem;
    background: rgba(177, 46, 165, 0.40);
    opacity: 0.13;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.tm-cta .container-fluid {
    position: relative;
    z-index: 1;
}

.tm-cta__pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: clamp(18rem, 25vw, 23.5rem);
    background: linear-gradient(180deg, #F9F5FF 0%, #EDE4FF 100%);
    border-radius: 17.5rem;
    box-shadow: inset 0 -6px 24px rgba(255, 255, 255, 0.4), 0 16px 48px rgba(113, 57, 209, 0.08);
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 16vw, 18rem);
    position: relative;
}

.tm-cta__heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3.625rem);
    font-weight: 500;
    line-height: 122%;
    color: #7139D1;
    text-align: center;
    margin: 0 0 1.75rem;
}

.tm-cta__icon {
    position: absolute;
    width: clamp(52px, 8vw, 110px);
    height: clamp(52px, 8vw, 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
}

.tm-cta__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tm-cta__icon--left {
    left: clamp(1.5rem, 7vw, 7.125rem);
    transform: translateY(-50%);
}

.tm-cta__icon--right {
    right: clamp(1.5rem, 7vw, 7.125rem);
    transform: translateY(-50%);
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {


    .tm-feat-row,
    .tm-feat-row--reversed {
        flex-direction: column;
    }

    .tm-feat-row__copy,
    .tm-feat-row__visual {
        flex: none;
        width: 100%;
    }

    .tm-bd-slide { flex: 0 0 90%; }

    .tm-cta__pill {
        flex-direction: column;
        border-radius: 24px;
        text-align: center;
    }

    .tm-cta__gem { display: none; }
}

@media (max-width: 767px) {
    .tm-cap-card__img--dt1 { top: 20%; }
    .tm-cap-card__img--dt2 { top: 47%; right: 6%; }

    .tm-fg-card {
        padding: 1.5rem 1.25rem;
        height: auto;
    }

    .tm-fg-card--easy-assignees,
    .tm-fg-card--task-sizing,
    .tm-fg-card--comments-attachments,
    .tm-fg-card--project-templates {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas: "title title" "desc image";
        gap: 0rem;
    }

    .tm-fg-card--easy-assignees .tm-fg-card__img-wrap,
    .tm-fg-card--task-sizing .tm-fg-card__img-wrap,
    .tm-fg-card--comments-attachments .tm-fg-card__img-wrap,
    .tm-fg-card--project-templates .tm-fg-card__img-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tm-fg-card--easy-assignees .tm-fg-card__img-wrap img,
    .tm-fg-card--task-sizing .tm-fg-card__img-wrap img,
    .tm-fg-card--comments-attachments .tm-fg-card__img-wrap img,
    .tm-fg-card--project-templates .tm-fg-card__img-wrap img {
        flex: 1;
        height: auto;
        width: 100%;
        max-height: none;
        object-fit: contain;
    }

    .tm-cta__icon { display: none; }

    .tm-pillars__list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tm-comparison__col--left {
        border-bottom: 1px solid rgba(113,57,209,0.12);
    }
}

/* ── bg-pattern position per breakpoint ───────────────────────────────────── */
@media (min-width: 1280px) {
    .tm-cap-card__bg-pattern { transform: translateX(-16%); }
}
@media (min-width: 1680px) {
    .tm-cap-card__bg-pattern { transform: translateX(-44%); }
}
@media (min-width: 2000px) {
    .tm-cap-card__bg-pattern { transform: translateX(-73%); }
}
