/* MT - Packages & Pricing (dark by default) */
.mtfe-pk {
    --pk-bg: #171917;
    --pk-ink: #F2EFE8;
    --pk-accent: #E2F268;
    --pk-card: #232623;
    --pk-rule: rgba(242, 239, 232, 0.18);
    --pk-muted: rgba(242, 239, 232, 0.7);
    --pk-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
    color: var(--pk-ink);
}
.mtfe-pk .mtfe-pk__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.mtfe-pk .mtfe-pk__kicker {
    margin: 0 0 14px;
    color: var(--pk-accent);
    font-family: var(--pk-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
body .elementor .mtfe-pk .mtfe-pk__title {
    margin: 0;
    color: var(--pk-ink);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 3.9vw, 60px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em;
}
body .elementor .mtfe-pk h2 span,
body .elementor .mtfe-pk h3 span { color: inherit; font-size: inherit !important; line-height: inherit !important; }

/* toggle */
.mtfe-pk .mtfe-pk__switch {
    position: relative;
    display: none;
    padding: 4px;
    border: 1px solid var(--pk-rule);
}
.mtfe-pk.is-js .mtfe-pk__switch { display: inline-flex; }
body .elementor .mtfe-pk button.mtfe-pk__opt {
    position: relative;
    z-index: 1;
    min-width: 128px;
    margin: 0;
    padding: 11px 18px 10px;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--pk-ink);
    font-family: var(--pk-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.3s ease;
}
body .elementor .mtfe-pk button.mtfe-pk__opt[aria-pressed="true"] { color: var(--pk-bg); }
body .elementor .mtfe-pk button.mtfe-pk__opt:hover { background: none; }
.mtfe-pk .mtfe-pk__opt:focus-visible { outline: 2px solid var(--pk-accent); outline-offset: 2px; }
.mtfe-pk .mtfe-pk__knob {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--pk-accent);
    transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.mtfe-pk[data-active="2"] .mtfe-pk__knob { transform: translateX(100%); }

.mtfe-pk .mtfe-pk__set + .mtfe-pk__set { margin-top: 48px; }
.mtfe-pk.is-js .mtfe-pk__set + .mtfe-pk__set { margin-top: 0; }
.mtfe-pk .mtfe-pk__set[hidden] { display: none; }
.mtfe-pk .mtfe-pk__set-label {
    margin: 0 0 16px;
    font-family: var(--pk-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.mtfe-pk.is-js .mtfe-pk__set-label { display: none; }

.mtfe-pk .mtfe-pk__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.mtfe-pk .mtfe-pk__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border: 1px solid var(--pk-rule);
    background: var(--pk-card);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.mtfe-pk .mtfe-pk__card:hover {
    transform: translate(-4px, -4px);
    border-color: var(--pk-ink);
    box-shadow: 8px 8px 0 var(--pk-accent);
}
.mtfe-pk .mtfe-pk__card.is-hot {
    background: var(--pk-accent);
    border-color: var(--pk-accent);
    color: var(--pk-bg);
    --pk-muted: rgba(23, 25, 23, 0.72);
    --pk-rule: rgba(23, 25, 23, 0.2);
    transform: translateY(-14px);
}
.mtfe-pk .mtfe-pk__card.is-hot:hover { transform: translate(-4px, -18px); box-shadow: 8px 8px 0 #3155E7; border-color: var(--pk-bg); }
.mtfe-pk .mtfe-pk__badge {
    position: absolute;
    top: -14px;
    right: 20px;
    padding: 6px 10px 5px;
    background: var(--pk-bg);
    color: var(--pk-accent);
    font-family: var(--pk-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(4deg);
    transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__badge { transform: rotate(-4deg) scale(1.08); }
body .elementor .mtfe-pk .mtfe-pk__name {
    margin: 0;
    color: inherit;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    font-size: 24px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
}
.mtfe-pk .mtfe-pk__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 18px 0 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pk-rule);
}
.mtfe-pk .mtfe-pk__price strong {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(36px, 3.4vw, 50px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.mtfe-pk .mtfe-pk__price span {
    color: var(--pk-muted);
    font-family: var(--pk-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mtfe-pk .mtfe-pk__text {
    margin: 16px 0 0;
    color: var(--pk-muted);
    font-size: 15px;
    line-height: 1.55;
}
.mtfe-pk .mtfe-pk__list {
    display: grid;
    gap: 9px;
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
}
.mtfe-pk .mtfe-pk__list li {
    position: relative;
    margin: 0;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.4;
}
.mtfe-pk .mtfe-pk__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23E2F268' stroke-width='3' stroke-linecap='square' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.mtfe-pk .mtfe-pk__card.is-hot .mtfe-pk__list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23171917' stroke-width='3' stroke-linecap='square' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__list li::before { transform: scale(1.25) rotate(-8deg); }
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__list li:nth-child(2)::before { transition-delay: 0.05s; }
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__list li:nth-child(3)::before { transition-delay: 0.1s; }
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__list li:nth-child(4)::before { transition-delay: 0.15s; }
.mtfe-pk .mtfe-pk__card:hover .mtfe-pk__list li:nth-child(n+5)::before { transition-delay: 0.2s; }
.mtfe-pk a.mtfe-pk__btn,
.mtfe-pk a.mtfe-pk__btn:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 15px 18px;
    border: 1px solid currentColor;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mtfe-pk a.mtfe-pk__btn span:last-child { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.mtfe-pk a.mtfe-pk__btn:hover { background: var(--pk-ink); color: var(--pk-bg); }
.mtfe-pk a.mtfe-pk__btn:hover span:last-child { transform: rotate(45deg); }
.mtfe-pk .mtfe-pk__card.is-hot a.mtfe-pk__btn { background: var(--pk-bg); color: var(--pk-accent); border-color: var(--pk-bg); }
.mtfe-pk .mtfe-pk__card.is-hot a.mtfe-pk__btn:hover { background: #3155E7; color: #FFFFFF; border-color: #3155E7; }
.mtfe-pk .mtfe-pk__note {
    margin: 36px 0 0;
    color: var(--pk-muted);
    font-family: var(--pk-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* switching sets: cards deal in one after another */
@media (prefers-reduced-motion: no-preference) {
    .mtfe-pk .mtfe-pk__set.is-entering .mtfe-pk__card { animation: mtfe-pk-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
    .mtfe-pk .mtfe-pk__set.is-entering .mtfe-pk__card:nth-child(2) { animation-delay: 0.07s; }
    .mtfe-pk .mtfe-pk__set.is-entering .mtfe-pk__card:nth-child(3) { animation-delay: 0.14s; }
}
@keyframes mtfe-pk-in { from { opacity: 0; transform: translateY(30px) rotate(1.5deg); } }

@media (max-width: 1024px) {
    .mtfe-pk .mtfe-pk__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .mtfe-pk .mtfe-pk__card.is-hot { transform: none; }
    .mtfe-pk .mtfe-pk__card.is-hot:hover { transform: translate(-4px, -4px); }
}
@media (max-width: 767px) {
    .mtfe-pk .mtfe-pk__switch { width: 100%; }
    body .elementor .mtfe-pk button.mtfe-pk__opt { flex: 1; min-width: 0; }
}
