/* ═══ HERO v7, Static height (no sticky/parallax), arrows + swipe ═══ */
.mh-hero2{background:#0b1220;color:#fff;position:relative;--mh-chrome:calc(var(--mt-topbar-h,40px) + var(--mt-header-h,72px))}
.mh-hero2__frame{position:relative;min-height:560px;height:calc(100svh - var(--mh-chrome));max-height:880px;width:100%;overflow:hidden;display:flex;align-items:stretch;background:#0b1220}

/* Background layer, no transform, no scale animation */
.mh-hero2__bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.mh-hero2__bg-pic{position:absolute;inset:0;display:block;opacity:0;transition:opacity 1.1s ease-in-out;will-change:opacity}
.mh-hero2__bg-pic.is-active{opacity:1}
.mh-hero2__bg-pic .mh-hero2__bg-img,.mh-hero2__bg-img{width:100%;height:100%;object-fit:cover;display:block}

/* Tint */
.mh-hero2__tint{position:absolute;inset:0;z-index:1;pointer-events:none;background:
    linear-gradient(95deg, rgba(11,18,32,.85) 0%, rgba(11,18,32,.62) 30%, rgba(11,18,32,.30) 55%, rgba(11,18,32,.18) 70%, rgba(11,18,32,.42) 100%),
    linear-gradient(180deg, rgba(11,18,32,.25) 0%, rgba(11,18,32,0) 35%, rgba(11,18,32,0) 65%, rgba(11,18,32,.35) 100%)}

/* Arrows */
.mh-hero2__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:48px;height:48px;border-radius:50%;background:rgba(11,18,32,.55);border:1px solid rgba(255,255,255,.28);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .2s ease,border-color .2s ease,transform .2s ease}
.mh-hero2__arrow:hover,.mh-hero2__arrow:focus-visible{background:rgba(11,18,32,.82);border-color:rgba(96,165,250,.6);outline:none}
.mh-hero2__arrow:hover{transform:translateY(-50%) scale(1.05)}
.mh-hero2__arrow--prev{left:18px}
.mh-hero2__arrow--next{right:18px}
@media(max-width:860px){
    .mh-hero2__arrow{width:40px;height:40px}
    .mh-hero2__arrow--prev{left:10px}
    .mh-hero2__arrow--next{right:10px}
}

/* Content */
.mh-hero2__content{position:relative;z-index:2;width:100%;display:flex;align-items:center;color:#fff;padding:80px 0 72px;pointer-events:none}
.mh-hero2__content a,.mh-hero2__content button{pointer-events:auto}
.mh-hero2__container{width:100%}

/* Two-column grid */
.mh-hero2__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,400px);gap:60px;align-items:center;width:100%;touch-action:pan-y}
.mh-hero2__copy{max-width:600px}
.mh-hero2__card-col{display:flex;flex-direction:column;gap:14px}

/* Left column */
.mh-hero2__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-bottom:22px;background:rgba(11,18,32,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff}
.mh-hero2__eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:#60a5fa;box-shadow:0 0 12px rgba(96,165,250,.7)}

