/* ShopXN English inner pages — shared shell and language calibration */

body.en-inner-v2 {
    color: #10213e;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.en-inner-v2 .nav-links {
    gap: 0;
    margin-right: 20px;
}

body.en-inner-v2 .nav-link {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
    letter-spacing: -.01em;
}

body.en-inner-v2 .nav-link::after {
    right: auto;
    left: 50%;
    width: 32px;
    -webkit-transform: translateX(-50%) scaleX(0);
    transform: translateX(-50%) scaleX(0);
}

body.en-solution-v2 .nav-link[href="/en/solution.html"],
body.en-architecture-v2 .nav-link[href="/en/architecture.html"],
body.en-cases-v2 .nav-link[href="/en/cases.html"],
body.en-cooperation-v2 .nav-link[href="/en/cooperation.html"],
body.en-about-v2 .nav-link[href="/en/about.html"] {
    color: #123b9a;
}

body.en-solution-v2 .nav-link[href="/en/solution.html"]::after,
body.en-architecture-v2 .nav-link[href="/en/architecture.html"]::after,
body.en-cases-v2 .nav-link[href="/en/cases.html"]::after,
body.en-cooperation-v2 .nav-link[href="/en/cooperation.html"]::after,
body.en-about-v2 .nav-link[href="/en/about.html"]::after {
    -webkit-transform: translateX(-50%) scaleX(1);
    transform: translateX(-50%) scaleX(1);
}

body.en-inner-v2 .nav-link:hover::after,
body.en-inner-v2 .nav-link:focus::after {
    -webkit-transform: translateX(-50%) scaleX(1);
    transform: translateX(-50%) scaleX(1);
}

body.en-inner-v2 .nav-cta .btn-secondary {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 14px;
    white-space: nowrap;
}

body.en-inner-v2 .page-title,
body.en-inner-v2 .about-hero h1,
body.en-inner-v2 .contact-hero h1 {
    letter-spacing: -.045em;
    text-wrap: balance;
}

body.en-inner-v2 .page-title span {
    color: inherit;
}

body.en-inner-v2 .page-subtitle,
body.en-inner-v2 .about-hero p,
body.en-inner-v2 .contact-hero p {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.68;
}

body.en-inner-v2 .section-title {
    text-wrap: balance;
}

body.en-inner-v2 .section-subtitle,
body.en-inner-v2 section p,
body.en-inner-v2 .footer-desc {
    letter-spacing: -.006em;
}

body.en-inner-v2 .page-header-visual img,
body.en-inner-v2 .case-visual img,
body.en-inner-v2 .cooperation-hero-visual img,
body.en-inner-v2 .about-hero-visual img,
body.en-inner-v2 .contact-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

body.en-inner-v2 .solution-assurances span,
body.en-inner-v2 .architecture-assurances span,
body.en-inner-v2 .case-cover-meta span,
body.en-inner-v2 .cooperation-assurances span,
body.en-inner-v2 .about-assurances span,
body.en-inner-v2 .contact-assurances span {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

body.en-inner-v2 .assurance-icon {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}

body.en-about-v2 .mission-card::after {
    width: 184px;
    font-size: 32px;
    line-height: 1.12;
    white-space: pre;
    content: "Build\A sustainable\A traffic assets";
}

body.en-about-v2 .menu-toggle::after {
    content: none !important;
}

body.en-cooperation-v2 .menu-toggle::after {
    content: none !important;
}

body.en-contact-v2 .menu-toggle::after {
    content: none !important;
}

body.en-inner-v2 .footer-contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 14px 0 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.en-inner-v2 .footer-contact-link span {
    margin-left: 7px;
}

body.en-inner-v2 .copyright {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
}

body.en-inner-v2 .copyright span:last-child {
    text-align: right;
}

@media screen and (max-width: 1100px) {
    body.en-inner-v2 .site-logo-image {
        width: 154px;
    }

    body.en-inner-v2 .header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    }

    body.en-inner-v2 .menu-toggle {
        display: block;
        width: 46px;
        height: 46px;
        color: #0b2145;
        background: #ffffff;
        border: 1px solid #cbd6e5;
        border-radius: 6px;
    }

    body.en-inner-v2 .nav {
        display: none;
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        z-index: 1001;
        padding: 10px 28px 26px;
        background: #ffffff;
        border-bottom: 1px solid #dfe6f1;
        box-shadow: 0 18px 40px rgba(3, 19, 38, .15);
    }

    body.en-inner-v2 .nav.mobile-active {
        display: block;
    }

    body.en-inner-v2 .nav.mobile-active .nav-links,
    body.en-inner-v2 .nav.mobile-active .nav-cta {
        display: block;
        margin: 0;
    }

    body.en-inner-v2 .nav.mobile-active .nav-link {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        min-height: 52px;
        margin: 0;
        padding: 14px 4px;
        color: #10213e;
        border-bottom: 1px solid #e9eef5;
        font-size: 16px;
        line-height: 24px;
    }

    body.en-inner-v2 .nav.mobile-active .nav-link::after {
        display: none;
    }

    body.en-inner-v2 .nav.mobile-active .nav-cta {
        padding-top: 18px;
    }

    body.en-inner-v2 .nav.mobile-active .nav-cta .btn-secondary {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        width: 100%;
        min-height: 52px;
        font-size: 15px;
    }
}

