/* ==========================================================================
   download.css Ã¢â‚¬â€ styles for the download page (download.html)
   Split out of style.css. Loaded AFTER style.css, so these rules win on this page.
   Shared blocks are copies here; the originals stay in style.css for other pages.
   ========================================================================== */

/* ========== Hero ========== */
.hero {
    background: linear-gradient(180deg, #C9DDF6 0%, #B8D4FF 60%, #A8C8F5 100%);
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    text-align: center;
}
.hero-headline {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--ink-900);
    margin: 0;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}
.hero-sub {
    margin-top: 14px;
    font-size: 17px;
    color: var(--ink-700);
    letter-spacing: 0.04em;
}
.hero-devices {
    position: relative;
    margin: 40px auto 0;
    width: 1100px;
    height: 500px;
    max-width: 100%;
}
.hero-bubble {
    position: absolute;
    background: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-700);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(14, 17, 24, 0.1);
    line-height: 1.3;
}
.hero-bubble-1 {
    left: 18%;
    top: 16.5%;
}
.hero-bubble-4 {
    right: 20.5%;
    top: 21%;
}
.hero-bubble-2 {
    left: 10%;
    top: 31%;
}
.hero-bubble-5 {
    right: 9%;
    top: 35%;
}
.hero-bubble-3 {
    left: 21.5%;
    top: 46%;
}
.hero-bubble-6 {
    right: 17.5%;
    top: 49.5%;
}
.hero-features {
    display: flex;
    justify-content: space-around;
    margin: 40px auto 0;
    max-width: 900px;
    font-size: 15px;
    color: var(--ink-700);
    font-weight: 500;
}
.hero-disclaimer {
    margin: 16px auto 0;
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;
    max-width: 800px;
}
/* ========== Hero CTAs (bottom of hero) ========== */
.hero-ctas-row {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: #373a41;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    position: relative;
    text-decoration: none;
    border: none;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 17, 24, 0.18);
}
.cta-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}
/* ========== Features ========== */
.features {
    padding: 64px 0;
    background: #fff;
}
.features .section-h2 {
    margin-bottom: 40px;
}
.features-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 24px;
}
.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.features-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.feature-card {
    background: var(--bg-cyan);
    padding: 48px 32px;
    min-height: 280px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 182, 217, 0.4);
}
.feature-card-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
}
.feature-card-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #000;
    font-weight: 500;
}
.features-grid-joined {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 0;
}
.feature-card-wide {
    background: var(--bg-cyan);
    padding: 48px 32px;
    min-height: 280px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 32px;
}
.v-title {
    writing-mode: vertical-rl;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.25em;
    flex-shrink: 0;
}
.v-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #000;
    font-weight: 500;
}
/* ========== Software Download Template ========== */
.software-template {
    background: #fff;
}
.software-hero {
    padding: 16px 0 72px;
}
.software-features {
    padding-top: 0;
    padding-bottom: 48px;
}
.software-features .section-h2 {
    margin-bottom: 40px;
    font-size: 34px;
}
/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 44px;
    }

    .hero-devices {
        transform: scale(0.86);
        transform-origin: top center;
        height: 430px;
    }
}
@media (max-width: 860px) {
    .software-hero {
        padding: 10px 0 54px;
    }

    .software-features .section-h2 {
        font-size: 28px;
    }

    .hero-devices {
        transform: scale(0.62);
        transform-origin: top center;
        height: 320px;
    }

    .features-grid-3 {
        grid-template-columns: 1fr;
    }

    .features-grid-2 {
        grid-template-columns: 1fr;
    }

    .features-grid-joined {
        grid-template-columns: 1fr;
    }

    .feature-card-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .v-title {
        writing-mode: horizontal-tb;
    }
}
@media (max-width: 560px) {
    .hero-headline {
        font-size: 32px;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 8px 16px;
        justify-content: center;
    }

    .hero-ctas-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}
