/* MyTappo campaign landing — premium standalone feel */
.mms-mt-campaign {
    --mt-ink: #0f1419;
    --mt-muted: #5c6478;
    --mt-line: #dde3ec;
    --mt-bg: #f4f7fb;
    --mt-card: #ffffff;
    --mt-accent: #2563eb;
    --mt-accent-hover: #1d4ed8;
    --mt-accent-soft: #dbeafe;
    --mt-shadow: 0 22px 50px rgba(15, 20, 25, 0.1);
    --mt-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --mt-radius: 18px;
}

.mms-mt-campaign.mms-sck-page {
    background:
        radial-gradient(900px 420px at 100% -5%, rgba(37, 99, 235, 0.08), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(15, 20, 25, 0.04), transparent 55%),
        var(--mt-bg);
    color: var(--mt-ink);
}

.mms-mt-campaign .wrap {
    max-width: none;
    padding: 0;
}

/* —— Nav —— */
.mt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(221, 227, 236, 0.9);
}

.mt-nav__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mt-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--mt-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mt-logo__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--mt-accent) 0%, #1e40af 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.mt-logo__text {
    font-size: 18px;
}

.mt-logo__img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.mt-logo:has(.mt-logo__img) .mt-logo__text {
    display: none;
}

.mini-card .logo .mini-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}

.mt-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-left: auto;
}

.mt-nav__links a {
    color: var(--mt-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.25s var(--mt-ease);
}

.mt-nav__links a:hover,
.mt-nav__links a:focus-visible {
    color: var(--mt-ink);
}

.mt-nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--mt-ink);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.25s var(--mt-ease), background 0.25s var(--mt-ease);
}

.mt-nav__cta:hover,
.mt-nav__cta:focus-visible {
    background: #1a2233;
    transform: translateY(-1px);
}

/* —— Hero —— */
.mt-hero {
    padding: 64px 24px 72px;
}

.mt-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
}

.mt-hero__copy {
    max-width: 720px;
    text-align: center;
}

.mt-hero__journey {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px 18px;
    width: 100%;
    padding: 8px 0 4px;
}

.mt-journey__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 0 1 auto;
    opacity: 0.72;
    transform: translateY(4px);
    transition: opacity 0.55s var(--mt-ease), transform 0.55s var(--mt-ease);
}

.mt-journey__step.is-active {
    opacity: 1;
    transform: translateY(0);
}

.mt-journey__frame {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 200px;
}

.mt-journey__frame--product {
    min-height: 260px;
}

.mt-journey__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mt-muted);
    transition: color 0.45s var(--mt-ease);
}

.mt-journey__step.is-active .mt-journey__label {
    color: var(--mt-accent);
}

.mt-journey__arrow {
    flex: 0 0 auto;
    align-self: center;
    width: 36px;
    height: 36px;
    margin-bottom: 34px;
    opacity: 0.45;
    transition: opacity 0.45s var(--mt-ease);
}

.mt-journey__arrow span {
    display: block;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.mt-journey__step.is-active + .mt-journey__arrow,
.mt-journey__arrow:has(+ .mt-journey__step.is-active) {
    opacity: 0.85;
}

.mt-hero__fob {
    display: block;
    width: min(380px, 72vw);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 44px rgba(15, 20, 25, 0.16));
    animation: mtFloat 5.5s var(--mt-ease) infinite;
}

.mt-hero__fob--placeholder {
    position: relative;
    width: min(300px, 68vw);
    aspect-ratio: 400 / 520;
    border-radius: 20px;
    border: 1px dashed rgba(92, 100, 120, 0.35);
    background:
        url('../images/mytappo-fob-placeholder.svg') center 42% / 88% auto no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 251, 0.95) 100%);
}

.mt-hero__fob-retainer {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    margin: 0;
    width: 88%;
    text-align: center;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--mt-muted);
}

.mt-hero__fob-retainer span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #8a93a8;
}

@keyframes mtFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Journey phones — smaller, modern aspect ratio */
.mt-journey-phone {
    width: min(168px, 38vw);
    aspect-ratio: 9 / 20;
}