.mh-hero2__title{font-size:clamp(2.2rem,4.6vw,4rem);font-weight:800;line-height:1.04;letter-spacing:-.02em;margin:0 0 22px;text-shadow:0 4px 40px rgba(0,0,0,.6),0 0 80px rgba(0,0,0,.3)}
.mh-hero2__title span{display:block;color:#fff}
.mh-hero2__title em{font-style:normal;color:#93c5fd;background:none;-webkit-text-fill-color:#93c5fd;text-shadow:0 2px 14px rgba(0,0,0,.5),0 0 26px rgba(0,0,0,.35)}

.mh-hero2__desc{font-size:clamp(1rem,1.3vw,1.13rem);line-height:1.55;max-width:540px;color:rgba(255,255,255,.92);margin:0 0 30px;text-shadow:0 2px 24px rgba(0,0,0,.65)}

.mh-hero2__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.mh-hero2 .mt-btn--ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.mh-hero2 .mt-btn--ghost:hover,.mh-hero2 .mt-btn--ghost:focus-visible{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.42)}

.mh-hero2__proof{display:flex;align-items:center;gap:12px;font-size:14px;color:rgba(255,255,255,.92);flex-wrap:wrap;text-shadow:0 2px 18px rgba(0,0,0,.6)}
.mh-hero2__proof-stars{display:inline-flex;gap:2px;color:#facc15;filter:drop-shadow(0 2px 6px rgba(0,0,0,.4))}
.mh-hero2__proof strong{color:#fff;font-weight:700}

/* ── Hero product card, extends .mh-pc site style ────────────────── */
.mh-hero2__pc{flex:1 1 auto;min-height:0;width:100%;max-width:400px;min-width:0;animation:mh-hero2-card-in .6s cubic-bezier(.2,.7,.25,1) both}
@keyframes mh-hero2-card-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.mh-hero2__pc-imgwrap{height:auto;aspect-ratio:5/4;background:#fff}
.mh-hero2__pc-imgwrap img{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .4s ease,transform .55s cubic-bezier(.2,.7,.25,1)}
.mh-hero2__pc-img.is-changing{opacity:0;transform:scale(.94)}
.mh-hero2__pc-body{padding:18px 22px 22px}
.mh-hero2__pc-title{font-size:18px;font-weight:800;letter-spacing:-.005em;line-height:1.2;min-height:0;-webkit-line-clamp:unset;transition:opacity .35s ease,transform .35s ease;margin:0 0 8px}
.mh-hero2__pc-title.is-changing{opacity:0;transform:translateY(-4px)}
.mh-hero2__pc-desc{font-size:13.5px;line-height:1.5;color:#57616d;margin:0 0 12px;transition:opacity .35s ease}
.mh-hero2__pc-desc.is-changing{opacity:0}
.mh-hero2__pc-cta{font-size:14px;font-weight:800;letter-spacing:.005em;color:#0A1E5E;transition:color .25s ease}
.mh-hero2__pc:hover .mh-hero2__pc-cta{color:#2563EB}
.mh-pc__badge{transition:opacity .35s ease,transform .35s ease,color .25s ease,background .25s ease}
.mh-pc__badge.is-changing{opacity:0;transform:translateY(-4px)}

/* Chips */
.mh-hero2__chips{list-style:none;display:flex;gap:8px;padding:0;margin:0;flex-wrap:wrap}
.mh-hero2__chip{appearance:none;border:1px solid rgba(255,255,255,.32);background:rgba(11,18,32,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:rgba(255,255,255,.85);font-size:12.5px;font-weight:600;letter-spacing:.005em;padding:8px 14px;border-radius:999px;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease;font-family:inherit}
.mh-hero2__chip:hover,.mh-hero2__chip:focus-visible{background:rgba(11,18,32,.78);border-color:rgba(255,255,255,.5);color:#fff}
.mh-hero2__chip.is-active{background:#60a5fa;border-color:#60a5fa;color:#0b1220}

/* Responsive */
@media (max-width: 1024px){
    /* Tablet: keep 2-col but constrain to viewport (minus topbar + header) */
    .mh-hero2__frame{height:calc(100svh - var(--mh-chrome));min-height:520px;max-height:none}
    .mh-hero2__content{padding:64px 0 56px}
    .mh-hero2__grid{grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:28px}
    .mh-hero2__pc{max-width:320px}
    .mh-hero2__title{font-size:clamp(1.9rem,4vw,3rem)}
    .mh-hero2__desc{font-size:15px;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
}
@media (max-width: 860px){
    /* Phone: hero fits exactly in viewport (minus topbar + header), no internal scroll */
    .mh-hero2__frame{height:calc(100svh - var(--mh-chrome));min-height:0;max-height:calc(100svh - var(--mh-chrome));overflow:hidden}
    .mh-hero2__content{padding:24px 0 18px;height:100%;align-items:stretch;overflow:hidden}
    .mh-hero2__container{display:flex;flex-direction:column;height:100%}
    /* Flex column: copy fills available space (its contents vertically centered),
       card sits at the bottom via flex order */
    .mh-hero2__grid{display:flex !important;flex-direction:column;height:100%;gap:12px;align-items:stretch}

    .mh-hero2__copy{flex:1 1 auto;max-width:100%;min-height:0;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden}
    .mh-hero2__copy > *{max-width:100%}
    .mh-hero2__title{font-size:clamp(1.6rem,6.5vw,2.3rem);margin-bottom:10px;line-height:1.06}
    .mh-hero2__desc{font-size:14px;line-height:1.45;margin-bottom:14px;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
    .mh-hero2__actions{margin-bottom:10px;gap:8px}
    .mh-hero2__actions .mt-btn{flex:1 1 auto;justify-content:center;padding:11px 14px;font-size:14px}
    .mh-hero2__proof{display:none}
    .mh-hero2__eyebrow{margin-bottom:10px;font-size:10.5px;padding:4px 11px}

    /* Compact horizontal card pinned to bottom */
    .mh-hero2__card-col{flex:0 0 auto;width:100%;gap:8px}
    .mh-hero2__pc{max-width:100%;width:100%;min-height:0;display:grid !important;grid-template-columns:128px 1fr;align-items:center}
    .mh-hero2__pc-imgwrap{width:128px;max-width:128px;height:128px;aspect-ratio:1/1;overflow:hidden;background:#fff}
    .mh-hero2__pc-imgwrap img{width:100%;height:100%;object-fit:contain}
    .mh-hero2__pc-body{padding:8px 12px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
    .mh-pc__cat{font-size:9.5px;letter-spacing:.13em;margin-bottom:1px}
    .mh-hero2__pc-title{font-size:15px;margin:0 0 2px}
    .mh-hero2__pc-desc{display:none}
    .mh-pc__foot{margin-top:2px}
    .mh-hero2__pc-cta{font-size:12px}
    .mh-pc__arrow{width:24px;height:24px}
    .mh-pc__arrow svg{width:12px;height:12px}
    /* Move badge to top-right of card so it sits in the body area, not over the thumbnail */
    .mh-pc__badge{font-size:9px;letter-spacing:.1em;padding:2px 8px;top:8px;left:auto;right:36px;background:#fff;border-color:#e2e8f0}
    .mh-hero2__pc .mh-pc__corner{width:20px;height:20px}
    .mh-hero2__pc .mh-pc__accent{width:48px}

    .mh-hero2__chips{justify-content:center;gap:6px}
    .mh-hero2__chip{font-size:11.5px;padding:6px 10px}

    /* Smaller arrows; align with the bottom card area so they don't overlap hero text/buttons */
    .mh-hero2__arrow{width:36px;height:36px;top:auto;bottom:160px;transform:none}
    .mh-hero2__arrow:hover{transform:scale(1.05)}
    .mh-hero2__arrow svg{width:18px;height:18px}
    .mh-hero2__arrow--prev{left:8px}
    .mh-hero2__arrow--next{right:8px}
}
@media (max-width: 480px){
    .mh-hero2__content{padding:18px 0 14px}
    .mh-hero2__title{font-size:clamp(1.5rem,7vw,2rem)}
    .mh-hero2__actions{margin-bottom:8px}
    .mh-hero2__actions .mt-btn{padding:10px 12px;font-size:13.5px}
}
@media (max-width: 480px) and (max-height: 700px){
    /* Very short phones (older Android, landscape), hide hero text actions to keep card visible */
    .mh-hero2__actions{display:none}
    .mh-hero2__title{font-size:1.4rem;margin-bottom:8px}
    .mh-hero2__desc{-webkit-line-clamp:1}
}

/* Why Mighty, video variant */
.mh-why__img--video{aspect-ratio:1/1}
.mh-why__video{width:100%;height:100%;object-fit:cover;display:block;background:#0b1220}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
    .mh-hero2__bg-pic{transition:none}
    .mh-hero2__bg-pic:not(.is-active){display:none}
    .mh-hero2__pc,.mh-hero2__pc-img,.mh-hero2__pc-title,.mh-hero2__pc-desc,.mh-pc__badge{transition:none;animation:none}
}