@media (max-width: 860px) {
    .hero-sub {
        font-size: 15px;
        padding: 0 8px;
    }

    .hero-disclaimer {
        font-size: 11px;
        padding: 0 12px;
        line-height: 1.6;
    }

    .hero-bubble {
        padding: 6px 10px;
        font-size: 11px;
        gap: 6px;
    }

    .hero-ctas-row {
        gap: 14px;
        margin-top: 28px;
    }

    .cta-btn {
        padding: 12px 22px;
        font-size: 13px;
        gap: 10px;
    }

    .features {
        padding: 48px 0;
    }

    .feature-card {
        padding: 32px 24px;
        min-height: 0;
    }

    .feature-card-title {
        font-size: 20px;
    }

    .feature-card-desc br,
    .v-desc br {
        display: none;
    }

    .feature-card-wide {
        padding: 32px 24px;
        min-height: 0;
    }

    .v-title {
        font-size: 20px;
        letter-spacing: 0.1em;
    }

    .software-features {
        padding-bottom: 36px;
    }

    .software-features .section-h2 {
        margin-bottom: 28px;
    }

    .software-features .features-grid {
        gap: 18px;
        margin-bottom: 18px;
    }

    .software-features .feature-card {
        padding: 32px 22px;
        min-height: 0;
    }

    .software-features .feature-card-wide {
        padding: 32px 22px;
        min-height: 0;
    }

    .software-features .feature-card-title,
    .software-features .v-title {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .software-features .feature-card-desc,
    .software-features .v-desc {
        font-size: 13px;
        line-height: 1.65;
    }
}
@media (max-width: 560px) {
    .hero-inner {
        padding: 0 4px;
    }

    .hero-sub {
        font-size: 13px;
        margin-top: 10px;
    }

    .hero-disclaimer {
        font-size: 10px;
    }

    .hero-devices {
        transform: scale(0.42);
        height: 220px;
        margin-top: 16px;
    }

    .hero-bubble {
        display: none;
    }

    .cta-btn {
        padding: 12px 18px;
        font-size: 13px;
        gap: 8px;
    }

    .cta-sep {
        height: 14px;
    }

    .features {
        padding: 36px 0;
    }

    .feature-card,
    .feature-card-wide {
        padding: 28px 20px;
    }

    .feature-card-title {
        font-size: 18px;
    }

    .feature-card-desc {
        font-size: 12px;
    }

    .v-title {
        font-size: 18px;
    }

    .v-desc {
        font-size: 12px;
    }

    .software-features .section-h2 {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .software-features .feature-card,
    .software-features .feature-card-wide {
        padding: 26px 18px;
    }

    .software-features .feature-card-title,
    .software-features .v-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .software-features .feature-card-desc,
    .software-features .v-desc {
        font-size: 12.5px;
    }

    .software-features .features-grid {
        gap: 14px;
        margin-bottom: 14px;
    }

    .software-features {
        padding-bottom: 28px;
    }
}
/* ============================================================
 * Final mobile overrides: keep this block at the end of the file.
 * ============================================================ */
@media (max-width: 860px) {
    .hero {
        padding: 34px 0 30px;
    }

    .hero-headline {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: 0;
    }

    .hero-sub {
        max-width: 320px;
        margin: 10px auto 0;
        font-size: 14px;
        line-height: 1.55;
        letter-spacing: 0;
    }

    .hero-devices {
        width: 100%;
        height: 280px;
        margin-top: 22px;
        transform: none;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        margin-top: 18px;
        font-size: 12px;
    }

    .hero-ctas-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;
        margin: 22px auto 0;
    }

    .hero-ctas-row .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 560px) {
    .hero-headline {
        font-size: 30px;
    }

    .hero-devices {
        height: 250px;
    }
}
/* ========== Home Hero final cascade ========== */
body .hero {
    background: #f3f6f8;
    padding: clamp(14px, 1.05vw, 20px) 0 0;
    overflow: visible;
}
body .hero-inner {
    position: relative;
    max-width: 1920px;
    padding: 0 clamp(20px, 1.5625vw, 30px);
    text-align: center;
}
body .hero-banner-panel {
    position: relative;
    min-height: 0;
    padding: clamp(58px, 5.1vw, 98px) 48px 0;
    overflow: hidden;
    border-radius: clamp(30px, 2.2vw, 42px) clamp(30px, 2.2vw, 42px) 0 0;
    background: linear-gradient(180deg, #8eb0ff 0%, #c8dcff 51%, #f3f6f8 100%);
}
body .hero-banner-map {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    min-width: 1200px;
    max-width: none;
    height: clamp(610px, 43.75vw, 840px);
    object-fit: fill;
    transform: translateX(-50%);
    opacity: 1;
    mix-blend-mode: normal;
    pointer-events: none;
}
body .hero-copy {
    position: relative;
    z-index: 2;
}
body .hero-headline {
    margin: 0;
    color: #262626;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(44px, 2.917vw, 56px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: none;
}
body .hero-sub {
    max-width: none;
    margin: clamp(14px, 1.15vw, 22px) auto 0;
    color: #5f718b;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(17px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}
body .hero-devices {
    position: relative;
    z-index: 2;
    width: clamp(900px, 58.35vw, 1120px);
    max-width: 100%;
    height: clamp(405px, 27.1vw, 520px);
    margin: clamp(44px, 3.95vw, 76px) auto 0;
    transform: none;
}
body .hero-device-laptop {
    position: absolute;
    left: 50%;
    top: 0;
    width: clamp(558px, 43.49vw, 835px);
    max-width: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 18px 20px rgba(53, 82, 137, .16));
}
body .hero-device-phone {
    position: absolute;
    left: 50%;
    top: clamp(74px, 7.45vw, 143px);
    width: clamp(170px, 12.24vw, 235px);
    max-width: none;
    transform: translateX(-48%);
    filter: drop-shadow(0 14px 18px rgba(35, 55, 102, .20));
}
body .hero-bubble {
    position: absolute;
    z-index: 3;
    display: block;
    width: clamp(154px, 10.052vw, 193px);
    height: clamp(90px, 5.833vw, 112px);
    padding: 0;
    color: #575f78;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(13px, .833vw, 16px);
    font-weight: 400;
    line-height: 1.12;
    text-align: left;
    background: none;
    border-radius: 0;
    box-shadow: none;
}
body .hero-bubble-2 {
    width: clamp(162px, 10.573vw, 203px);
    height: clamp(88px, 5.729vw, 110px);
}
body .hero-bubble::before {
    content: none;
}
body .hero-bubble::after {
    content: none;
}
body .hero-bubble-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: drop-shadow(0 6px 12px rgba(59, 98, 174, .10));
    pointer-events: none;
}
body .hero-bubble-icon {
    position: absolute;
    z-index: 1;
    left: 18.13%;
    top: 22.32%;
    width: clamp(29px, 1.875vw, 36px);
    height: clamp(29px, 1.875vw, 36px);
    object-fit: contain;
    transform: none;
}
body .hero-bubble span {
    position: absolute;
    z-index: 1;
    left: 44.04%;
    top: 23.21%;
    width: 33%;
    white-space: nowrap;
}
body .hero-bubble-1 {
    left: clamp(54px, 3.49vw, 67px);
    top: clamp(38px, 2.45vw, 47px);
}
body .hero-bubble-2 {
    left: clamp(1px, .16vw, 3px);
    top: clamp(145px, 9.43vw, 181px);
}
body .hero-bubble-3 {
    left: clamp(54px, 3.49vw, 67px);
    top: clamp(252px, 16.41vw, 315px);
}
body .hero-bubble-4 {
    right: clamp(49px, 3.18vw, 61px);
    top: clamp(38px, 2.45vw, 47px);
}
body .hero-bubble-5 {
    right: clamp(-5px, -.26vw, -4px);
    top: clamp(145px, 9.43vw, 181px);
}
body .hero-bubble-6 {
    right: clamp(49px, 3.18vw, 61px);
    top: clamp(252px, 16.41vw, 315px);
}
body .hero-bubble-4 .hero-bubble-bg,
body .hero-bubble-5 .hero-bubble-bg,
body .hero-bubble-6 .hero-bubble-bg {
    transform: scaleX(-1);
}
@media (min-width:1081px) {
    body .hero-bubble {
        --bubble-duration: 7.2s;
        --bubble-delay: 0s;
        --bubble-x1: 8px;
        --bubble-y1: -8px;
        --bubble-r1: .8deg;
        --bubble-x2: 3px;
        --bubble-y2: 2px;
        --bubble-r2: -.45deg;
        --bubble-x3: -6px;
        --bubble-y3: -4px;
        --bubble-r3: .35deg;
        transform: translate3d(0, 0, 0);
        transform-origin: 50% 60%;
        backface-visibility: hidden;
        will-change: transform;
        animation: heroBubbleFloat var(--bubble-duration) cubic-bezier(.45, 0, .55, 1) infinite;
        animation-delay: var(--bubble-delay);
    }

    body .hero-bubble-bg {
        will-change: opacity;
        animation: heroBubbleBreath 4.8s ease-in-out infinite;
        animation-delay: var(--bubble-delay);
    }

    body .hero-bubble-icon {
        will-change: transform;
        animation: heroBubbleIcon 4.6s ease-in-out infinite;
        animation-delay: var(--bubble-delay);
    }

    body .hero-bubble-1 {
        --bubble-duration: 7.4s;
        --bubble-delay: -1.2s;
        --bubble-x1: 7px;
        --bubble-y1: -9px;
        --bubble-r1: .75deg;
        --bubble-x2: 2px;
        --bubble-y2: 2px;
        --bubble-r2: -.4deg;
        --bubble-x3: -6px;
        --bubble-y3: -5px;
        --bubble-r3: .35deg;
    }

    body .hero-bubble-2 {
        --bubble-duration: 8.1s;
        --bubble-delay: -3.4s;
        --bubble-x1: 9px;
        --bubble-y1: -6px;
        --bubble-r1: .45deg;
        --bubble-x2: 3px;
        --bubble-y2: 3px;
        --bubble-r2: -.35deg;
        --bubble-x3: -7px;
        --bubble-y3: -3px;
        --bubble-r3: .25deg;
    }

    body .hero-bubble-3 {
        --bubble-duration: 7.8s;
        --bubble-delay: -.4s;
        --bubble-x1: 6px;
        --bubble-y1: -7px;
        --bubble-r1: .55deg;
        --bubble-x2: 1px;
        --bubble-y2: 2px;
        --bubble-r2: -.3deg;
        --bubble-x3: -8px;
        --bubble-y3: -4px;
        --bubble-r3: .28deg;
    }

    body .hero-bubble-4 {
        --bubble-duration: 7.7s;
        --bubble-delay: -2.1s;
        --bubble-x1: -7px;
        --bubble-y1: -9px;
        --bubble-r1: -.65deg;
        --bubble-x2: -2px;
        --bubble-y2: 2px;
        --bubble-r2: .38deg;
        --bubble-x3: 6px;
        --bubble-y3: -5px;
        --bubble-r3: -.3deg;
    }

    body .hero-bubble-5 {
        --bubble-duration: 8.4s;
        --bubble-delay: -4.6s;
        --bubble-x1: -10px;
        --bubble-y1: -6px;
        --bubble-r1: -.42deg;
        --bubble-x2: -3px;
        --bubble-y2: 3px;
        --bubble-r2: .34deg;
        --bubble-x3: 7px;
        --bubble-y3: -3px;
        --bubble-r3: -.22deg;
    }

    body .hero-bubble-6 {
        --bubble-duration: 7.9s;
        --bubble-delay: -2.8s;
        --bubble-x1: -7px;
        --bubble-y1: -7px;
        --bubble-r1: -.5deg;
        --bubble-x2: -1px;
        --bubble-y2: 2px;
        --bubble-r2: .32deg;
        --bubble-x3: 8px;
        --bubble-y3: -4px;
        --bubble-r3: -.26deg;
    }
}
@media (prefers-reduced-motion:reduce) {
    body .hero-bubble,
    body .hero-bubble-bg,
    body .hero-bubble-icon {
        animation: none !important;
        transform: none;
        will-change: auto;
    }

    body .hero-bubble-4 .hero-bubble-bg,
    body .hero-bubble-5 .hero-bubble-bg,
    body .hero-bubble-6 .hero-bubble-bg {
        transform: scaleX(-1);
    }
}
body .hero-features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1210px;
    margin: clamp(22px, 1.78vw, 34px) auto 0;
    color: #7f879f;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 400;
}
body .hero-feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    white-space: nowrap;
}
body .hero-feature img {
    width: clamp(26px, 1.67vw, 32px);
    height: clamp(26px, 1.67vw, 32px);
    object-fit: contain;
}
body .hero-ctas-row {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: clamp(56px, 5.21vw, 100px);
    margin: clamp(44px, 4.48vw, 86px) auto 0;
    flex-wrap: wrap;
}
body .hero-ctas-row .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(280px, 24.063vw, 462px);
    min-height: clamp(58px, 4.427vw, 85px);
    padding: 0 clamp(30px, 2.5vw, 48px);
    gap: clamp(14px, 1.25vw, 24px);
    border-radius: 41.5px;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