.mt-journey-phone__shell {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    padding: 8px;
    background: linear-gradient(165deg, #2a3142 0%, #12151d 100%);
    box-shadow: 0 16px 36px rgba(15, 20, 25, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mt-journey-phone__notch {
    width: 34%;
    height: 14px;
    margin: 0 auto 8px;
    border-radius: 0 0 10px 10px;
    background: #0e1016;
}

.mt-journey-phone__screen {
    height: calc(100% - 22px);
    border-radius: 20px;
    background: #faf9f7;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
}

.mt-journey-profile {
    flex: 1;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: 12px;
    padding: 12px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.mt-journey-profile__logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: var(--mt-accent-soft);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--mt-accent);
    margin-bottom: 8px;
    overflow: hidden;
}

.mt-journey-profile__logo .mini-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}

.mt-journey-profile__name {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mt-ink);
    line-height: 1.2;
}

.mt-journey-profile__role {
    margin: 0;
    font-size: 10px;
    color: var(--mt-muted);
    line-height: 1.35;
}

.mt-journey-profile__btn {
    margin-top: 10px;
    text-align: center;
    background: var(--mt-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 7px 8px;
    border-radius: 7px;
}

.mt-journey-phone__screen--saved {
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
}

.mt-journey-saved {
    text-align: center;
    padding: 6px 4px;
}

.mt-journey-saved__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
    position: relative;
}

.mt-journey-saved__icon::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 11px;
    width: 10px;
    height: 18px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.mt-journey-saved__title {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mt-ink);
}

.mt-journey-saved__name {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mt-ink);
}

.mt-journey-saved__hint {
    margin: 0;
    font-size: 9px;
    color: var(--mt-muted);
}

@media (max-width: 820px) {
    .mt-hero {
        padding: 48px 18px 56px;
    }

    .mt-hero__inner {
        gap: 36px;
    }

    .mt-hero__journey {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .mt-journey__arrow {
        margin: 0;
        transform: rotate(90deg);
    }

    .mt-journey__frame {
        min-height: auto;
    }

    .mt-journey__frame--product {
        min-height: auto;
    }

    .mt-hero__fob {
        width: min(280px, 78vw);
    }
}

/* // OLD CODE (DO NOT DELETE)
.mt-hero__grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    gap: 36px;
    align-items: center;
}

@media (min-width: 960px) {
    .mt-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        min-height: 72vh;
    }
}

.mt-hero__product-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 420px;
    padding: 20px 0;
}

.mt-hero__phone {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: scale(0.82);
    transform-origin: bottom right;
    opacity: 0.95;
}

@media (max-width: 959px) {
    .mt-hero__phone {
        right: -8px;
        transform: scale(0.72);
    }
}
*/

.mt-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mt-accent);
}

.mt-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.mt-lead {
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--mt-muted);
    max-width: 52ch;
}

.mt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mt-btn-ghost--subtle {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: var(--mt-muted);
    font-size: 14px;
    padding: 14px 14px;
}

.mt-btn-ghost--subtle:hover,
.mt-btn-ghost--subtle:focus-visible {
    border-color: transparent;
    box-shadow: none;
    color: var(--mt-ink);
    text-decoration: underline;
}

.mt-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid var(--mt-line);
    background: var(--mt-card);
    color: var(--mt-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: border-color 0.25s var(--mt-ease), box-shadow 0.25s var(--mt-ease);
}

.mt-btn-ghost:hover,
.mt-btn-ghost:focus-visible {
    border-color: var(--mt-accent);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.mt-operator-note {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--mt-muted);
}

.mt-hero-trust {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
}

.mt-hero-trust li {
    font-size: 13px;
    font-weight: 600;
    color: var(--mt-ink);
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--mt-card);
    border: 1px solid var(--mt-line);
}

/* —— Sections —— */
.mt-section-head {
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
    padding: 0 20px;
}

.mt-section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3.5vw, 34px);
    letter-spacing: -0.02em;
}

.mt-section-head p {
    margin: 0;
    color: var(--mt-muted);
    font-size: 16px;
    line-height: 1.6;
}

.mt-audience,
.mt-videos,
.mt-how,
.mt-order,
.mt-faq {
    padding: 56px 20px;
    max-width: 1140px;
    margin: 0 auto;
}

#mt-how-it-works {
    scroll-margin-top: 72px;
}

.mt-audience__grid,
.mt-videos__grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 760px) {
    .mt-audience__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mt-videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mt-card {
    background: var(--mt-card);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    padding: 22px 22px 24px;
    box-shadow: 0 8px 24px rgba(15, 20, 25, 0.04);
    transition: transform 0.35s var(--mt-ease), box-shadow 0.35s var(--mt-ease);
}

.mt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mt-shadow);
}