@media screen and (max-width: 900px) {
    body.en-about-v2 .menu-toggle {
        min-width: 46px;
        padding-right: 0;
        padding-left: 0;
    }

    body.en-cooperation-v2 .menu-toggle {
        min-width: 46px;
        padding-right: 0;
        padding-left: 0;
    }

    body.en-contact-v2 .menu-toggle {
        min-width: 46px;
        padding-right: 0;
        padding-left: 0;
    }

    body.en-inner-v2 .nav {
        top: 74px;
    }

    body.en-inner-v2 .page-subtitle,
    body.en-inner-v2 .about-hero p,
    body.en-inner-v2 .contact-hero p {
        font-size: 17px;
    }

    body.en-inner-v2 .nav.mobile-active .nav-link {
        font-size: 16px;
    }
}

@media screen and (max-width: 680px) {
    body.en-inner-v2 .page-title,
    body.en-inner-v2 .about-hero h1,
    body.en-inner-v2 .contact-hero h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -.038em;
    }

    body.en-inner-v2 .page-subtitle,
    body.en-inner-v2 .about-hero p,
    body.en-inner-v2 .contact-hero p {
        font-size: 17px;
        line-height: 1.65;
    }

    body.en-inner-v2 .copyright {
        display: block;
    }

    body.en-inner-v2 .copyright span {
        display: block;
    }

    body.en-inner-v2 .copyright span:last-child {
        margin-top: 7px;
        text-align: left;
    }

    body.en-about-v2 .mission-card::after {
        width: 290px;
        font-size: 25px;
        white-space: normal;
        content: "Build sustainable traffic assets";
    }
}

@media (prefers-reduced-motion: reduce) {
    body.en-inner-v2 *,
    body.en-inner-v2 *::before,
    body.en-inner-v2 *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* en-inner3: readable card-based comparison for the English solution on phones. */
@media screen and (max-width: 680px) {
    body.en-solution-v2 .comparison-table {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.en-solution-v2 .table-header {
        display: none;
    }

    body.en-solution-v2 .table-row {
        display: block;
        min-width: 0;
        margin-bottom: 14px;
        padding: 0;
        overflow: hidden;
        border: 1px solid #dbe3ee;
        border-radius: 10px;
        background: #fff;
    }

    body.en-solution-v2 .table-row > div {
        padding: 15px 17px;
        border-right: 0;
        text-align: left;
    }

    body.en-solution-v2 .table-row .feature-name {
        background: #082858;
        color: #fff;
    }

    body.en-solution-v2 .table-row .traditional,
    body.en-solution-v2 .table-row .our-solution {
        border-top: 1px solid #e5ebf3;
    }

    body.en-solution-v2 .table-row .traditional::before,
    body.en-solution-v2 .table-row .our-solution::before {
        display: block;
        margin-bottom: 5px;
        color: #718096;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .1em;
    }

    body.en-solution-v2 .table-row .traditional::before {
        content: "TRADITIONAL SEO";
    }

    body.en-solution-v2 .table-row .our-solution::before {
        content: "SHOPXN SYSTEM";
    }
}

/* en-inner4: restore the full mobile content column on the partnership hero. */
@media screen and (max-width: 680px) {
    body.en-cooperation-v2 .cooperation-hero .page-header-content {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        margin-right: 0;
    }

    body.en-cooperation-v2 .cooperation-hero .page-subtitle {
        font-size: 17px;
        line-height: 1.65;
    }
}

/* en-inner6: keep the English About hero on the full mobile content measure. */
@media screen and (max-width: 680px) {
    body.en-about-v2 .about-hero-copy {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        margin-right: 0;
    }

    body.en-about-v2 .about-hero-copy > p {
        font-size: 17px;
        line-height: 1.65;
    }
}

/* en-inner7: use the full mobile measure for the English consultation hero. */
@media screen and (max-width: 680px) {
    body.en-contact-v2 .contact-hero-copy {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        margin-right: 0;
    }

    body.en-contact-v2 .contact-hero-copy > p {
        font-size: 17px;
        line-height: 1.65;
    }
}