body .hero-ctas-row .cta-link {
    color: #044ff6;
    background: #fff;
    border: 1px solid #044ff6;
    box-shadow: none;
}
body .hero-ctas-row .cta-btn[data-cta-qr] {
    position: relative;
    z-index: 11;
    color: #fff;
    background: #044ff6;
    border: 1px solid #044ff6;
    box-shadow: none;
}
body .hero-ctas-row .cta-btn[data-cta-qr] .cta-qr-pop {
    z-index: 30;
}
body .hero-ctas-row .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(4, 79, 246, .18);
}
body .hero-ctas-row .cta-btn[data-cta-qr]:hover {
    box-shadow: 0 12px 24px rgba(4, 79, 246, .18);
}
body .hero-ctas-row .cta-sep {
    width: 2px;
    height: clamp(22px, 1.615vw, 31px);
    background: #044ff6;
}
body .hero-ctas-row .cta-btn[data-cta-qr] .cta-sep {
    background: #fff;
}
body .cta-icon {
    width: clamp(24px, 1.875vw, 36px);
    height: clamp(24px, 1.771vw, 34px);
    object-fit: contain;
}
body .hero-disclaimer {
    max-width: 910px;
    margin: clamp(20px, 1.875vw, 36px) auto 0;
    color: #9FA6B1;
    font-size: clamp(12px, .84vw, 16px);
    line-height: 1.6;
    text-align: center;
}
@media (max-width:1080px) {
    body .hero {
        padding: 28px 0 30px;
    }

    body .hero-inner {
        padding: 0 14px;
    }

    body .hero-banner-panel {
        height: auto;
        min-height: 0;
        padding: 34px 14px 24px;
        border-radius: 20px 20px 0 0;
    }

    body .hero-banner-map {
        top: 22px;
        width: 180%;
        min-width: 0;
        height: 300px;
        opacity: .44;
    }

    body .hero-headline {
        font-size: 34px;
        line-height: 1.18;
    }

    body .hero-sub {
        max-width: 520px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    body .hero-devices {
        width: 100%;
        height: 282px;
        margin-top: 22px;
    }

    body .hero-device-laptop {
        top: 4px;
        width: min(78vw, 470px);
    }

    body .hero-device-phone {
        top: 76px;
        width: min(34vw, 140px);
    }

    body .hero-bubble {
        display: none;
    }

    body .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
        width: 100%;
        max-width: 520px;
        margin-top: 12px;
        padding: 0 4px;
        font-size: 13px;
    }

    body .hero-feature {
        justify-content: flex-start;
        gap: 8px;
        white-space: normal;
        text-align: left;
    }

    body .hero-feature img {
        width: 22px;
        height: 22px;
    }

    body .hero-ctas-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 340px;
        margin-top: 22px;
    }

    body .hero-ctas-row .cta-btn {
        width: 100%;
        min-height: 54px;
        padding: 0 24px;
        font-size: 15px;
    }

    body .hero-disclaimer {
        max-width: 520px;
        margin-top: 14px;
        padding: 0 8px;
        font-size: 11px;
    }
}
@media (max-width:560px) {
    body .hero-headline {
        font-size: 30px;
    }

    body .hero-sub {
        max-width: 320px;
        font-size: 13px;
    }

    body .hero-devices {
        height: 236px;
    }

    body .hero-device-laptop {
        width: min(86vw, 330px);
    }

    body .hero-device-phone {
        top: 68px;
        width: min(38vw, 112px);
    }

    body .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px 6px;
        font-size: 12px;
    }

    body .hero-ctas-row .cta-btn {
        gap: 10px;
    }

    body .cta-icon {
        width: 22px;
        height: 22px;
    }
}
/* ========== Home Features final cascade ========== */
body .home-features {
    position: relative;
    padding: 0 0 clamp(74px, 5.625vw, 108px);
    overflow: hidden;
    background: #eef2f5;
}
body .home-features::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(248px, 20.833vw, 400px);
    background: #0038d6 url("../img/home-features/feature-header-bg.webp") center top / 100% 100% no-repeat;
}
body .home-features::after {
    display: none;
}
body .home-features .container {
    position: relative;
    z-index: 1;
    max-width: 1224px;
    padding: 0;
}
body .home-features .section-h2 {
    margin: 0 0 clamp(72px, 5.208vw, 100px);
    padding-top: clamp(84px, 6.5625vw, 126px);
    color: #fff;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(34px, 2.396vw, 46px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 2px 10px rgba(0, 51, 150, .24);
}
body .home-features .features-grid {
    display: grid;
    gap: clamp(20px, 1.667vw, 32px);
    margin-bottom: clamp(20px, 1.667vw, 32px);
}
body .home-features .features-grid-joined {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 1.667vw, 32px);
}
body .home-features .feature-card,
body .home-features .feature-card-wide {
    position: relative;
    overflow: hidden;
    color: #25334c;
    border: 1px solid #e1f2ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #E1F2FF 0%, #fff 100%);
    box-shadow: 0 4px 12px rgba(140, 175, 210, .2);
    box-sizing: border-box;
    transition: transform .18s, box-shadow .18s;
}
body .home-features .feature-card:hover,
body .home-features .feature-card-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(44, 89, 150, .18);
}
body .home-features .features-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body .home-features .features-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body .home-features .features-grid-3 .feature-card {
    height: clamp(190px, 12.708vw, 244px);
    min-height: clamp(190px, 12.708vw, 244px);
    padding: clamp(24px, 1.615vw, 31px) 28px 24px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
body .home-features .features-grid-2 .feature-card,
body .home-features .feature-card-wide {
    height: clamp(145px, 9.688vw, 186px);
    min-height: clamp(145px, 9.688vw, 186px);
    padding: clamp(42px, 2.813vw, 54px) clamp(138px, 7.813vw, 150px) 30px clamp(36px, 2.552vw, 49px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
body .home-features .feature-card-icon {
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0, 86, 205, .18));
}
body .home-features .features-grid-3 .feature-card-icon {
    position: static;
    width: clamp(58px, 3.958vw, 76px);
    height: clamp(58px, 3.958vw, 76px);
    margin: 0 auto clamp(20px, 1.25vw, 24px);
    transform: none;
}
body .home-features .features-grid-2 .feature-card-icon,
body .home-features .feature-card-wide .feature-card-icon {
    position: absolute;
    right: clamp(54px, 4.271vw, 82px);
    top: 50%;
    width: clamp(72px, 4.896vw, 94px);
    height: clamp(72px, 4.896vw, 94px);
    margin: 0;
    transform: translateY(-50%);
}
body .home-features .feature-card-title,
body .home-features .v-title {
    margin: 0 0 clamp(12px, 1.042vw, 20px);
    color: #2051ff;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(16px, 1.042vw, 20px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    writing-mode: horizontal-tb;
}
body .home-features .feature-card-desc,
body .home-features .v-desc {
    margin: 0;
    color: #6c788b;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(12px, .729vw, 14px);
    font-weight: 400;
    line-height: 1.2;
}
@media (max-width:1080px) {
    body .home-features {
        padding-bottom: 56px;
    }

    body .home-features::before,
    body .home-features::after {
        height: 230px;
    }

    body .home-features .container {
        max-width: 640px;
        padding: 0 18px;
    }

    body .home-features .section-h2 {
        margin-bottom: 36px;
        padding-top: 46px;
        font-size: 26px;
        line-height: 1.25;
    }

    body .home-features .features-grid,
    body .home-features .features-grid-joined {
        gap: 14px;
        margin-bottom: 14px;
    }

    body .home-features .features-grid-3 .feature-card,
    body .home-features .features-grid-2 .feature-card,
    body .home-features .feature-card-wide {
        min-height: 112px;
        padding: 22px 94px 20px 22px;
        align-items: flex-start;
        text-align: left;
    }

    body .home-features .features-grid-3 .feature-card-icon,
    body .home-features .features-grid-2 .feature-card-icon,
    body .home-features .feature-card-wide .feature-card-icon {
        position: absolute;
        right: 22px;
        top: 50%;
        width: 58px;
        height: 58px;
        margin: 0;
        transform: translateY(-50%);
    }

    body .home-features .feature-card-desc br,
    body .home-features .v-desc br {
        display: none;
    }
}
@media (max-width:560px) {
    body .home-features {
        padding-bottom: 42px;
    }

    body .home-features::before,
    body .home-features::after {
        height: 214px;
    }

    body .home-features::after {
        background:
            linear-gradient(45deg, rgba(38, 219, 255, .82) 0 50%, rgba(20, 124, 255, .66) 50% 100%) calc(50% - 130px) 38% / 24px 24px no-repeat,
            linear-gradient(45deg, rgba(38, 219, 255, .78) 0 50%, rgba(20, 124, 255, .62) 50% 100%) calc(50% + 130px) 36% / 22px 22px no-repeat,
            linear-gradient(45deg, rgba(0, 214, 255, .36), transparent 64%) left bottom / 45% 50% no-repeat,
            linear-gradient(315deg, rgba(0, 214, 255, .36), transparent 64%) right bottom / 45% 50% no-repeat;
    }

    body .home-features .section-h2 {
        margin-bottom: 30px;
        padding-top: 40px;
        font-size: 22px;
    }

    body .home-features .features-grid-3 .feature-card,
    body .home-features .features-grid-2 .feature-card,
    body .home-features .feature-card-wide {
        min-height: 104px;
        padding: 20px 80px 18px 18px;
    }

    body .home-features .features-grid-3 .feature-card-icon,
    body .home-features .features-grid-2 .feature-card-icon,
    body .home-features .feature-card-wide .feature-card-icon {
        right: 16px;
        width: 50px;
        height: 50px;
    }

    body .home-features .feature-card-title,
    body .home-features .v-title {
        font-size: 16px;
    }

    body .home-features .feature-card-desc,
    body .home-features .v-desc {
        font-size: 12px;
        line-height: 1.55;
    }
}
/* ========== Software Download final cascade ========== */
body .software-template {
    background: #eef2f5;
}
body .software-hero {
    position: relative;
    padding: clamp(54px, 5.417vw, 104px) 0 clamp(70px, 6.667vw, 128px);
    overflow: hidden;
    background: #f3f6f8;
}
body .software-hero .container {
    max-width: 1224px;
    padding: 0 32px;
}
@media (max-width:1080px) {
    body .software-hero {
        padding: 46px 0 58px;
    }

    body .software-hero .container {
        max-width: 640px;
        padding: 0 18px;
    }

    body .software-features.home-features .features-grid-3,
    body .software-features.home-features .features-grid-2,
    body .software-features.home-features .features-grid-joined {
        grid-template-columns: 1fr;
    }
}
@media (max-width:560px) {
    body .software-hero {
        padding: 38px 0 42px;
    }
}
/* ========== Lanhu page restore: download / contract / academy content only ========== */
body .software-template,
body .contract-template,
body .academy-list-template {
    --restore-blue: #044ff6;
    --restore-blue-2: #2051ff;
    --restore-text: #111827;
    --restore-muted: #6c788b;
    --restore-page: #eef2f5;
    --restore-line: #8cafed;
    background: var(--restore-page);
    font-family: MiSans, "Noto Sans SC", var(--font-sans);
}
body .software-hero {
    padding: 0;
    background: #f3f6f8;
}
body .software-hero .container {
    max-width: 1920px;
    padding: 0 30px;
}
body .software-template .hero.software-hero {
    padding: clamp(14px, 1.05vw, 20px) 0 clamp(54px, 3.55vw, 68px);
    overflow: visible;
    background: #f3f6f8;
}
body .software-template .software-hero .hero-inner {
    max-width: 1920px;
    padding: 0 clamp(20px, 1.5625vw, 30px);
}
body .software-template .download-hero-btn {
    color: var(--restore-blue);
    background: #fff;
    border-color: var(--restore-blue);
}
body .software-template .download-hero-btn .cta-sep {
    background: var(--restore-blue);
}
body .software-template .download-hero-btn .cta-icon {
    filter: none;
}
@media (min-width: 1081px) {
body .software-features {
    position: relative;
    height: 988px;
    padding: 0;
    overflow: hidden;
    background: var(--restore-page);
}
body .software-features.home-features::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 396px;
    background: #0038d6 url("../img/home-features/feature-header-bg.webp") center top / 100% 100% no-repeat;
}
body .software-features.home-features::after {
    display: none;
}
body .software-features .section-h2 {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 0 82px;
    padding-top: 124px;
    color: #fff;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
}
body .software-features .features-grid,
body .software-features .features-grid-joined {
    position: relative;
    z-index: 2;
    width: 1224px;
    max-width: calc(100% - 64px);
    margin-left: auto;
    margin-right: auto;
}
body .software-features .features-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 1.667vw, 32px);
    margin-bottom: clamp(20px, 1.667vw, 32px);
}
body .software-features .features-grid-2,
body .software-features .features-grid-joined {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 1.667vw, 32px);
    margin-bottom: clamp(20px, 1.667vw, 32px);
}
body .software-features .feature-card,
body .software-features .feature-card-wide {
    display: block;
    position: relative;
    min-height: 0;
    height: 220px;
    padding: 124px 44px 26px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #E1F2FF 0%, #fff 100%);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 8px 18px rgba(31, 70, 116, .12);
}
body .software-features .features-grid-3 .feature-card {
    text-align: center;
}
body .software-features .features-grid-2 .feature-card,
body .software-features .feature-card-wide {
    height: 170px;
    padding: 46px 170px 28px 48px;
    text-align: left;
}
body .software-features .feature-card-icon {
    position: absolute;
    top: 32px;
    right: auto;
    left: 50%;
    width: 76px;
    height: 76px;
    object-fit: contain;
    transform: translateX(-50%);
}
body .software-features .features-grid-2 .feature-card-icon,
body .software-features .feature-card-wide .feature-card-icon {
    top: 44px;
    right: 64px;
    left: auto;
    width: 94px;
    height: 94px;
    transform: none;
}
body .software-features .feature-card-title,
body .software-features .v-title {
    color: var(--restore-blue-2);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    writing-mode: horizontal-tb;
}
body .software-features .feature-card-desc,
body .software-features .v-desc {
    color: #6c788b;
    font-size: 14px;
    line-height: 1.65;
}
body .software-features .feature-card-wide {
    height: 170px;
    padding: 46px 170px 28px 48px;
    text-align: left;
}
body .software-features .features-grid-joined .feature-card-wide {
    margin-top: 0;
}
}
@media (max-width:1080px) {
    body .software-hero {
        padding: 28px 0 30px;
    }

    body .software-hero .container {
        padding: 0 14px;
    }
}
/* ============================================================
 * Mobile final pass: navigation, CTA, content lists and detail pages
 * ============================================================ */