.mt-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.mt-card p {
    margin: 0;
    color: var(--mt-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* —— Videos —— */
.mt-video-card {
    background: var(--mt-card);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 20, 25, 0.04);
}

.mt-video-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.mt-video-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #0f1419;
    aspect-ratio: 16 / 9;
}

.mt-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: opacity 0.3s var(--mt-ease), transform 0.5s var(--mt-ease);
}

.mt-video-thumb:hover img {
    opacity: 1;
    transform: scale(1.03);
}

.mt-video-thumb__fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2233 0%, #2563eb 100%);
}

.mt-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mt-video-play::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 20px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--mt-accent);
}

.mt-video-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px dashed var(--mt-line);
    background: rgba(255, 255, 255, 0.6);
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
}

.mt-video-placeholder p {
    margin: 0;
    font-size: 14px;
    color: var(--mt-muted);
    line-height: 1.5;
}

.mt-video-modal[hidden] {
    display: none !important;
}

.mt-video-modal {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.mt-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.72);
}

.mt-video-modal__panel {
    position: relative;
    width: min(960px, 100%);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--mt-shadow);
}

.mt-video-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mt-video-modal__frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.mt-video-modal__frame iframe,
.mt-video-modal__frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* —— Order —— */
.mt-order {
    background: var(--mt-card);
    border: 1px solid var(--mt-line);
    border-radius: calc(var(--mt-radius) + 4px);
    box-shadow: var(--mt-shadow);
    margin-bottom: 48px;
}

.mt-order__grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 900px) {
    .mt-order__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
}

.mt-order h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.mt-order-hint {
    margin-top: 6px !important;
}

.mms-mt-campaign .kit-price-included summary {
    color: var(--mt-muted);
    transition: color 0.2s var(--mt-ease);
}

.mms-mt-campaign .kit-price-included summary:hover,
.mms-mt-campaign .kit-price-included summary:focus-visible {
    color: var(--mt-accent);
}

.mms-mt-campaign .kit-price-included-list {
    color: var(--mt-muted);
}

.mms-mt-campaign .btn-primary {
    background: linear-gradient(145deg, var(--mt-accent) 0%, #1e40af 100%);
    border: none;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
    transition: transform 0.25s var(--mt-ease), box-shadow 0.25s var(--mt-ease);
}

.mms-mt-campaign .btn-primary:hover,
.mms-mt-campaign .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

/* —— Footer —— */
.mt-footer {
    border-top: 1px solid var(--mt-line);
    padding: 32px 20px 100px;
    background: rgba(255, 255, 255, 0.5);
}

.mt-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.mt-footer__brand {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--mt-muted);
}

.mt-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin: 0 0 14px;
}

.mt-footer__social a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--mt-line);
    border-radius: 999px;
    background: var(--mt-card);
    color: var(--mt-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.25s var(--mt-ease), color 0.25s var(--mt-ease), box-shadow 0.25s var(--mt-ease);
}

.mt-footer__social a:hover,
.mt-footer__social a:focus-visible {
    color: var(--mt-accent);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 14px rgba(15, 20, 25, 0.06);
}

.mt-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 10px;
}

.mt-footer__links a {
    color: var(--mt-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.mt-footer__links a:hover,
.mt-footer__links a:focus-visible {
    color: var(--mt-accent);
    text-decoration: underline;
}

.mt-footer__op {
    margin: 0;
    font-size: 12px;
    color: var(--mt-muted);
}

/* —— Sticky CTA —— */
.mt-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--mt-line);
    box-shadow: 0 -8px 30px rgba(15, 20, 25, 0.08);
}

.mt-sticky-cta[hidden] {
    display: none !important;
}

.mt-sticky-cta__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--mt-ink);
}

.mt-sticky-cta__btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
}

@media (max-width: 640px) {
    .mt-nav__links {
        display: none;
    }
    .mt-nav__cta {
        margin-left: auto;
    }
}

/* Standalone host — hide MMS gift cross-links if any theme injects them */
.mms-mt-campaign.is-standalone .mms-product-nav-header,
.mms-mt-campaign.is-standalone .mms-product-nav-footer {
    display: none !important;
}