@media (max-width: 860px) {
    .hero {
        padding: 34px 0 30px;
    }

    .hero-headline {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: 0;
    }

    .hero-sub {
        max-width: 320px;
        margin: 10px auto 0;
        font-size: 14px;
        line-height: 1.55;
        letter-spacing: 0;
    }

    .hero-devices {
        width: 100%;
        height: 280px;
        margin-top: 22px;
        transform: none;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        margin-top: 18px;
        font-size: 12px;
    }

    .hero-ctas-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;
        margin: 22px auto 0;
    }

    .hero-ctas-row .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 560px) {
    .hero-headline {
        font-size: 30px;
    }

    .hero-devices {
        height: 250px;
    }
}

/* ========== Mobile (<=1080px): reuse homepage hero/features via home.css ==========
   home.css is loaded on this page with media="(max-width:1080px)" so the hero
   and software-features mirror the homepage on mobile. Desktop (>1080) never
   loads home.css and is therefore untouched. Only download-specific deltas live
   below. ========== */

/* Center device image: hidden on desktop; home.css reveals it on mobile. */
.hero-device-mobile-design {
    display: none;
}

@media (max-width: 1080px) {
    /* Download hero has no floating bubbles. */
    body:has(.hero-banner-panel) .software-hero .hero-bubble {
        display: none;
    }
}

